Commit 83aa165d by jianan

【电子报聘】报聘经纪人所属体系规则优化3

parent fa021f3a
......@@ -226,6 +226,10 @@ public class PractitionerHiringDALServiceImpl implements PractitionerHiringDALSe
private List<HiringListInfo> querySystemOwnerUnhandledList(Long practitionerId) {
List<HiringListInfo> resultList = new ArrayList<>();
List<Long> listOfSubsystemOwner = systemConfigService.getListOfSubsystemOwner(practitionerId);
// 去除已审核的id
if (CollectionUtils.isNotEmpty(listOfSubsystemOwner)) {
listOfSubsystemOwner = this.queryBasicInfoIdList(listOfSubsystemOwner);
}
if (CollectionUtils.isNotEmpty(listOfSubsystemOwner)) {
resultList = practitionerHiringMapper.querySystemOwnerUnhandledList(listOfSubsystemOwner);
}
......
......@@ -390,11 +390,7 @@ public class SystemConfigService implements CommandLineRunner{
if (list == null) {
list = new ArrayList<>();
}
// 去除已审核的id
if (CollectionUtils.isNotEmpty(list)) {
list = practitionerHiringDalService.queryBasicInfoIdList(list);
map.put(approvedBy, list);
}
}
return list;
}
......
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