Browse Source

fix bug

release_toaliyun_real
xiaohanzi 4 years ago
parent
commit
e04dd192b3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

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

@@ -521,7 +521,7 @@
</select>
<select id="findProductCount" parameterType="com.iformall.domain.po.WxCouponOrder" resultType="java.lang.Integer">
select sum(coupon_number) FROM wx_coupon_order co
select COALESCE(sum(coupon_number),0) FROM wx_coupon_order co
where 1=1
<if test=" null != tenantId and '' != tenantId">
and co.`tenant_id` = #{tenantId}


Loading…
Cancel
Save