Commit 7a32be70 authored by chenzhao's avatar chenzhao

Merge remote-tracking branch 'origin/dev0124' into dev0124

parents d436f381 4171d9bf
...@@ -177,6 +177,7 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD ...@@ -177,6 +177,7 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
lisk.add(re.getRegionalCompaniesCode()); lisk.add(re.getRegionalCompaniesCode());
stdUserEmpower.setAmosUserId(publicAgencyUser.getAmosUserId()); stdUserEmpower.setAmosUserId(publicAgencyUser.getAmosUserId());
stdUserEmpower.setAmosOrgCode(lisk); stdUserEmpower.setAmosOrgCode(lisk);
stdUserEmpower.setPermissionType("HYGF");
userEmpowerMapper.insert(stdUserEmpower); userEmpowerMapper.insert(stdUserEmpower);
...@@ -297,6 +298,7 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD ...@@ -297,6 +298,7 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
stdUserEmpower=new StdUserEmpower(); stdUserEmpower=new StdUserEmpower();
stdUserEmpower.setAmosUserId(publicAgencyUser.getAmosUserId()); stdUserEmpower.setAmosUserId(publicAgencyUser.getAmosUserId());
stdUserEmpower.setAmosOrgCode(lisk); stdUserEmpower.setAmosOrgCode(lisk);
stdUserEmpower.setPermissionType("HYGF");
userEmpowerMapper.insert(stdUserEmpower); userEmpowerMapper.insert(stdUserEmpower);
} }
...@@ -381,6 +383,8 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD ...@@ -381,6 +383,8 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
}else{ }else{
stdUserEmpower=new StdUserEmpower(); stdUserEmpower=new StdUserEmpower();
stdUserEmpower.setAmosOrgCode(null); stdUserEmpower.setAmosOrgCode(null);
stdUserEmpower.setPermissionType("HYGF");
stdUserEmpower.setAmosUserId(publicAgencyUsex.getAmosUserId());
userEmpowerMapper.insert(stdUserEmpower); userEmpowerMapper.insert(stdUserEmpower);
} }
...@@ -400,6 +404,8 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD ...@@ -400,6 +404,8 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
}else{ }else{
stdUserEmpower1=new StdUserEmpower(); stdUserEmpower1=new StdUserEmpower();
stdUserEmpower1.setAmosOrgCode(li); stdUserEmpower1.setAmosOrgCode(li);
stdUserEmpower1.setPermissionType("HYGF");
stdUserEmpower1.setAmosUserId(publicAgencyUse.getAmosUserId());
userEmpowerMapper.insert(stdUserEmpower1); userEmpowerMapper.insert(stdUserEmpower1);
} }
......
...@@ -614,6 +614,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn ...@@ -614,6 +614,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
StdUserEmpower stdUserEmpower=new StdUserEmpower(); StdUserEmpower stdUserEmpower=new StdUserEmpower();
stdUserEmpower.setAmosUserId(unitInfo.getAdminUserId()); stdUserEmpower.setAmosUserId(unitInfo.getAdminUserId());
stdUserEmpower.setAmosOrgCode(lis); stdUserEmpower.setAmosOrgCode(lis);
stdUserEmpower.setPermissionType("HYGF");
userEmpowerMapper.insert(stdUserEmpower); userEmpowerMapper.insert(stdUserEmpower);
// Privilege.agencyUserClient.unlockUsers(unitInfo.getAdminUserId()); // Privilege.agencyUserClient.unlockUsers(unitInfo.getAdminUserId());
...@@ -930,6 +931,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn ...@@ -930,6 +931,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
stdUserEmpower=new StdUserEmpower(); stdUserEmpower=new StdUserEmpower();
stdUserEmpower.setAmosUserId(unitInfo.getAdminUserId()); stdUserEmpower.setAmosUserId(unitInfo.getAdminUserId());
stdUserEmpower.setAmosOrgCode(lisk); stdUserEmpower.setAmosOrgCode(lisk);
stdUserEmpower.setPermissionType("HYGF");
userEmpowerMapper.insert(stdUserEmpower); userEmpowerMapper.insert(stdUserEmpower);
} }
......
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