yujian
2019-09-09 0d9ac58dc11f54351e5e18dba8e950717d78019f
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/integral/IntegralDetailMapper.java
@@ -12,12 +12,19 @@
public interface IntegralDetailMapper extends BaseMapper<IntegralDetail> {
   /**
    * 根据唯一值查询明细
    * @param uniqueKey
    * @return
    */
   IntegralDetail getDetailByUniqueKey(@Param("uniqueKey")String uniqueKey);
   /**
    * 获取用户总共有多少记录数据
    * 
    * @param uid
    * @return
    */
   Long selectCountByUid(@Param("uid") Long uid);
   Long selectCountByUid(@Param("uid") Long uid, @Param("type")Integer type);
   
   /**
    * 按用户ID和最大时间检索月份的数量
@@ -26,7 +33,7 @@
    * @param maxDate
    * @return
    */
   int selectMonthCountByUid(@Param("uid") Long uid, @Param("date") Date maxDate);
   int selectMonthCountByUid(@Param("uid") Long uid, @Param("date") Date maxDate, @Param("type")Integer type);
   
   
   /**
@@ -36,7 +43,7 @@
    * @param date
    * @return
    */
   Long selectCountByUidAndMaxCreateTime(@Param("uid") Long uid, @Param("date") Date date);
   Long selectCountByUidAndMaxCreateTime(@Param("uid") Long uid, @Param("date") Date date, @Param("type")Integer type);
   
   
   /**
@@ -46,7 +53,7 @@
    * @param date
    * @return
    */
   List<IntegralDetail> selectByMaxCreateTime(@Param("uid") Long uid, @Param("date") Date date, @Param("count") int count);
   List<IntegralDetail> selectByMaxCreateTime(@Param("uid") Long uid, @Param("date") Date date, @Param("count") int count, @Param("type")Integer type);
   
   
   /**
@@ -57,7 +64,7 @@
    * @param count
    * @return
    */
   List<IntegralDetail> selectByUidWithIndexId(@Param("uid") Long uid, @Param("id") Long id, @Param("count") int count);
   List<IntegralDetail> selectByUidWithIndexId(@Param("uid") Long uid, @Param("id") Long id, @Param("count") int count, @Param("type")Integer type);
   
   
   /**