## Opt - 订单类型

This commit is contained in:
sangelxiu1 2025-07-23 17:27:00 +08:00
parent 512af3d529
commit 77a1458561
2 changed files with 4 additions and 1 deletions

View File

@ -33,4 +33,6 @@ public class TOnlinePaymentExt extends TOnlinePayment {
private Integer orderType;
private String orderTypeVal;
private Long rechargeId;
}

View File

@ -30,12 +30,13 @@
<!-- 查询列表 -->
<select id="queryList" resultType="com.hzs.common.domain.third.pay.ext.TOnlinePaymentExt">
select top.*, cm.member_code, cm.member_name,
select top.*, cm.member_code, cm.member_name,smr.Pk_id as rechargeId
so.order_type orderType
from T_ONLINE_PAYMENT top
left join cu_member cm
on cm.pk_id = top.pk_creator
left join sa_order so on so.ORDER_CODE = top.business_code
left join cu_member_recharge smr on smr.RECHARGE_CODE = top.business_code
where top.del_flag = 0
and top.pk_country = #{pkCountry}
<if test="param.memberCode != null and param.memberCode != ''">