From 20d1a38a0f8049873f1fbbaef96c22e971ea9d77 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 17 七月 2019 15:50:09 +0800 Subject: [PATCH] 搜索词 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoWeiQuanOrderMapper.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 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 9db2e1b..208aab7 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,6 +1,7 @@ package com.yeshi.fanli.dao.mybatis.taobao; import java.util.List; +import java.util.Map; import org.apache.ibatis.annotations.Param; @@ -24,7 +25,34 @@ 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 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); + + /** + * 缁熻鎬讳釜鏁� + * + * @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); + } \ No newline at end of file -- Gitblit v1.8.0