QueryWrapper全部升级LambdaQueryWrapper

This commit is contained in:
LIONCITYS\lioncity
2020-10-16 14:56:06 +08:00
parent 4c89f55a05
commit c14422a985
3 changed files with 18 additions and 20 deletions

View File

@ -268,8 +268,7 @@ public class YxWechatLiveServiceImpl extends BaseServiceImpl<YxWechatLiveMapper,
public List<YxWechatLiveDto> getList(int page, int limit, int order) {
//todo 添加状态判断
LambdaQueryWrapper<YxWechatLive> wrapper = new LambdaQueryWrapper<>();
wrapper
.orderByDesc(YxWechatLive::getStartTime);
wrapper.orderByDesc(YxWechatLive::getStartTime);
Page<YxWechatLive> pageModel = new Page<>(page, limit);