|
|
|
@@ -366,15 +366,12 @@ |
|
|
|
|
|
|
|
<select id="findDetailOfAdmin" parameterType="java.lang.Long" resultMap="BVoResultMap"> |
|
|
|
select <include refid="allAdminCouponOrderDetailColumns" /> |
|
|
|
from |
|
|
|
wx_coupon c, |
|
|
|
wx_c_user cu, |
|
|
|
wx_coupon_order co |
|
|
|
from wx_coupon c, wx_coupon_order co |
|
|
|
left join wx_c_user cu on cu.id = co.c_user_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} |
|
|
|
and c.id = co.coupon_id |
|
|
|
and cu.id = co.c_user_id |
|
|
|
</select> |
|
|
|
|
|
|
|
<sql id="allBUserVerifiedCouponOrderColumns"> |
|
|
|
|