From b9f8ef2c4737b6e6be4b12fc8f7bafb033bfcfe5 Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期日, 22 九月 2019 16:47:33 +0800 Subject: [PATCH] 金币BUG修改 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java index 3c733d8..cdde36a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java @@ -10,7 +10,6 @@ public interface UserSystemCouponMapper extends BaseMapper<UserSystemCoupon> { - List<UserSystemCoupon> getUserCouponList(@Param("start") long start, @Param("count") int count, @Param("uid") Long uid); @@ -96,4 +95,31 @@ */ List<UserSystemCouponVO> getIncludeNotExchange(@Param("uid") Long uid,@Param("num") int num, @Param("type") String type); + + /** + * 鏌ヨ姝e湪浣跨敤涓� 瓒呰繃鏃堕棿浠嶆湭鍖归厤鍒拌鍗曡褰� + * @param uid + * @param seconds + * @return + */ + List<UserSystemCoupon> getCouponByUsingTimeOut(@Param("uid") Long uid,@Param("list") List<Long> list, @Param("number") Long number); + + + /** + * 缁熻鏈夋晥鍒� + * @param uid + * @param listCouponId + * @return + */ + long countUsableByUid(@Param("uid") Long uid, @Param("list") List<Long> listCouponId); + + + /** + * 鏌ヨ鍏嶅埜 + * @param uid + * @param source + * @return + */ + List<UserSystemCoupon> getFreeCouponByType(@Param("uid") Long uid, @Param("type") String type); + } \ No newline at end of file -- Gitblit v1.8.0