优化
This commit is contained in:
@ -182,8 +182,9 @@ public class DevuceServiceImpl implements DevuceService {
|
|||||||
return dishesMapper.selectList(new LambdaQueryWrapperX<DishesDO>()
|
return dishesMapper.selectList(new LambdaQueryWrapperX<DishesDO>()
|
||||||
.eq(DishesDO::getCarteenId,carteenId)
|
.eq(DishesDO::getCarteenId,carteenId)
|
||||||
.gt(DishesDO::getId,94)
|
.gt(DishesDO::getId,94)
|
||||||
.eq(DishesDO::getDishecType,dishecType).orderByDesc(DishesDO::getId)
|
.eq(dishecType!=null,DishesDO::getDishecType,dishecType)
|
||||||
.like(StrUtil.isNotBlank(dishesName),DishesDO::getDishesName,dishesName));
|
.like(StrUtil.isNotBlank(dishesName),DishesDO::getDishesName,dishesName)
|
||||||
|
.orderByDesc(DishesDO::getId));
|
||||||
// }
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user