|
|
|
|
@ -90,6 +90,9 @@ public class CertificateMaintenanceServiceImpl extends BaseServiceImpl<Certifica |
|
|
|
|
.collect(Collectors.toMap(AbstractMap.SimpleEntry::getValue, AbstractMap.SimpleEntry::getKey)); |
|
|
|
|
//根据用户id获取人员岗位数据
|
|
|
|
|
Collection<Long> values = idCodeMap.keySet(); |
|
|
|
|
if (null == values || values.size() < 1) { |
|
|
|
|
return R.fail("工号:" + String.join(",", codes) + "不存在。"); |
|
|
|
|
} |
|
|
|
|
LambdaQueryWrapper<PostHandleEntity> lambdaQueryWrapper = new LambdaQueryWrapper<>(); |
|
|
|
|
lambdaQueryWrapper.in(PostHandleEntity::getUserId, values) |
|
|
|
|
.eq(PostHandleEntity::getStaffType, StaffTypeEnum.FORMAL.getCode().shortValue()) |
|
|
|
|
|