Commit 25de9a13 by 徐高华

事件加storeId

parent f5b7eac8
...@@ -332,6 +332,12 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService { ...@@ -332,6 +332,12 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("planId",planId) ; jsonObject.put("planId",planId) ;
jsonObject.put("ownerLogId",ownerLogId) ; jsonObject.put("ownerLogId",ownerLogId) ;
if(null != clerkId) {
ClerkDTO clerk = this.clerkService.getclerkById(clerkId);
if (null != clerk) {
jsonObject.put("storeId", clerk.getStoreId());
}
}
int messageType = NoticeMessageTypeEnum.GROUP_CHAT_PLAN.getType(); int messageType = NoticeMessageTypeEnum.GROUP_CHAT_PLAN.getType();
NoticeMessageUtil.sendNoticeMessageByStaff(enterpriseId,staffId,clerkId,messageType,null,map,jsonObject); NoticeMessageUtil.sendNoticeMessageByStaff(enterpriseId,staffId,clerkId,messageType,null,map,jsonObject);
} }
......
...@@ -232,6 +232,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService { ...@@ -232,6 +232,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("planId",planId) ; jsonObject.put("planId",planId) ;
jsonObject.put("clerkId",clerkId) ; jsonObject.put("clerkId",clerkId) ;
ClerkDTO clerk = this.clerkService.getclerkById(clerkId) ;
if(null != clerk) {
jsonObject.put("storeId", clerk.getStoreId());
}
NoticeMessageUtil.sendNoticeMessage(enterpriseId,clerkId,messageType,null,map,jsonObject); NoticeMessageUtil.sendNoticeMessage(enterpriseId,clerkId,messageType,null,map,jsonObject);
} }
......
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