shengyang000 3 år sedan
förälder
incheckning
ebb3c3cf5e

+ 2 - 2
src/main/java/com/unissoft/service/impl/SysPolicySystemServiceImpl.java

@@ -141,7 +141,7 @@ public class SysPolicySystemServiceImpl extends ServiceImpl<SysPolicySystemMappe
141 141
         //
142 142
         save(model);
143 143
 
144
-        Map<Integer, String> users = getNoticeUserInfo(null, "10", null);//接收对象:recvType=10 全员
144
+        Map<Integer, String> users = getNoticeUserInfo(userPO.getDepotId(), "10", null);//接收对象:recvType=10 全员
145 145
         saveSysPolicySystemUsers(model.getId(), users);
146 146
 
147 147
         //如果需要通知
@@ -168,7 +168,7 @@ public class SysPolicySystemServiceImpl extends ServiceImpl<SysPolicySystemMappe
168 168
         //
169 169
         updateById(model);
170 170
 
171
-        Map<Integer, String> users = getNoticeUserInfo(null, "10", null);//接收对象:recvType=10 全员
171
+        Map<Integer, String> users = getNoticeUserInfo(userPO.getDepotId(), "10", null);//接收对象:recvType=10 全员
172 172
         //如果需要通知
173 173
         if(model.getIsNotice()) {
174 174
             sendMessage4PolicySystemUsers(model, userPO, users);