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