|
|
@ -133,7 +133,7 @@ public class SdsInfoServiceImpl extends BaseServiceImpl<SdsInfoDao, SdsInfoEntit |
|
|
|
EpdcInformationFormDTO informationFormDTO = new EpdcInformationFormDTO(); |
|
|
|
informationFormDTO.setType(SdsPtgNoticeConstant.NOTICE_TYPE_INTERACTIVE_NOTICE); |
|
|
|
informationFormDTO.setUserId(dto.getUserId()); |
|
|
|
informationFormDTO.setContent("您的拼团购内容被修改,请注意查看。"); |
|
|
|
informationFormDTO.setContent("您的顺道捎内容被修改,请注意查看。"); |
|
|
|
informationFormDTO.setTitle(SdsPtgNoticeConstant.NOTICE_SDS_UPDATE); |
|
|
|
informationFormDTO.setBusinessType(SdsPtgNoticeConstant.NOTICE_BUSINESS_TYPE_SDS_PTG); |
|
|
|
informationFormDTO.setBusinessId(entity.getId()); |
|
|
@ -269,14 +269,15 @@ public class SdsInfoServiceImpl extends BaseServiceImpl<SdsInfoDao, SdsInfoEntit |
|
|
|
entity.setShieldReason(formDto.getShieldReason()); |
|
|
|
entity.setShieldFlag(NumConstant.ONE_STR); |
|
|
|
updateById(entity); |
|
|
|
SdsInfoEntity entityDetail = selectById(formDto.getId()); |
|
|
|
//更新结束后发消息通知到用户
|
|
|
|
EpdcInformationFormDTO informationFormDTO = new EpdcInformationFormDTO(); |
|
|
|
informationFormDTO.setType(SdsPtgNoticeConstant.NOTICE_TYPE_INTERACTIVE_NOTICE); |
|
|
|
informationFormDTO.setUserId(entity.getUserId()); |
|
|
|
informationFormDTO.setContent("您的拼团购内容被屏蔽,屏蔽原因:"+formDto.getShieldReason()); |
|
|
|
informationFormDTO.setUserId(entityDetail.getUserId()); |
|
|
|
informationFormDTO.setContent("您的顺道捎内容被屏蔽,屏蔽原因:"+formDto.getShieldReason()); |
|
|
|
informationFormDTO.setTitle(SdsPtgNoticeConstant.NOTICE_SDS_DELETE); |
|
|
|
informationFormDTO.setBusinessType(SdsPtgNoticeConstant.NOTICE_BUSINESS_TYPE_SDS_PTG); |
|
|
|
informationFormDTO.setBusinessId(entity.getId()); |
|
|
|
informationFormDTO.setBusinessId(entityDetail.getId()); |
|
|
|
// 发送消息
|
|
|
|
newsTask.insertUserInformation(informationFormDTO); |
|
|
|
return new Result(); |
|
|
|