|
@@ -138,7 +138,11 @@ public class SysUserPostController extends BaseController {
|
138
|
138
|
paraMap.put("postId", postId.toString());
|
139
|
139
|
paraMap.put("userName", userName);
|
140
|
140
|
paraMap.put("postName",postName);
|
141
|
|
- paraMap.put("deptName", String.valueOf(userInfo.getDeptName()));
|
|
141
|
+ String deptName = userInfo.getDeptName();
|
|
142
|
+ if(deptName.contains("电源")){
|
|
143
|
+ deptName = null;
|
|
144
|
+ }
|
|
145
|
+ paraMap.put("deptName", deptName);
|
142
|
146
|
List<SysUserPost> list = sysUserPostService.getPostUserList(paraMap);
|
143
|
147
|
List<SysUserPost> list_power = new ArrayList<>();
|
144
|
148
|
//如果是电源相关部门就只传一个李华
|