feat():修改查询时sql空格问题
parent
d7aafeb996
commit
57bc0dd374
|
@ -16,8 +16,8 @@ public class OrderPayServiceImpl extends ServiceImpl<OrderPayMapper, OrderPayInf
|
||||||
|
|
||||||
LambdaQueryWrapper<OrderPayInfo> orderPayInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<OrderPayInfo> orderPayInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
orderPayInfoLambdaQueryWrapper.eq(OrderPayInfo::getAppCode,appCode);
|
orderPayInfoLambdaQueryWrapper.eq(OrderPayInfo::getAppCode,appCode);
|
||||||
orderPayInfoLambdaQueryWrapper.orderBy(true,false,OrderPayInfo::getCreateTime);
|
orderPayInfoLambdaQueryWrapper.orderBy(true,false,OrderPayInfo::getCreateBy);
|
||||||
orderPayInfoLambdaQueryWrapper.last("limit"+limit);
|
orderPayInfoLambdaQueryWrapper.last("limit "+limit);
|
||||||
// List<OrderPayInfo> orderPayInfoList = this.list(orderPayInfoLambdaQueryWrapper);
|
// List<OrderPayInfo> orderPayInfoList = this.list(orderPayInfoLambdaQueryWrapper);
|
||||||
return this.list(orderPayInfoLambdaQueryWrapper);
|
return this.list(orderPayInfoLambdaQueryWrapper);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue