|
|
|
@@ -125,7 +125,7 @@ |
|
|
|
resultMap="CouponCountInfoMap"> |
|
|
|
select cp.coupon_id,c.title,cp.coupon_count from |
|
|
|
(select count(*) as coupon_count,coupon_id from wx_coupon_password |
|
|
|
where tenant_id#{tenantId} and status=0) cp |
|
|
|
where tenant_id=#{tenantId} and status=0) cp |
|
|
|
inner join wx_coupon c on cp.coupon_id = c.id |
|
|
|
where c.tenant_id=#{tenantId} and c.status=1 |
|
|
|
<if test=" null != couponId "> |
|
|
|
|