|
|
@ -21,6 +21,7 @@ import com.epmet.commons.tools.utils.*; |
|
|
|
import com.epmet.constant.ActConstant; |
|
|
|
import com.epmet.constant.ActMessageConstant; |
|
|
|
import com.epmet.constant.ReadFlagConstant; |
|
|
|
import com.epmet.constant.UserMessageTypeConstant; |
|
|
|
import com.epmet.dao.*; |
|
|
|
import com.epmet.dto.*; |
|
|
|
import com.epmet.dto.form.UserMessageFormDTO; |
|
|
@ -32,7 +33,6 @@ import com.epmet.entity.*; |
|
|
|
import com.epmet.feign.EpmetMessageOpenFeignClient; |
|
|
|
import com.epmet.feign.GovOrgOpenFeignClient; |
|
|
|
import com.epmet.service.*; |
|
|
|
import com.epmet.utils.ModuleConstant; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.apache.logging.log4j.LogManager; |
|
|
|
import org.apache.logging.log4j.Logger; |
|
|
@ -694,6 +694,11 @@ public class WorkActServiceImpl implements WorkActService { |
|
|
|
userMessageFormDTO.setMessageContent(String.format(ActMessageConstant.ACT_CANCELED, |
|
|
|
actInfoDTO.getTitle(), |
|
|
|
formDTO.getCancelReason())); |
|
|
|
|
|
|
|
//21.09.10:记录消息类型和对应的业务id
|
|
|
|
userMessageFormDTO.setMessageType(UserMessageTypeConstant.HEART_CANCEL_ACT); |
|
|
|
userMessageFormDTO.setTargetId(formDTO.getActId()); |
|
|
|
|
|
|
|
userMessageFormDTOS.add(userMessageFormDTO); |
|
|
|
//2020.10.26 添加发送微信订阅消息功能 sun
|
|
|
|
WxSubscribeMessageFormDTO dto = new WxSubscribeMessageFormDTO(); |
|
|
|