Просмотр исходного кода

[卡券][修改]:使用新的编码规则区分券和卡

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
1a15ac21bd
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxOrderMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Просмотреть файл

@@ -568,7 +568,7 @@
where 1=1
and co.coupon_id = c.id
and co.coupon_type != 5
and co.coupon_type != 100
and co.coupon_type < 100
<if test="cUserId != null">
and co.c_user_id = #{cUserId}
</if>


+ 1
- 1
mallinkService/src/main/resources/mapper/WxOrderMapper.xml Просмотреть файл

@@ -219,7 +219,7 @@
from wx_coupon c,wx_order o
left join wx_coupon_order co on co.order_id = o.id
left join wx_coupon_action_log cal on cal.coupon_order_id = co.id
where o.product_id = c.id and c.type != 100
where o.product_id = c.id and c.type &lt; 100
<if test="cUserId != null">
and o.c_user_id = #{cUserId}
</if>


Загрузка…
Отмена
Сохранить