Commit 2ea0f093 authored by 吴江's avatar 吴江

修改安全升级问题

parent 6eba2d2a
......@@ -85,11 +85,11 @@ public class AccidentTypeServiceImpl implements IAccidentTypeService {
{
String userId = String.valueOf(map.get("createBy"));
String deptId = String.valueOf(map.get("deptId"));
if(userId!=null)
if(userId!=null&&!userIdList.contains(userId))
{
userIdList.add(userId);
}
if(deptId!=null)
if(deptId!=null&&!deptIdList.contains(deptId))
{
deptIdList.add(deptId);
}
......
......@@ -52,11 +52,11 @@ public class RiskFactorServiceImpl implements IRiskFactorService {
{
String userId = String.valueOf(map.get("createBy"));
String deptId = String.valueOf(map.get("deptId"));
if(userId!=null)
if(userId!=null&&!userIdList.contains(userId))
{
userIdList.add(userId);
}
if(deptId!=null)
if(deptId!=null&&!deptIdList.contains(deptId))
{
deptIdList.add(deptId);
}
......
......@@ -20,7 +20,7 @@
a.accident_type_id as accidentTypeId,
d.name as accidentName,
a.type,
a.dept_id as deptId,,
a.dept_id as deptId,
a.create_by as createBy,
a.create_date as createDate,
a.remark
......
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