Sfoglia il codice sorgente

[A端][修复]:订单详情页显示问题

release_toaliyun_real
hupeng 7 anni fa
parent
commit
aa90b1d9f1
1 ha cambiato i file con 2 aggiunte e 12 eliminazioni
  1. +2
    -12
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 2
- 12
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Vedi File

@@ -390,25 +390,15 @@

<select id="findDetailOfAdmin" parameterType="java.lang.Long" resultMap="BVoResultMap">
select <include refid="allAdminCouponOrderDetailColumns" />
from wx_coupon_merchant cm,
(select tco.id as tcoid,
(select count(*) from wx_coupon_merchant tcm
where tcm.product_id = tco.coupon_id
and tcm.status = 0) as mc
from wx_coupon_order tco) com,
from
wx_coupon c,
wx_c_user cu,
wx_merchant m,
wx_coupon_order co
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
where co.id = #{id}
and com.mc = 1
and com.tcoid = co.id
and cm.product_id = c.id
and cm.status = 0
and c.id = co.coupon_id
and cu.id = co.c_user_id
and m.id = cm.merchant_id
</select>

<sql id="allBUserVerifiedCouponOrderColumns">


Caricamento…
Annulla
Salva