Authored by ping

修改,增加老用户限制

... ... @@ -25,7 +25,7 @@
from user_coupon_history
where uid = #{uid,jdbcType=INTEGER}
and activity_id = #{activityId,jdbcType=INTEGER}
and create_time > #{createTime,jdbcType=INTEGER}
and create_time > #{createTime,jdbcType=INTEGER} and user_type=1
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from user_coupon_history
... ...