后端:用户优惠劵分页列表接口

This commit is contained in:
YunaiV
2019-04-07 22:40:28 +08:00
parent 315dec741f
commit 92ed97faed
11 changed files with 137 additions and 7 deletions

View File

@@ -38,6 +38,9 @@
<include refid="FIELDS" />
FROM coupon_card
<where>
<if test="userId != null">
AND user_id = #{userId}
</if>
<if test="status != null">
AND status = #{status}
</if>
@@ -50,6 +53,9 @@
COUNT(1)
FROM coupon_card
<where>
<if test="userId != null">
AND user_id = #{userId}
</if>
<if test="status != null">
AND status = #{status}
</if>