Kaynağa Gözat

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

release_toaliyun_real
hupeng 7 yıl önce
ebeveyn
işleme
aa90b1d9f1
1 değiştirilmiş dosya ile 2 ekleme ve 12 silme
  1. +2
    -12
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 2
- 12
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Dosyayı Görüntüle

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


<select id="findDetailOfAdmin" parameterType="java.lang.Long" resultMap="BVoResultMap"> <select id="findDetailOfAdmin" parameterType="java.lang.Long" resultMap="BVoResultMap">
select <include refid="allAdminCouponOrderDetailColumns" /> 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_coupon c,
wx_c_user cu, wx_c_user cu,
wx_merchant m,
wx_coupon_order co wx_coupon_order co
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
where co.id = #{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 c.id = co.coupon_id
and cu.id = co.c_user_id and cu.id = co.c_user_id
and m.id = cm.merchant_id
</select> </select>


<sql id="allBUserVerifiedCouponOrderColumns"> <sql id="allBUserVerifiedCouponOrderColumns">


Yükleniyor…
İptal
Kaydet