From e1cc0d03fadc2d251d36c0dc3650f75e830d5363 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 07 四月 2022 19:12:42 +0800 Subject: [PATCH] 功能完善 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetRecordService.java | 60 ++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 38 insertions(+), 22 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 11d7229..17333c6 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 @@ -3,8 +3,12 @@ import java.lang.Exception; import javax.annotation.Resource; import java.util.Date; + +import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetRecordException; import org.yeshi.utils.bean.BeanUtil; + import java.util.List; + import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetRecord; import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornGetRecordService; import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornGetRecordQuery; @@ -13,38 +17,50 @@ public interface GoldCornGetRecordService { /** - * 鑾峰彇鍒楄〃 - * @param goldCornGetRecordQuery - * @param page - * @param pageSize - * @return - */ - public List<GoldCornGetRecord> list(GoldCornGetRecordQuery goldCornGetRecordQuery, int page, int pageSize) ; + * 鑾峰彇鍒楄〃 + * + * @param goldCornGetRecordQuery + * @param page + * @param pageSize + * @return + */ + public List<GoldCornGetRecord> list(GoldCornGetRecordQuery goldCornGetRecordQuery, int page, int pageSize); /** - * - */ - public long count(GoldCornGetRecordQuery goldCornGetRecordQuery) ; + * + */ + public long count(GoldCornGetRecordQuery goldCornGetRecordQuery); /** - * - */ - public GoldCornGetRecord get(String id) ; + * + */ + public GoldCornGetRecord get(String id); /** - * - */ - public void add(GoldCornGetRecord goldCornGetRecord) throws Exception; + * + */ + public void add(GoldCornGetRecord goldCornGetRecord) throws GoldCornGetRecordException; /** - * - */ - public void update(GoldCornGetRecord goldCornGetRecord) ; + * + */ + public void update(GoldCornGetRecord goldCornGetRecord); + + + public Long getGoldCornByDay(Long uid, String day); + /** - * - */ - public void delete(List<String> idList) ; + * @return java.util.List<java.lang.Long> + * @author hxh + * @description 鏍规嵁鏃ユ湡鑾峰彇鐢ㄦ埛ID闆嗗悎 + * @date 11:18 2022/4/7 + * @param: day + **/ + public List<Long> getUidsByDay(String day, int page, int pageSize); + + + public long countUidsByDay(String day); } -- Gitblit v1.8.0