|
@@ -584,6 +584,33 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
return Result.success();
|
|
return Result.success();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 删除快手达人 信息信息
|
|
|
|
+ *
|
|
|
|
+ * @param id 快手达人 信息主键 follow_up_records
|
|
|
|
+ * @return 结果
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public Result deleteKuaishouPromoterById3(Long id, Long userId) {
|
|
|
|
+ JYKuaishouPromoter promoter = kuaishouPromoterMapper.selectKuaishouPromoterById3(id);
|
|
|
|
+
|
|
|
|
+ if (Check.isNotNull(promoter)) {
|
|
|
|
+ JSONObject record = new JSONObject();
|
|
|
|
+ record.put("promoterId", promoter.getPromoterId());
|
|
|
|
+ record.put("userId", promoter.getUserId());
|
|
|
|
+ record.put("operatorId", userId);
|
|
|
|
+ List<JSONObject> roles = sysUserService.getUserRoleByUserId(userId);
|
|
|
|
+ if (Check.isNotNull(roles)) {
|
|
|
|
+ record.put("roleName", roles.get(0).getString("role_name") + " (解绑骄阳)");
|
|
|
|
+ record.put("roleKey", roles.get(0).getString("role_key"));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ kuaishouPromoterMapper.insertKuaishouPromoterRecord(record);
|
|
|
|
+ }
|
|
|
|
+ kuaishouPromoterMapper.deleteKuaishouPromoterById3(id);
|
|
|
|
+ return Result.success();
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public AjaxResult getPromoterInfo(String promoterId) {
|
|
public AjaxResult getPromoterInfo(String promoterId) {
|
|
AjaxResult ajaxResult = null;
|
|
AjaxResult ajaxResult = null;
|