diff --git a/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml b/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml index 5dd807f0..ef0d6249 100644 --- a/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml +++ b/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml @@ -142,7 +142,7 @@ select xro.recharge_order_id rechargeOrderId ,xro.recharge_order_number rechargeOrderNumber, xro.alipay_number alipayNumber ,xro.prepay_id prepayid,xro.user_id userId,xro.amount,cop.phone communityPhone,cop.account communityAccount, cup.phone customersPhone,cup.account customersAccount, - xro.type ,xro.`status`,xro.create_time createTime,xro.source source,xau.phone,sdd.dict_label statusName + xro.type ,xro.`status`,xro.create_time createTime,xro.source source,xau.phone,xau.phone appUserPhone,sdd.dict_label statusName from xhpc_recharge_order xro LEFT JOIN xhpc_app_user xau on xau.app_user_id = xro.user_id LEFT JOIN xhpc_community_personnel cop on cop.community_personnel_id = xro.user_id and xro.source=2 @@ -155,8 +155,8 @@ select xro.recharge_order_id rechargeOrderId ,xro.recharge_order_number rechargeOrderNumber, xro.alipay_number alipayNumber ,xro.prepay_id prepayid,xro.user_id userId,xro.amount, - xro.type ,xro.`status`,xro.create_time createTime,xro.source source, - xau.phone,cop.account communityAccount,cup.account customersAccount, + xro.type ,xro.`status`,xro.create_time createTime,xro.source source,xau.phone, + xau.phone appUserPhone,cop.account communityAccount,cup.account customersAccount, sdd.dict_label statusName from xhpc_recharge_order xro LEFT JOIN xhpc_app_user xau on xau.app_user_id = xro.user_id and xro.source =0 diff --git a/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRefundOrderMapper.xml b/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRefundOrderMapper.xml index 4dd2a722..99229ece 100644 --- a/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRefundOrderMapper.xml +++ b/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRefundOrderMapper.xml @@ -174,7 +174,7 @@ select xro.refund_order_id refundOrderId ,xro.refund_order_number refundOrderNumber,xro.tenant_id tenantId, xro.alipay_id alipayId ,xro.open_id openId,xro.user_id userId,xro.amount,xro.source source,cop.phone communityPhone,cop.account communityAccount, cup.phone customersPhone,cup.account customersAccount, - xro.type,xro.examine_status examineStatus,xro.`status`,xro.source source,xro.create_time createTime,xau.phone, + xro.type,xro.examine_status examineStatus,xro.`status`,xro.source source,xro.create_time createTime,xau.phone,xau.phone appUserPhone, sdd.dict_label statusName,sdds.dict_label examineStatusName from xhpc_refund_order xro LEFT JOIN xhpc_app_user xau on xau.app_user_id = xro.user_id and xro.source=0 @@ -189,7 +189,7 @@ select xro.refund_order_id refundOrderId ,xro.refund_order_number refundOrderNumber, xro.alipay_id alipayId ,xro.open_id openId,xro.user_id userId,xro.amount, xro.type,xro.examine_status examineStatus,xro.`status`,xro.source source,xro.create_time createTime, - xau.phone,sdd.dict_label statusName,sdds.dict_label examineStatusName,cop.account communityAccount,cup.account customersAccount + xau.phone,xau.phone appUserPhone,sdd.dict_label statusName,sdds.dict_label examineStatusName,cop.account communityAccount,cup.account customersAccount from xhpc_refund_order xro LEFT JOIN xhpc_app_user xau on xau.app_user_id = xro.user_id and xro.source =0 LEFT JOIN xhpc_community_personnel cop on cop.community_personnel_id = xro.user_id and xro.source =2