From 0e9b6603d4ae9d11c1fbc90257ce816c5807b8ff Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 28 十月 2022 16:55:02 +0800
Subject: [PATCH] 批量添加结算消息

---
 app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java |  129 ++++++++++++++++++++++++++++++++++--------
 1 files changed, 104 insertions(+), 25 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 d5be594..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
@@ -6,8 +6,13 @@
 
 import com.yeshi.makemoney.app.entity.SystemEnum;
 import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType;
+import com.yeshi.makemoney.app.entity.user.UserInfo;
+import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetPriceException;
 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;
 import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornGetPriceQuery;
@@ -16,49 +21,123 @@
 public interface GoldCornGetPriceService {
 
     /**
-	 * 鑾峰彇鍒楄〃
-	 * @param goldCornGetPriceQuery
-	 * @param page
-	 * @param pageSize
-	 * @return
-	 */
-    public List<GoldCornGetPrice> list(GoldCornGetPriceQuery goldCornGetPriceQuery, int page, int pageSize) ;
+     * 鑾峰彇鍒楄〃
+     *
+     * @param goldCornGetPriceQuery
+     * @param page
+     * @param pageSize
+     * @return
+     */
+    public List<GoldCornGetPrice> list(GoldCornGetPriceQuery goldCornGetPriceQuery, int page, int pageSize);
 
     /**
-	 * 
-	 */
-    public long count(GoldCornGetPriceQuery goldCornGetPriceQuery) ;
+     *
+     */
+    public long count(GoldCornGetPriceQuery goldCornGetPriceQuery);
 
     /**
-	 * 
-	 */
-    public GoldCornGetPrice get(String id) ;
+     *
+     */
+    public GoldCornGetPrice get(String id);
 
     /**
-	 * 
-	 */
-    public void add(GoldCornGetPrice goldCornGetPrice)  throws Exception;
+     *
+     */
+    public void add(GoldCornGetPrice goldCornGetPrice) throws Exception;
 
     /**
-	 * 
-	 */
-    public void update(GoldCornGetPrice goldCornGetPrice) ;
+     *
+     */
+    public void update(GoldCornGetPrice goldCornGetPrice);
 
     /**
-	 * 
-	 */
-    public void delete(List<String> idList) ;
+     *
+     */
+    public void delete(List<String> idList);
 
     /**
-     * @author hxh 
+     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
+     * @author hxh
      * @description 鑾峰彇浠锋牸
      * @date 18:14 2022/4/6
      * @param: system
      * @param: type
      * @param: date
-     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
      **/
-    public GoldCornGetPrice getPrice(SystemEnum system, GoldCornGetType type,Date date);
+    public GoldCornGetPrice getPrice(SystemEnum system, GoldCornGetType type, Date date);
+
+
+    /**
+     * @return java.lang.Integer
+     * @author hxh
+     * @description 鑾峰彇浠锋牸閰嶇疆涓殑閲戝竵鍗曚环
+     * @date 16:06 2022/4/8
+     * @param: system
+     * @param: type
+     * @param: date
+     * @param: hasBoss
+     **/
+    public Integer getPriceCornNum(SystemEnum system, GoldCornGetType type, Date date, boolean hasBoss);
+
+
+    /**
+     * @return java.lang.Integer
+     * @author hxh
+     * @description 鑾峰彇绛惧埌鐨勪环鏍�
+     * @date 16:25 2022/4/21
+     * @param: continueDay 杩炵画绛惧埌澶╂暟
+     **/
+    public Integer getSingInPrice(SystemEnum system, int continueDay);
+
+
+    /**
+     * @return java.util.List<java.lang.Integer>
+     * @author hxh
+     * @description 鑾峰彇杩炵画绛惧埌鐨勪环鏍煎垪琛�
+     * @date 16:26 2022/4/21
+     * @param: system
+     **/
+    public List<Integer> getSingInPriceList(SystemEnum system);
+
+
+    /**
+     * @return java.lang.Integer
+     * @author hxh
+     * @description 鑾峰彇璁℃暟浠锋牸
+     * @date 12:10 2022/4/28
+     * @param: type
+     * @param: user
+     * @param: system
+     * @param: date
+     * @param: eventCount
+     **/
+    public Integer getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date, long eventCount) throws GoldCornGetPriceException;
+
+
+    /**
+     * @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
+     **/
+    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