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

[商户租户关系][修复]:商户租户删除去重

release_toaliyun_real
Stormeye.Wu пре 7 година
родитељ
комит
904e282e8c
3 измењених фајлова са 4 додато и 4 уклоњено
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml
  3. +1
    -1
      mallinkService/src/main/resources/mapper/WxOrderMapper.xml

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

@@ -245,7 +245,7 @@
select <include refid="allCUserColumns" />
from wx_coupon_channel cc,
wx_coupon c,wx_merchant m
left join wx_merchant_shop ms on ms.merchant_id = m.id
left join wx_merchant_shop ms on ms.merchant_id = m.id and ms.is_del = 0
left join wx_shop s on ms.shop_id = s.id
left join wx_mall_building mb on s.building = mb.id
left join wx_mall_floor mf on s.floor = mf.id
@@ -277,7 +277,7 @@
select <include refid="allCUserColumns2" />
from
wx_coupon c,wx_merchant m
left join wx_merchant_shop ms on ms.merchant_id = m.id
left join wx_merchant_shop ms on ms.merchant_id = m.id and ms.is_del = 0
left join wx_shop s on ms.shop_id = s.id
left join wx_mall_building mb on s.building = mb.id
left join wx_mall_floor mf on s.floor = mf.id


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

@@ -353,7 +353,7 @@
<select id="selectDetailOfUser" parameterType="map" resultMap="CVoResultMap">
select <include refid="allCUserCouponOrderDetailColumns" />
from wx_coupon_order c,wx_coupon co,wx_merchant m
left join wx_merchant_shop ms on ms.merchant_id = m.id
left join wx_merchant_shop ms on ms.merchant_id = m.id and ms.is_del = 0
left join wx_shop s on ms.shop_id = s.id
left join wx_mall_building mb on s.building = mb.id
left join wx_mall_floor mf on s.floor = mf.id


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

@@ -205,7 +205,7 @@
select <include refid="allCUserOrderDetailColumns" />
from (wx_order o,wx_coupon co,wx_merchant m)
left join wx_coupon_order c on o.id = c.order_id
left join wx_merchant_shop ms on ms.merchant_id = m.id
left join wx_merchant_shop ms on ms.merchant_id = m.id and ms.is_del = 0
left join wx_shop s on ms.shop_id = s.id
left join wx_mall_building mb on s.building = mb.id
left join wx_mall_floor mf on s.floor = mf.id


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