From 6cc97918a5a42e37a3c3867cc5b78a0b9fd43a24 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 29 四月 2022 19:55:41 +0800 Subject: [PATCH] 功能完善 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java | 57 +++++++++++++++++++++++++++------------------------------ 1 files changed, 27 insertions(+), 30 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java index 6eab3ce..2511044 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java +++ b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java @@ -11,6 +11,7 @@ import org.yeshi.utils.bean.BeanUtil; import java.util.List; +import java.util.Map; import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice; import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornGetPriceService; @@ -102,45 +103,41 @@ /** * @return java.lang.Integer * @author hxh - * @description 鑾峰彇瑙傜湅瑙嗛鐨勫崟浠凤紙鎸夊垎閽熻浠凤級 - * @date 18:18 2022/4/26 + * @description 鑾峰彇璁℃暟浠锋牸 + * @date 12:10 2022/4/28 + * @param: type * @param: user - **/ - /** - * @return java.lang.Integer - * @author hxh - * @description 鑾峰彇鏈瑙傜湅瑙嗛鐨勪环鏍� - * @date 18:23 2022/4/26 - * @param: user 鐢ㄦ埛淇℃伅 - * @param: date 瑙傜湅鐨勬棩鏈� - * @param: timeSeconds 瑙傜湅鐨勬椂闀� - **/ - public Integer getWatchVideoPrice(UserInfo user, Date date, int timeSeconds) throws GoldCornGetPriceException; - - - /** - * @return java.lang.Integer - * @author hxh - * @description 鑾峰彇鏈闃呰灏忚鐨勪环鏍� - * @date 18:28 2022/4/26 - * @param: user + * @param: system * @param: date - * @param: timeSeconds + * @param: eventCount **/ - public Integer getReadNovelPrice(UserInfo user, Date date, int timeSeconds) throws GoldCornGetPriceException; - + public Integer getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date, long eventCount) throws GoldCornGetPriceException; /** - * @author hxh - * @description 鑾峰彇娴忚鏂伴椈浠锋牸 - * @date 18:34 2022/4/26 + * @return java.util.Map<com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType , java.lang.Integer> + * @author hxh + * @description 鑾峰彇璁℃暟浠锋牸鍒楄〃 + * @date 13:55 2022/4/28 + * @param: typeList * @param: user + * @param: system * @param: date - * @param: num - * @return java.lang.Integer **/ - public Integer getScanNewsPrice(UserInfo user, Date date, int num) throws GoldCornGetPriceException; + public Map<GoldCornGetType, GoldCornGetPrice> getCountPrice(List<GoldCornGetType> typeList, UserInfo user, SystemEnum system, Date date); + + + /** + * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice + * @author hxh + * @description 鑾峰彇璁℃暟浠锋牸 + * @date 19:02 2022/4/28 + * @param: type + * @param: user + * @param: system + * @param: date + **/ + public GoldCornGetPrice getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date); } -- Gitblit v1.8.0