|
@@ -52,7 +52,7 @@ public class TaNewsTypeServiceImpl extends ServiceImpl<TaNewsTypeMapper, TaNewsT
|
52
|
52
|
taNewsQueryWrapper.eq(StringUtils.isNotBlank(buildingId),"building_id", buildingId);
|
53
|
53
|
taNewsQueryWrapper.eq(orgId != null,"org_id", orgId);
|
54
|
54
|
taNewsQueryWrapper.eq("status", 1);
|
55
|
|
- taNewsQueryWrapper.in("institution_id",institutionIds);
|
|
55
|
+// taNewsQueryWrapper.in("institution_id",institutionIds);
|
56
|
56
|
taNewsQueryWrapper.in(personBuildingList.size() > 0,"building_id", personBuildingList.stream().map(TaPersonBuilding::getBuildingId).collect(Collectors.toList()));
|
57
|
57
|
taNewsQueryWrapper.orderByDesc("create_date");
|
58
|
58
|
IPage<TaNewsType> typeIPage = this.page(page, taNewsQueryWrapper);
|