feat(REQ-3136): 查询泰州人员列表新增personid集合

This commit is contained in:
songyuanlun 2024-11-08 15:37:33 +08:00
parent 194b057d95
commit 15805b0707
2 changed files with 6 additions and 0 deletions

View File

@ -30,5 +30,10 @@ public class ListThirdProjectPeopleReq implements Serializable {
*/
private Set<String> thirdUniquePersonIds;
/**
* 人员id集合
*/
private Set<Long> personIds;
private Boolean needThirdPerson;
}

View File

@ -92,6 +92,7 @@ public class ThirdPartPersonController implements ThirdPartPersonApi {
Map<String, ThirdPerson> thirdPersonMap = thirdPersonDao.lambdaQuery()
.eq(ThirdPerson::getThirdCode, param.getThirdCode())
.in(ThirdPerson::getThirdUniquePersonId, thirdPersonIds)
.in(CollUtil.isNotEmpty(param.getPersonIds()), ThirdPerson::getPersonId, param.getPersonIds())
.eq(ThirdPerson::getIsDelete, TableIsDeleteEnum.NORMAL.value)
.list().stream()
.collect(Collectors.toMap(ThirdPerson::getThirdUniquePersonId, Function.identity()));