Commit 03e72d09 authored by suhuiguang's avatar suhuiguang

1.其他人员时默认的人员类型调整为公共的人员类型,这样不同单位类型登录都能进行显示,否则默认的单位类型与可用的单位类型不一致,导致创建人员时,人员类型会多bug22859

parent 44fb5774
......@@ -119,7 +119,7 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
// 检验人员管理
menuMap.put("jyry", Collections.singletonList("66151"));
// 其他人员管理
menuMap.put("qtry", Arrays.asList("6546","6617","6553"));
menuMap.put("qtry", Collections.singletonList("6546"));
}
@Override
......@@ -878,7 +878,8 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
if (userTypeCode.isEmpty()) {
return Collections.emptyList();
}
return iDataDictionaryService.getBaseMapper().selectBatchIds(userTypeCode);
List<String> act = new ArrayList<>(userTypeCode);
return iDataDictionaryService.getBaseMapper().selectBatchIds(act);
}
}
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