Преглед изворни кода

[券订单][修改]:补贴金额问题,不显示不分账商户号记录的商户结账款

release_toaliyun_real
Stormeye Wu пре 6 година
родитељ
комит
174a21efa0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Прегледај датотеку

@@ -657,7 +657,7 @@
from wx_merchant_b_user bu inner join wx_merchant m on bu.merchant_id=m.id from wx_merchant_b_user bu inner join wx_merchant m on bu.merchant_id=m.id
where bu.tenant_id = #{tenantId} where bu.tenant_id = #{tenantId}
) bu on bu.bu_id = co.b_user_id ) bu on bu.bu_id = co.b_user_id
left join wx_merchant_subsidy ms on co.id = ms.coupon_order_id
left join wx_merchant_subsidy ms on co.id = ms.coupon_order_id and ms.type = 1
left join wx_coupon_action_log cal on co.id = cal.coupon_order_id and co.coupon_id = cal.coupon_id left join wx_coupon_action_log cal on co.id = cal.coupon_order_id and co.coupon_id = cal.coupon_id
where 1=1 where 1=1
<choose> <choose>
@@ -742,7 +742,7 @@
left join wx_c_user cu on cu.id = co.c_user_id left join wx_c_user cu on cu.id = co.c_user_id
left join wx_merchant_b_user bu on co.b_user_id = bu.id left join wx_merchant_b_user bu on co.b_user_id = bu.id
left join wx_merchant m on m.id = bu.merchant_id left join wx_merchant m on m.id = bu.merchant_id
left join wx_merchant_subsidy ms on co.id = ms.coupon_order_id
left join wx_merchant_subsidy ms on co.id = ms.coupon_order_id and ms.type = 1
where co.id = #{id} where co.id = #{id}
and c.id = co.coupon_id and c.id = co.coupon_id
</select> </select>


Loading…
Откажи
Сачувај