feat():更改实现层
parent
4fe783a6ae
commit
f47bb7f640
|
@ -57,35 +57,6 @@ public class OrderPayCustomerServiceImpl extends ServiceImpl<OrderPayCustomerMap
|
|||
)
|
||||
)
|
||||
.toList();
|
||||
// for (CustomerResp customerResp : customerRespList) {
|
||||
|
||||
//注释的这一部分在OrderPayServiceImpl中实现
|
||||
// orderPayService.selectOrderPayByAppCodeAndLimit(customerResp.getAppCode(), 5);
|
||||
//
|
||||
// LambdaQueryWrapper<OrderPayInfo> orderPayInfoQueryWrapper = new LambdaQueryWrapper<>();
|
||||
// orderPayInfoQueryWrapper.eq(OrderPayInfo::getAppCode, customerResp.getAppCode());
|
||||
// orderPayInfoQueryWrapper.orderBy(true, false, OrderPayInfo::getCreateTime);
|
||||
// orderPayInfoQueryWrapper.last("limit 5");
|
||||
|
||||
// List<OrderPayInfo> orderPayInfoList = orderPayService.selectOrderPayByAppCodeAndLimit(customerResp.getAppCode(),5);
|
||||
|
||||
// ArrayList<CustomerOrderPaySimpleResp> customerOrderPaySimpleList = new ArrayList<>();
|
||||
// for (OrderPayInfo orderPayInfo : orderPayInfoList) {
|
||||
// CustomerOrderPaySimpleResp customerOrderPaySimpleResp = new CustomerOrderPaySimpleResp();
|
||||
// customerOrderPaySimpleResp.setCusOrderNumber(orderPayInfo.getCusOrderNumber());
|
||||
// customerOrderPaySimpleResp.setPrice(orderPayInfo.getPrice());
|
||||
// customerOrderPaySimpleResp.setChannelTypeName(SysPayType.getInfoByCode(orderPayInfo.getChannelType()));
|
||||
// customerOrderPaySimpleList.add(customerOrderPaySimpleResp);
|
||||
// }
|
||||
// customerResp.setOrderPaySimpleRespList(customerOrderPaySimpleList);
|
||||
|
||||
// customerResp.setOrderPaySimpleRespList(
|
||||
// orderPayService.selectOrderPayByAppCodeAndLimit(customerResp.getAppCode(),5)
|
||||
// .stream()
|
||||
// .map(OrderPayInfo::buildCustomerOrderPaySimpleResp)
|
||||
// .toList()
|
||||
// );
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue