|
@@ -77,7 +77,7 @@ public class ChannelMgrController extends BaseApiController {
|
|
|
queryWrapper.gt("t1.level", 0);
|
|
|
queryWrapper.likeRight(null != channel && StringUtils.isNotBlank(channel.getMobile()), "t1.mobile", channel.getMobile());
|
|
|
queryWrapper.likeRight(null != channel && StringUtils.isNotBlank(channel.getName()), "t1.name", channel.getName());
|
|
|
- queryWrapper.orderByAsc("t1.channel_id");
|
|
|
+ queryWrapper.orderByDesc("t1.channel_id");
|
|
|
queryWrapper.last("limit 50");
|
|
|
list = channelService.selectChannelVoList(queryWrapper);
|
|
|
if(null != list && list.size() > 0) {
|
|
@@ -109,7 +109,7 @@ public class ChannelMgrController extends BaseApiController {
|
|
|
List<Channel> list = new ArrayList<Channel>();
|
|
|
LambdaQueryWrapper<Channel> queryWrapper = new LambdaQueryWrapper<Channel>();
|
|
|
queryWrapper.gt(Channel::getLevel, 0);
|
|
|
- queryWrapper.orderByAsc(Channel::getCreatedTime);
|
|
|
+ queryWrapper.orderByDesc(Channel::getChannelId);
|
|
|
list = channelService.list(queryWrapper);
|
|
|
return AjaxResult.success(list);
|
|
|
}
|
|
@@ -134,7 +134,7 @@ public class ChannelMgrController extends BaseApiController {
|
|
|
queryWrapper.eq(null != channel && null != channel.getProvinceId(), "t1.province_id", channel.getProvinceId());
|
|
|
queryWrapper.eq(null != channel && null != channel.getCityId(), "t1.city_id", channel.getCityId());
|
|
|
queryWrapper.eq(null != channel && null != channel.getAreaId(), "t1.area_id", channel.getAreaId());
|
|
|
- queryWrapper.orderByAsc("t1.channel_id");
|
|
|
+ queryWrapper.orderByDesc("t1.channel_id");
|
|
|
list = channelService.selectChannelVoList(queryWrapper);
|
|
|
if(null != list && list.size() > 0) {
|
|
|
for(ChannelVO channelVO : list) {
|