|
|
|
@@ -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} |
|
|
|
|