|
@ -929,7 +929,7 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
} |
|
|
} |
|
|
LambdaQueryWrapper<CustomerGridEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
LambdaQueryWrapper<CustomerGridEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
wrapper.eq(CustomerGridEntity::getPid, agencyId); |
|
|
wrapper.eq(CustomerGridEntity::getPid, agencyId); |
|
|
wrapper.last("ORDER BY CONVERT ( GRID_NAME USING gbk ) ASC,sort"); |
|
|
wrapper.last("ORDER BY sort,CONVERT ( GRID_NAME USING gbk ) desc"); |
|
|
List<CustomerGridEntity> list = baseDao.selectList(wrapper); |
|
|
List<CustomerGridEntity> list = baseDao.selectList(wrapper); |
|
|
if (CollectionUtils.isEmpty(list)) { |
|
|
if (CollectionUtils.isEmpty(list)) { |
|
|
return Collections.emptyList(); |
|
|
return Collections.emptyList(); |
|
|