|
|
@ -144,19 +144,19 @@ public class EfcodeCpNoticeServiceImpl implements IEfcodeCpNoticeService { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
baseMapper.insert(entity); |
|
|
baseMapper.insert(entity); |
|
|
// // 同步写入 notice_users 表
|
|
|
// 同步写入 notice_users 表
|
|
|
// syncNoticeUsers(entity.getId(), bo.getEnforceUserNames(), bo.getEnforceUserIds(), bo.getEnforceUserTels());
|
|
|
syncNoticeUsers(entity.getId(), bo.getEnforceUserNames(), bo.getEnforceUserIds(), bo.getEnforceUserTels()); |
|
|
// // 发布时自动生成系统提示消息
|
|
|
// 发布时自动生成系统提示消息
|
|
|
// if (entity.getStatus() != null && entity.getStatus() == 1L) {
|
|
|
if (entity.getStatus() != null && entity.getStatus() == 1L) { |
|
|
// // 调用站内信发送预告消息(发送前内部校验系统参数 sns.send)
|
|
|
// 调用站内信发送预告消息(发送前内部校验系统参数 sns.send)
|
|
|
// getSendYuGaoMsg(entity);
|
|
|
getSendYuGaoMsg(entity); |
|
|
// }
|
|
|
} |
|
|
//
|
|
|
|
|
|
// //同步更新企业电话
|
|
|
//同步更新企业电话
|
|
|
// UpdateWrapper<EnterpriseInformation> updateWrapper = new UpdateWrapper<>();
|
|
|
UpdateWrapper<EnterpriseInformation> updateWrapper = new UpdateWrapper<>(); |
|
|
// updateWrapper.eq("enterprise_number",entity.getEnterpriseNumber());
|
|
|
updateWrapper.eq("enterprise_number",entity.getEnterpriseNumber()); |
|
|
// updateWrapper.set("enterprise_tel",entity.getContactPhone());
|
|
|
updateWrapper.set("enterprise_tel",entity.getContactPhone()); |
|
|
// enterpriseInformationMapper.update(updateWrapper);
|
|
|
enterpriseInformationMapper.update(updateWrapper); |
|
|
return "操作成功"; |
|
|
return "操作成功"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -173,19 +173,19 @@ public class EfcodeCpNoticeServiceImpl implements IEfcodeCpNoticeService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
generateSystemMessage(entity); |
|
|
generateSystemMessage(entity); |
|
|
try{ |
|
|
// try{
|
|
|
YuGaoMsgParamBo paramBo = new YuGaoMsgParamBo(); |
|
|
// YuGaoMsgParamBo paramBo = new YuGaoMsgParamBo();
|
|
|
paramBo.setSourceId(entity.getId()); |
|
|
// paramBo.setSourceId(entity.getId());
|
|
|
paramBo.setEnterpriseId(entity.getEnterpriseId()); |
|
|
// paramBo.setEnterpriseId(entity.getEnterpriseId());
|
|
|
paramBo.setEnterpriseName(entity.getEnterpriseName()); |
|
|
// paramBo.setEnterpriseName(entity.getEnterpriseName());
|
|
|
paramBo.setCreateByName(LoginHelper.getUsername()); |
|
|
// paramBo.setCreateByName(LoginHelper.getUsername());
|
|
|
paramBo.setDeptName(entity.getDeptName()); |
|
|
// paramBo.setDeptName(entity.getDeptName());
|
|
|
paramBo.setEnforceDate(entity.getEnforceDate()); |
|
|
// paramBo.setEnforceDate(entity.getEnforceDate());
|
|
|
siqService.sendYuGaoMsg(paramBo); |
|
|
// siqService.sendYuGaoMsg(paramBo);
|
|
|
|
|
|
//
|
|
|
}catch (Exception e){ |
|
|
// }catch (Exception e){
|
|
|
log.error("发送预告消息异常:{}", e.getMessage()); |
|
|
// log.error("发送预告消息异常:{}", e.getMessage());
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
// 异步发送预告短信
|
|
|
// 异步发送预告短信
|
|
|
|