diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml index 062f71e85..9e8f652c5 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml @@ -107,7 +107,7 @@ a.out_trade_no, a.pay_time, b.nickname, - a.real_name, + x.nickname as realName, a.uid, a.user_phone, a.confirm_phone, @@ -124,6 +124,7 @@ left join member_user b on a.promoter_id = b.id left join system_dept d on d.id = a.dept_id left join system_tenant e on e.id = a.tenant_id + left join member_user x on a.uid = x.id order by a.pay_time desc @@ -249,9 +250,9 @@ and b.nickname like CONCAT('%',#{data.nickname},'%') - + + and x.real_name like CONCAT('%',#{data.realName},'%') + and a.user_phone like CONCAT('%',#{data.userPhone},'%')