From 6fa8b920ec2271cc4b4b84ab62973cbf6ef831b2 Mon Sep 17 00:00:00 2001 From: xhxu Date: Mon, 5 Sep 2022 15:11:37 +0800 Subject: [PATCH] =?UTF-8?q?//=20=E5=88=86=E8=B4=A6list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/WxProfitSharingOrderMapper.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxProfitSharingOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxProfitSharingOrderMapper.xml index acade2e92..3d0392658 100644 --- a/mallinkService/src/main/resources/mapper/WxProfitSharingOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxProfitSharingOrderMapper.xml @@ -239,8 +239,6 @@ - - @@ -254,11 +252,12 @@ - + select psr.id,psr.tenant_id,psr.parent_tenant_id,psr.pay_amount,psr.create_time,sharing_status,finish_time,failed_reason,description, psre.receiver_type,psre.receiver_account,psre.receiver_comments,psre.sharing_type,psre.`status` - from wx_profit_sharing_result psr left join wx_profit_sharing_receiver psre on psr.sharing_receiver_id=psre.id - where psr.sharing_order_id=#{id} and psr.tenant_id=#{tenantId} and psr.sharing_receiver_id!=0 + from wx_profit_sharing_result psr + left join wx_profit_sharing_receiver psre on psr.sharing_receiver_id = psre.id + where psr.sharing_order_id = #{id} and psr.tenant_id = #{tenantId} and psr.sharing_receiver_id != 0