From d1f26741bddf6f512d62c0100d42c52be8d37e76 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 06 二月 2021 15:35:40 +0800
Subject: [PATCH] 工具类优化

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/order/tb/TaoBaoOrderService.java |  269 +++++++++++++++++++++++++++--------------------------
 1 files changed, 135 insertions(+), 134 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/tb/TaoBaoOrderService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/tb/TaoBaoOrderService.java
index 45009a8..014a296 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/tb/TaoBaoOrderService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/tb/TaoBaoOrderService.java
@@ -1,134 +1,135 @@
-package com.yeshi.fanli.service.inter.order.tb;
-
-import java.util.Date;
-import java.util.List;
-
-import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
-import com.yeshi.fanli.entity.taobao.TaoBaoOrderGoods;
-
-/**
- * 娣樺疂璁㈠崟鏈嶅姟
- * 
- * @author Administrator
- *
- */
-
-public interface TaoBaoOrderService {
-
-	/**
-	 * 娣诲姞璁㈠崟鏁版嵁
-	 * 
-	 * @param list
-	 */
-	public void addTaoBaoOrderList(List<TaoBaoOrder> list);
-
-	/**
-	 * 
-	 * @param orderId
-	 *            璁㈠崟鍙�
-	 * @param list
-	 *            璁㈠崟鍙蜂笅闈㈢殑璁㈠崟
-	 */
-	public void addTaoBaoOrder(String orderId, List<TaoBaoOrder> list);
-
-	/**
-	 * 鏍规嵁璁㈠崟鍙疯幏鍙栬鍗曞垪琛�
-	 * 
-	 * @param orderId
-	 * @return
-	 */
-	public List<TaoBaoOrder> getTaoBaoOrderByOrderId(String orderId);
-
-
-
-
-	/**
-	 * 缁熻褰撴棩棰勪及鏀剁泭
-	 * 
-	 * @param date
-	 *            2018-09-01
-	 * @return
-	 */
-	public double countEstimate(String date) throws Exception;
-
-	/**
-	 * 缁戝畾浼氬憳杩愯惀ID涓庢笭閬揑D(鏍规嵁浜ゆ槗ID)
-	 * 
-	 * @param tadeId
-	 * @param specialId
-	 * @param realtionId
-	 */
-	public void bindSpecialIdAndRealtionId(String tradeId, String specialId, String realtionId);
-
-	/**
-	 * 鏍规嵁浜ゆ槗ID鑾峰彇璁㈠崟鍙�
-	 * 
-	 * @param tradeId
-	 * @return
-	 */
-	public TaoBaoOrder selectByTradeId(String tradeId);
-
-	/**
-	 * 妫�绱㈡墍鏈夎鍗曞垪琛�
-	 * 
-	 * @param page
-	 * @param pageSize
-	 * @return
-	 */
-	public List<TaoBaoOrder> listAllOrder(int page, int pageSize);
-
-	/**
-	 * 璁㈠崟鎬婚噺
-	 * 
-	 * @return
-	 */
-	public long countAllOrder();
-
-	/**
-	 * 鏍规嵁涓婚敭妫�绱�
-	 * 
-	 * @param id
-	 * @return
-	 */
-	public TaoBaoOrder selectByPrimaryKey(Long id);
-
-	/**
-	 * 鏍规嵁缁撶畻鏃堕棿妫�绱�
-	 * 
-	 * @param page
-	 * @param pageSize
-	 * @return
-	 */
-	public List<TaoBaoOrder> listBySettlementTime(Long minTime, Long maxTime, int page, int pageSize);
-
-	/**
-	 * 鏍规嵁缁撶畻鏃堕棿璁℃暟
-	 * 
-	 * @param minTime
-	 * @param maxTime
-	 * @return
-	 */
-	public Long countBySettlementTime(Long minTime, Long maxTime);
-
-	/**
-	 * 鏍规嵁鐘舵�佸拰鍒涘缓鏃堕棿妫�绱�
-	 * 
-	 * @param state
-	 * @param minCreateTime
-	 * @param maxCreateTime
-	 * @return
-	 */
-	public List<TaoBaoOrder> listByStateAndCreateTime(String state, Date minCreateTime, Date maxCreateTime);
-
-	public Long countOrderByDay(String preDay);
-	
-	/**
-	 * 娣诲姞璁㈠崟鍟嗗搧
-	 * @Title: addTaoBaoOrderGoods
-	 * @Description: 
-	 * @param goods 
-	 * void 杩斿洖绫诲瀷
-	 * @throws
-	 */
-	public void addTaoBaoOrderGoods(TaoBaoOrderGoods goods);
-}
+package com.yeshi.fanli.service.inter.order.tb;
+
+import java.util.Date;
+import java.util.List;
+
+import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
+import com.yeshi.fanli.entity.taobao.TaoBaoOrderGoods;
+
+/**
+ * 娣樺疂璁㈠崟鏈嶅姟
+ *
+ * @author Administrator
+ */
+
+public interface TaoBaoOrderService {
+
+    /**
+     * 娣诲姞璁㈠崟鏁版嵁
+     *
+     * @param list
+     */
+    public void addTaoBaoOrderList(List<TaoBaoOrder> list);
+
+    /**
+     * @param orderId 璁㈠崟鍙�
+     * @param list    璁㈠崟鍙蜂笅闈㈢殑璁㈠崟
+     */
+    public void addTaoBaoOrder(String orderId, List<TaoBaoOrder> list);
+
+    /**
+     * 鏍规嵁璁㈠崟鍙疯幏鍙栬鍗曞垪琛�
+     *
+     * @param orderId
+     * @return
+     */
+    public List<TaoBaoOrder> getTaoBaoOrderByOrderId(String orderId);
+
+
+    /**
+     * 缁熻褰撴棩棰勪及鏀剁泭
+     *
+     * @param date 2018-09-01
+     * @return
+     */
+    public double countEstimate(String date) throws Exception;
+
+    /**
+     * 缁戝畾浼氬憳杩愯惀ID涓庢笭閬揑D(鏍规嵁浜ゆ槗ID)
+     *
+     * @param tadeId
+     * @param specialId
+     * @param realtionId
+     */
+    public void bindSpecialIdAndRealtionId(String tradeId, String specialId, String realtionId);
+
+    /**
+     * 鏍规嵁浜ゆ槗ID鑾峰彇璁㈠崟鍙�
+     *
+     * @param tradeId
+     * @return
+     */
+    public TaoBaoOrder selectByTradeId(String tradeId);
+
+    /**
+     * 妫�绱㈡墍鏈夎鍗曞垪琛�
+     *
+     * @param page
+     * @param pageSize
+     * @return
+     */
+    public List<TaoBaoOrder> listAllOrder(int page, int pageSize);
+
+    /**
+     * 璁㈠崟鎬婚噺
+     *
+     * @return
+     */
+    public long countAllOrder();
+
+    /**
+     * 鏍规嵁涓婚敭妫�绱�
+     *
+     * @param id
+     * @return
+     */
+    public TaoBaoOrder selectByPrimaryKey(Long id);
+
+    /**
+     * 鏍规嵁缁撶畻鏃堕棿妫�绱�
+     *
+     * @param page
+     * @param pageSize
+     * @return
+     */
+    public List<TaoBaoOrder> listBySettlementTime(Long minTime, Long maxTime, int page, int pageSize);
+
+    /**
+     * 鏍规嵁缁撶畻鏃堕棿璁℃暟
+     *
+     * @param minTime
+     * @param maxTime
+     * @return
+     */
+    public Long countBySettlementTime(Long minTime, Long maxTime);
+
+    /**
+     * 鏍规嵁鐘舵�佸拰鍒涘缓鏃堕棿妫�绱�
+     *
+     * @param state
+     * @param minCreateTime
+     * @param maxCreateTime
+     * @return
+     */
+    public List<TaoBaoOrder> listByStateAndCreateTime(String state, Date minCreateTime, Date maxCreateTime);
+
+    public Long countOrderByDay(String preDay);
+
+    /**
+     * 娣诲姞璁㈠崟鍟嗗搧
+     *
+     * @param goods void 杩斿洖绫诲瀷
+     * @throws
+     * @Title: addTaoBaoOrderGoods
+     * @Description:
+     */
+    public void addTaoBaoOrderGoods(TaoBaoOrderGoods goods);
+
+
+    /**
+     * 鏍规嵁璁㈠崟鏇存柊
+     *
+     * @param order
+     */
+    public void updateSelectiveByPrimaryKey(TaoBaoOrder order);
+}

--
Gitblit v1.8.0