Commit 31bb3b48 by fudahua

feat:消息通知支持staffId

parent db3f18ca
......@@ -98,11 +98,11 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
String wxUserId = null;
String wxEnterpriseId = null;
String storeId = "-1";
if (StringUtils.isNotEmpty(messageQDTO.getClerkId())) {
StaffClerkRelationDTO clerkRelationDTO = staffClerkRelationService.getByClerkId(messageQDTO.getClerkId());
staffId = staffId == null ? clerkRelationDTO.getStaffId() : staffId;
storeId = clerkRelationDTO.getStoreId();
}
// if (StringUtils.isNotEmpty(messageQDTO.getClerkId())) {
// StaffClerkRelationDTO clerkRelationDTO = staffClerkRelationService.getByClerkId(messageQDTO.getClerkId());
// staffId = staffId == null ? clerkRelationDTO.getStaffId() : staffId;
// storeId = clerkRelationDTO.getStoreId();
// }
StaffClerkRelationDTO clerkRelationDTO = 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