|
@ -719,6 +719,11 @@ public class ResiGroupServiceImpl extends BaseServiceImpl<ResiGroupDao, ResiGrou |
|
|
userMessageFormDTO.setGridId(resiGroupDTO.getGridId()); |
|
|
userMessageFormDTO.setGridId(resiGroupDTO.getGridId()); |
|
|
userMessageFormDTO.setCustomerId(resiGroupDTO.getCustomerId()); |
|
|
userMessageFormDTO.setCustomerId(resiGroupDTO.getCustomerId()); |
|
|
userMessageFormDTO.setMessageContent(String.format(UserMessageConstant.AGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName())); |
|
|
userMessageFormDTO.setMessageContent(String.format(UserMessageConstant.AGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName())); |
|
|
|
|
|
|
|
|
|
|
|
//21.09.10:记录消息类型和对应的业务id
|
|
|
|
|
|
userMessageFormDTO.setMessageType(UserMessageTypeConstant.CREATE_GROUP_APPLY_RES); |
|
|
|
|
|
userMessageFormDTO.setTargetId(agreeApplyGroupFormDTO.getGroupId()); |
|
|
|
|
|
|
|
|
if(!epmetMessageFeignClient.saveUserMessage(userMessageFormDTO).success()){ |
|
|
if(!epmetMessageFeignClient.saveUserMessage(userMessageFormDTO).success()){ |
|
|
logger.warn(String.format(ModuleConstant.FAILED_SEND_MESSAGE,String.format(UserMessageConstant.AGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName()))); |
|
|
logger.warn(String.format(ModuleConstant.FAILED_SEND_MESSAGE,String.format(UserMessageConstant.AGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName()))); |
|
|
} |
|
|
} |
|
@ -783,6 +788,11 @@ public class ResiGroupServiceImpl extends BaseServiceImpl<ResiGroupDao, ResiGrou |
|
|
userMessageFormDTO.setGridId(resiGroupDTO.getGridId()); |
|
|
userMessageFormDTO.setGridId(resiGroupDTO.getGridId()); |
|
|
userMessageFormDTO.setCustomerId(resiGroupDTO.getCustomerId()); |
|
|
userMessageFormDTO.setCustomerId(resiGroupDTO.getCustomerId()); |
|
|
userMessageFormDTO.setMessageContent(String.format(UserMessageConstant.DISAGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName(),disAgreeApplyGroupFormDTO.getRejectReason())); |
|
|
userMessageFormDTO.setMessageContent(String.format(UserMessageConstant.DISAGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName(),disAgreeApplyGroupFormDTO.getRejectReason())); |
|
|
|
|
|
|
|
|
|
|
|
//21.09.10:记录消息类型和对应的业务id
|
|
|
|
|
|
userMessageFormDTO.setMessageType(UserMessageTypeConstant.CREATE_GROUP_APPLY_RES); |
|
|
|
|
|
userMessageFormDTO.setTargetId(disAgreeApplyGroupFormDTO.getGroupId()); |
|
|
|
|
|
|
|
|
if(!epmetMessageFeignClient.saveUserMessage(userMessageFormDTO).success()){ |
|
|
if(!epmetMessageFeignClient.saveUserMessage(userMessageFormDTO).success()){ |
|
|
logger.warn(String.format(ModuleConstant.FAILED_SEND_MESSAGE,String.format(UserMessageConstant.DISAGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName(),disAgreeApplyGroupFormDTO.getRejectReason()))); |
|
|
logger.warn(String.format(ModuleConstant.FAILED_SEND_MESSAGE,String.format(UserMessageConstant.DISAGREE_CREATING_GROUP_MSG_TEMPLATE,resiGroupDTO.getGroupName(),disAgreeApplyGroupFormDTO.getRejectReason()))); |
|
|
} |
|
|
} |
|
|