瀏覽代碼

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

release_toaliyun_real
Stormeye.Wu 7 年之前
父節點
當前提交
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 <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 ">
and co.id = #{id}
</if>


Loading…
取消
儲存