Commit 26e0bc72 by huangjy

fixbug:长者导入,居家工作台

parent 61eb44e6
...@@ -180,7 +180,7 @@ public class WorkStationServiceImpl implements WorkStationService { ...@@ -180,7 +180,7 @@ public class WorkStationServiceImpl implements WorkStationService {
dto.setOrgIds(orgIds); dto.setOrgIds(orgIds);
}else { }else {
List<PlatOrg> orgs = platOrgService.list(new QueryWrapper<PlatOrg>().lambda() List<PlatOrg> orgs = platOrgService.list(new QueryWrapper<PlatOrg>().lambda()
.eq(PlatOrg::getId, dto.getOrgIds())); .in(PlatOrg::getId, dto.getOrgIds()));
List<String> orgIds = orgs.stream().filter(t->PlatOrgEnum.OrgTypeEnum.INSTITUTION.getValue().equals(t.getType())) List<String> orgIds = orgs.stream().filter(t->PlatOrgEnum.OrgTypeEnum.INSTITUTION.getValue().equals(t.getType()))
.map(PlatOrg::getId).collect(Collectors.toList()); .map(PlatOrg::getId).collect(Collectors.toList());
if(orgIds.isEmpty()){ if(orgIds.isEmpty()){
......
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 sign in to comment