From 2464548977f4720bc8fceeb5d999c1a3852c2d10 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 21 四月 2022 19:38:30 +0800 Subject: [PATCH] 签到与任务 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetRecordService.java | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetRecordService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetRecordService.java index 1ae4acd..b8896a0 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetRecordService.java +++ b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetRecordService.java @@ -1,9 +1,11 @@ package com.yeshi.makemoney.app.service.inter.goldcorn; import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetRecord; +import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType; import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetRecordException; import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornGetRecordQuery; +import java.util.Date; import java.util.List; import java.util.Map; @@ -41,7 +43,7 @@ public void update(GoldCornGetRecord goldCornGetRecord); - public Long getGoldCornByDay(Long uid, String day); + public Long getGoldCornByDay(Long uid, Date day); /** @@ -68,4 +70,16 @@ **/ public Map<Long, Integer> sumGoldCornByFromUids(Long uid, List<Long> fromUidList, String day); + + /** + * @author hxh + * @description 鑾峰彇杩炵画浠诲姟鐨勫ぉ鏁� + * @date 16:39 2022/4/21 + * @param: uid + * @param: type + * @param: deadDate + * @return int + **/ + public int getContinueDay(Long uid, GoldCornGetType type,Date deadDate); + } -- Gitblit v1.8.0