| | |
| | | * @return
|
| | | */
|
| | | List<IntegralTaskRecord> listDaySignRecord(@Param("uid") Long uid, @Param("cid") Long cid);
|
| | | |
| | | |
| | | /**
|
| | | * 连续签到情况
|
| | | * |
| | | * @param uid
|
| | | * @param cid
|
| | | * @param sortState
|
| | | * 1倒序-创建时间
|
| | | * @return
|
| | | */
|
| | | List<IntegralTaskRecord> listDateSignRecord(@Param("uid") Long uid, @Param("cid") Long cid);
|
| | |
|
| | | /**
|
| | | * 近7天签到情况
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | int countByTaskIdTodayNum(@Param("uid") Long uid, @Param("tid") Long tid, @Param("date") String date);
|
| | | int countByTaskIdTodayNum(@Param("uid") Long uid, @Param("tid") Long tid, @Param("date") String date,
|
| | | @Param("recordId") Long recordId);
|
| | |
|
| | | /**
|
| | | * 根据类型与创建时间检索
|
| | |
| | | */
|
| | | List<IntegralTaskRecord> listByUidAndTaskId(@Param("uid") Long uid, @Param("taskId") Long taskId,
|
| | | @Param("start") long start, @Param("count") int count);
|
| | | |
| | | /**
|
| | | * 更新金币失效
|
| | | */
|
| | | void invalidGoldCoin();
|
| | | }
|