Commit f0d32f1f by 徐高华

Merge branch 'feature/xgh/2406企微托管' into 'master'

二次验证不发消息

See merge request !2060
parents 54225cce b95b7ea8
...@@ -116,10 +116,12 @@ public class OpenStaffServiceImpl implements OpenStaffService { ...@@ -116,10 +116,12 @@ public class OpenStaffServiceImpl implements OpenStaffService {
TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(openStaff.getStaffId()); TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(openStaff.getStaffId());
this.noticeMessageApiService.sendMessageForOpenStaff(openStaff.getEnterpriseId(), staff.getStaffName(), noticeReason); this.noticeMessageApiService.sendMessageForOpenStaff(openStaff.getEnterpriseId(), staff.getStaffName(), noticeReason);
// 发送通知 // 发送通知
Map<String, String> map = new HashMap<String, String>(); if(!noticeReason.equals(OpenStaffOfflineEnum.OFFLINE1.getDesc())) {
map.put("reason", noticeReason); Map<String, String> map = new HashMap<String, String>();
int messageType = NoticeMessageTypeEnum.HAOBAN_OPEN_STAFF_LOGOUT.getType(); map.put("reason", noticeReason);
NoticeMessageUtil.sendNoticeMessageByStaff(openStaff.getEnterpriseId(), openStaff.getStaffId(), "-1", messageType, null, map, null); int messageType = NoticeMessageTypeEnum.HAOBAN_OPEN_STAFF_LOGOUT.getType();
NoticeMessageUtil.sendNoticeMessageByStaff(openStaff.getEnterpriseId(), openStaff.getStaffId(), "-1", messageType, null, map, null);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment