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

[订单管理只显示已核销和已退款问题][修复]

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

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

@@ -187,12 +187,13 @@


<select id="findListOfAdmin" parameterType="com.iformall.domain.po.WxCouponOrder" resultMap="BVoResultMap"> <select id="findListOfAdmin" parameterType="com.iformall.domain.po.WxCouponOrder" resultMap="BVoResultMap">
select <include refid="allAdminCouponOrderColumns" /> select <include refid="allAdminCouponOrderColumns" />
from wx_coupon_order co,wx_order o,wx_coupon c,wx_c_user cu,wx_merchant_b_user bu, wx_merchant m
where o.id = co.order_id
and co.coupon_id = c.id
and cu.id = co.c_user_id
and bu.id = co.b_user_id
and o.merchant_id = m.id
from wx_coupon_order co
left join wx_order o on o.id = co.order_id
left join wx_coupon c on co.coupon_id = c.id
left join wx_c_user cu on cu.id = co.c_user_id
left join wx_merchant_b_user bu on bu.id = co.b_user_id
left join wx_merchant m on o.merchant_id = m.id
where 1 = 1
<if test=" null != id "> <if test=" null != id ">
and co.id = #{id} and co.id = #{id}
</if> </if>


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