Commit bf50fe85 authored by 吴江's avatar 吴江

优化代码

parent 3fce047e
...@@ -587,11 +587,11 @@ public class RiskSourceServiceImpl implements IRiskSourceService { ...@@ -587,11 +587,11 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
{ {
String userId = String.valueOf(map.get("userId")); String userId = String.valueOf(map.get("userId"));
String deptId = String.valueOf(map.get("deptId")); String deptId = String.valueOf(map.get("deptId"));
if(userId!=null) if(userId!=null&&!userIdList.contains(userId))
{ {
userIdList.add(userId); userIdList.add(userId);
} }
if(deptId!=null) if(deptId!=null&&!deptIdList.contains(deptId))
{ {
deptIdList.add(deptId); deptIdList.add(deptId);
} }
......
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