记得上下班打卡 | git大法好,push需谨慎

Commit 257559c1 authored by 张国柄's avatar 张国柄

~api:平台券降级查取状态调整;

parent 97578087
......@@ -54,7 +54,7 @@
<include refid="Rst_CommonCouponBasicDto_Column_List"/>
FROM candy_common_coupon ccc
LEFT JOIN candy_coupon cc ON ccc.coupon_id = cc.coupon_id
WHERE ccc.state <![CDATA[<>]]> 2
WHERE ccc.state in (1,3)
AND ccc.created_at <![CDATA[>=]]> #{ucreatedAt,jdbcType=TIMESTAMP}
</select>
</mapper>
......@@ -56,7 +56,7 @@
<include refid="Rst_UserCouponBasicDto_Column_List"/>
FROM candy_user_coupon cuc
LEFT JOIN candy_coupon cc ON cuc.coupon_id = cc.coupon_id
WHERE cuc.state <![CDATA[<>]]> 2
WHERE cuc.state in (1,3,5)
AND cuc.uid = #{uid,jdbcType=VARCHAR}
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment