feat():修改查询时sql空格问题

master
lwj 2024-08-08 21:28:41 +08:00
parent d7aafeb996
commit 57bc0dd374
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ public class OrderPayServiceImpl extends ServiceImpl<OrderPayMapper, OrderPayInf
LambdaQueryWrapper<OrderPayInfo> orderPayInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();
orderPayInfoLambdaQueryWrapper.eq(OrderPayInfo::getAppCode,appCode);
orderPayInfoLambdaQueryWrapper.orderBy(true,false,OrderPayInfo::getCreateTime);
orderPayInfoLambdaQueryWrapper.last("limit"+limit);
orderPayInfoLambdaQueryWrapper.orderBy(true,false,OrderPayInfo::getCreateBy);
orderPayInfoLambdaQueryWrapper.last("limit "+limit);
// List<OrderPayInfo> orderPayInfoList = this.list(orderPayInfoLambdaQueryWrapper);
return this.list(orderPayInfoLambdaQueryWrapper);
}