shengyang000 преди 3 години
родител
ревизия
ebb3c3cf5e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/java/com/unissoft/service/impl/SysPolicySystemServiceImpl.java

+ 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);