mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
bugfix 查询分账列表如果没订单会报错
This commit is contained in:
@@ -280,6 +280,9 @@ public class OrderSplitRecordServiceImpl implements OrderSplitRecordService {
|
||||
// 分页(注意:这里要先单独查询订单编号进行分页,因为对分账信息分页,当前页不一定能完全展示完毕同一订单号的分账信息)
|
||||
PageHelper.startPage(pageNo, pageSize);
|
||||
List<String> orderCodes = orderSplitRecordMapper.queryOrderCodesByParams(dto);
|
||||
if (CollectionUtils.isEmpty(orderCodes)) {
|
||||
return new PageResponse();
|
||||
}
|
||||
PageInfo<String> pageInfo = new PageInfo<>(orderCodes);
|
||||
|
||||
// 查询符合条件的分账记录
|
||||
|
||||
Reference in New Issue
Block a user