Commit cd8b86c2 by fudahua

feat:消息通知支持staffId

parent 5ab4953a
...@@ -119,7 +119,7 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService { ...@@ -119,7 +119,7 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
return; return;
} }
wxUserId = (wxUserId == null ? clerkRelationDTO.getWxUserId() : wxUserId); wxUserId = (wxUserId == null ? clerkRelationDTO.getWxUserId() : wxUserId);
wxEnterpriseId = (wxEnterpriseId == null ? clerkRelationDTO.getEnterpriseId() : wxEnterpriseId); wxEnterpriseId = (wxEnterpriseId == null ? clerkRelationDTO.getWxEnterpriseId() : wxEnterpriseId);
//消息组装 新增消息 //消息组装 新增消息
NoticeMessageBO noticeMessageBO = new NoticeMessageBO(); NoticeMessageBO noticeMessageBO = new NoticeMessageBO();
......
...@@ -46,7 +46,7 @@ public class NotityTest { ...@@ -46,7 +46,7 @@ public class NotityTest {
noticeMessageQDTO.setOptTargetId("testtatget"); noticeMessageQDTO.setOptTargetId("testtatget");
noticeMessageQDTO.setExtendContent(extMap); noticeMessageQDTO.setExtendContent(extMap);
String str = "{\"extendContent\":{\"taskName\":\"上传12-26日报\",\"storeId\":\"ff8080816c45c82a016c46b4d3b70223\",\"taskId\":\"003a63918e2843f6a714f4e4ede4e874\"},\"messageType\":3031,\"clerkId\":\"836de7f9b607427089215c60116978e7\",\"enterpriseId\":\"ff8080815dacd3a2015dacd3ef5c0000\",\"mqTraceId\":\"590f4ded-3551-4e44-8bf8-4ff0d381c917\"}"; String str = "{\"clerkId\":\"28974631cc7a47398ec592d9f61ca210\",\"enterpriseId\":\"ff8080815dacd3a2015dacd3ef5c0000\",\"extendContent\":{\"taskName\":\"上传12-26日报\",\"storeId\":\"ff8080817a578567017a75b014d900be\",\"taskId\":\"01bafd19b050421ba72e4d130508a24f\"},\"messageType\":3031}";
noticeMessageApiService.noticeMessageMq(str); noticeMessageApiService.noticeMessageMq(str);
} }
......
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