| | |
| | | * @param listCouponId |
| | | * @return |
| | | */ |
| | | UserSystemCouponRecord getRecordByOrderNo(@Param("orderNo") String orderNo, @Param("state") Integer state); |
| | | UserSystemCouponRecord getRecordByOrderNo(@Param("orderNo") String orderNo, @Param("source")Integer source, @Param("state") Integer state); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param listCouponId |
| | | * @return |
| | | */ |
| | | List<UserSystemCouponRecord> getRecordByOrderNoList(@Param("list") List<String> list); |
| | | List<UserSystemCouponRecord> getRecordByOrderNoList( @Param("source")Integer source, @Param("list") List<String> list); |
| | | |
| | | |
| | | /** |
| | | * 查询正在使用中 超过时间仍未匹配到订单记录 |
| | | * @param uid |
| | | * @param seconds |
| | | * 查询最近使用记录 |
| | | * @param userCouponId |
| | | * @return |
| | | */ |
| | | List<UserSystemCouponRecord> getCouponByUsingTimeOut(@Param("uid") Long uid, @Param("number") Long number); |
| | | |
| | | UserSystemCouponRecord getNearByUserCouponId(@Param("userCouponId") Long userCouponId); |
| | | } |