From 51a4ff5d777028d52a19c314a99f796334cb7b51 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 23 十一月 2019 18:30:01 +0800
Subject: [PATCH] 配置文件修改

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoWeiQuanOrderMapper.java |   56 ++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 46 insertions(+), 10 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoWeiQuanOrderMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoWeiQuanOrderMapper.java
index 6a93049..8d6a833 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoWeiQuanOrderMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoWeiQuanOrderMapper.java
@@ -1,10 +1,10 @@
 package com.yeshi.fanli.dao.mybatis.taobao;
 
 import java.util.List;
-import java.util.Map;
 
 import org.apache.ibatis.annotations.Param;
 
+import com.yeshi.fanli.dto.ChartTDO;
 import com.yeshi.fanli.entity.taobao.TaoBaoWeiQuanOrder;
 
 public interface TaoBaoWeiQuanOrderMapper {
@@ -25,31 +25,67 @@
 	TaoBaoWeiQuanOrder selectByOrderIdAndOrderItemId(@Param("orderId") String orderId,
 			@Param("orderItemId") String orderItemId);
 
+	TaoBaoWeiQuanOrder selectByOrderItemId(String orderItemId);
+
 	// 鎸夎鍗曞彿鍜岀淮鏉冪姸鎬佹煡璇�
 	List<TaoBaoWeiQuanOrder> selectListByOrderIdAndState(@Param("orderId") String orderId,
 			@Param("state") String state);
-	
-	
+
 	/**
 	 * 缁熻鎬婚噾棰�
-	 * @param dateType 
+	 * 
+	 * @param dateType
 	 * @param years
 	 * @param startTime
 	 * @param endTime
 	 * @return
 	 */
-	List<Map<String, Object>> countWeiQaunOrderNumber(@Param("dateType")Integer dateType, @Param("year") String year, 
-			@Param("startTime")String startTime, @Param("endTime")String endTime);
-	
+	List<ChartTDO> countWeiQaunOrderNumber(@Param("dateType") Integer dateType, @Param("year") String year,
+			@Param("startTime") String startTime, @Param("endTime") String endTime);
+
 	/**
 	 * 缁熻鎬讳釜鏁�
-	 * @param dateType 
+	 * 
+	 * @param dateType
 	 * @param years
 	 * @param startTime
 	 * @param endTime
 	 * @return
 	 */
-	List<Map<String, Object>> countWeiQaunOrderMoney(@Param("dateType")Integer dateType, @Param("year") String year, 
-			@Param("startTime")String startTime, @Param("endTime")String endTime);
+	List<ChartTDO> countWeiQaunOrderMoney(@Param("dateType") Integer dateType, @Param("year") String year,
+			@Param("startTime") String startTime, @Param("endTime") String endTime);
+
+	/**
+	 * 鏍规嵁鐘舵�佹绱�
+	 * 
+	 * @param state
+	 * @param start
+	 * @param count
+	 * @return
+	 */
+	List<TaoBaoWeiQuanOrder> listByState(@Param("state") String state, @Param("start") long start,
+			@Param("count") int count);
+
+	/**
+	 * 鏍规嵁鐘舵�佺粺璁℃暟閲�
+	 * 
+	 * @param state
+	 * @return
+	 */
+	long countByState(@Param("state") String state);
 	
+	
+	/**
+	 * 鏍规嵁璁㈠崟鍙锋绱�
+	 * @param orderId
+	 * @return
+	 */
+	List<TaoBaoWeiQuanOrder> listByOrderId(String orderId);
+	
+	/**
+	 * 鏍规嵁瀛愯鍗曞彿妫�绱�
+	 * @param tradeId
+	 * @return
+	 */
+	TaoBaoWeiQuanOrder selectByOrderItem(String tradeId);
 }
\ No newline at end of file

--
Gitblit v1.8.0