Browse Source

Merge remote-tracking branch 'origin/房屋tree_yzm' into dev

master
yinzuomei 3 years ago
parent
commit
ef62e0fa45
  1. 2
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/BuildingServiceImpl.java

2
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/BuildingServiceImpl.java

@ -441,7 +441,7 @@ public class BuildingServiceImpl implements BuildingService {
LambdaQueryWrapper<IcBuildingEntity> buildingQueryWrapper = new QueryWrapper<IcBuildingEntity>().lambda()
.eq(IcBuildingEntity::getNeighborHoodId, neighborHood.getId());
neighborHood.setShowNum(String.valueOf(icBuildingDao.selectCount(buildingQueryWrapper)));
neighborHood.setShowNum(String.format("%s(%s)", neighborHood.getLabel(), neighborHood.getShowNum()));
neighborHood.setShowName(String.format("%s(%s)", neighborHood.getLabel(), neighborHood.getShowNum()));
list.add(neighborHood);
});
return list;

Loading…
Cancel
Save