Browse Source

[系统发卡][修改][查询可以发放的卡]

release_toaliyun_real
gongbiao 6 years ago
parent
commit
86f3086e8f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml View File

@@ -141,7 +141,7 @@
(select count(*) as coupon_count,coupon_id from wx_coupon_password (select count(*) as coupon_count,coupon_id from wx_coupon_password
where tenant_id=#{tenantId} and status=0 group by coupon_id) cp where tenant_id=#{tenantId} and status=0 group by coupon_id) cp
inner join wx_coupon c on cp.coupon_id = c.id inner join wx_coupon c on cp.coupon_id = c.id
where c.tenant_id=#{tenantId} and c.status=0
where c.tenant_id=#{tenantId} and c.status=0 and put_apply_status in(0,2)
<if test=" null != couponId "> <if test=" null != couponId ">
and cp.`coupon_id` = #{couponId} and cp.`coupon_id` = #{couponId}
</if> </if>


Loading…
Cancel
Save