优化
This commit is contained in:
parent
85c4d09d84
commit
538d5a0f3d
@ -80,9 +80,10 @@ public class SystemRoleServiceImpl extends ServiceImpl<SystemRoleMapper, SystemR
|
||||
List<SystemRole> list = this.list(queryWrapper);
|
||||
List<EnterpriseMain> enterpriseMainList = enterpriseMainMapper.selectList(Wrappers.<EnterpriseMain>lambdaQuery().eq(EnterpriseMain::getEnterpriseSn, systemRole.getSn()));
|
||||
for (EnterpriseMain main : enterpriseMainList) {
|
||||
Integer mainType = main.getMainType();
|
||||
String code = "";
|
||||
for (ParamEnum.EngineeringMain type : ParamEnum.EngineeringMain.values()) {
|
||||
if (main.getMainType() == type.getValue()); {
|
||||
if (type.getValue() == mainType) {
|
||||
code = type.name();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user