订单详情(未完成)

This commit is contained in:
邱贞招 2025-02-25 08:38:25 +08:00
parent 88662935de
commit ea05b4dcd5
2 changed files with 6 additions and 2 deletions

View File

@ -194,7 +194,7 @@ public class EtOrderServiceImpl implements IEtOrderService
}
// 退款记录
List<EtRefund> refunds = etRefundService.selectEtRefundByOrderNo(order.getOrderNo());
if(ObjectUtils.isNotEmpty(refunds) && refunds.size() > 0){
if(ObjectUtils.isNotEmpty(refunds) && !refunds.isEmpty()){
order.setEtRefunds(refunds);
}
return order;

View File

@ -478,7 +478,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
o.handling_charge,
o.platform_service_fee,
o.operator_dividend,
o.cost
o.cost,
o.used_sn,
o.return_mode,
o.return_lon,
o.return_lat
from et_order o
LEFT JOIN et_user u ON u.user_id = o.user_id
LEFT JOIN et_operating_area oa ON o.area_id = oa.area_id