|
@ -202,7 +202,7 @@ public class BuildingServiceImpl implements BuildingService { |
|
|
// agencyIdList.add(customerAgency.getId());
|
|
|
// agencyIdList.add(customerAgency.getId());
|
|
|
LambdaQueryWrapper<CustomerGridEntity> gridWrapper = new LambdaQueryWrapper<>(); |
|
|
LambdaQueryWrapper<CustomerGridEntity> gridWrapper = new LambdaQueryWrapper<>(); |
|
|
gridWrapper.in(CustomerGridEntity::getPid, agencyIdList); |
|
|
gridWrapper.in(CustomerGridEntity::getPid, agencyIdList); |
|
|
gridWrapper.last("ORDER BY CAST(GRID_NAME AS SIGNED),CONVERT(GRID_NAME using gbk)"); |
|
|
gridWrapper.last("ORDER BY sort,CAST(GRID_NAME AS SIGNED),CONVERT(GRID_NAME using gbk)"); |
|
|
List<CustomerGridEntity> customerGridList = customerGridDao.selectList(gridWrapper); |
|
|
List<CustomerGridEntity> customerGridList = customerGridDao.selectList(gridWrapper); |
|
|
|
|
|
|
|
|
if (CollectionUtils.isEmpty(customerGridList)) { |
|
|
if (CollectionUtils.isEmpty(customerGridList)) { |
|
|