Authored by chenchao

Merge branch 'master' into test6.9.24

... ... @@ -24,7 +24,7 @@
<select id="selectByCouponIds" resultType="com.yoho.ufo.model.coupon.UserCouponNum">
select
count(uid) cnt, coupon_id
count(*) cnt, coupon_id
from user_coupon
where
coupon_id IN
... ... @@ -37,11 +37,10 @@
<select id="selectByCouponId" resultType="com.yoho.ufo.model.coupon.UserCouponNum">
select
count(uid) cnt, coupon_id
count(*) cnt, coupon_id
from user_coupon
where
coupon_id=#{couponId,jdbcType=INTEGER}
group by coupon_id
</select>
... ...