Authored by jimi

增加

@@ -177,10 +177,13 @@ public class WorkSystemSupport { @@ -177,10 +177,13 @@ public class WorkSystemSupport {
177 List<User> list = new ArrayList<User>(); 177 List<User> list = new ArrayList<User>();
178 for(String role:roles.split(",")){ 178 for(String role:roles.split(",")){
179 list.addAll(userMapper.selectUsersByRole(role)); 179 list.addAll(userMapper.selectUsersByRole(role));
  180 + if (HandlerRole.DBA.equals(role)){
  181 + list.add(userMapper.selectByName("xiaoye.fan"));
  182 + }
180 } 183 }
181 - list.addAll(userMapper.selectUsersByRole("other")); 184 +// list.addAll(userMapper.selectUsersByRole("other"));
182 // //对fanxiaoye对特殊的处理(即是dba又是运维) 185 // //对fanxiaoye对特殊的处理(即是dba又是运维)
183 -// list.add(userMapper.selectByName("xiaoye.fan")); 186 +//
184 addPendingByUser(pendingJob,list,sendLeader); 187 addPendingByUser(pendingJob,list,sendLeader);
185 } 188 }
186 189