yujian
2019-04-22 b6c37e4bc38db88a360d0f2c6099183f9bb75bdc
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponRecordMapper.java
@@ -16,6 +16,15 @@
    * @param listCouponId
    * @return
    */
   List<UserSystemCouponRecord> getRecordByState(@Param("uid") Long uid, @Param("state") Integer state);
   /**
    * 根据单个订单查询
    * @param uid
    * @param activated
    * @param listCouponId
    * @return
    */
   UserSystemCouponRecord getRecordByOrderNo(@Param("orderNo") String orderNo, @Param("state") Integer state);
   
   
@@ -28,4 +37,13 @@
    */
   List<UserSystemCouponRecord> getRecordByOrderNoList(@Param("list") List<String> list);
   
   /**
    * 查询正在使用中 超过时间仍未匹配到订单记录
    * @param uid
    * @param seconds
    * @return
    */
   List<UserSystemCouponRecord> getCouponByUsingTimeOut(@Param("uid") Long uid, @Param("number") Long number);
}