From 1e9d66afda722a8ace7c5a21c9c0bfa0f14989c4 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 24 九月 2021 15:23:27 +0800 Subject: [PATCH] 热门搜索采用大淘客的搜索排行 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/UserOrderWeiQuanRecordMapper.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/UserOrderWeiQuanRecordMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/UserOrderWeiQuanRecordMapper.java index 2e63768..81183d6 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/UserOrderWeiQuanRecordMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/UserOrderWeiQuanRecordMapper.java @@ -1,5 +1,7 @@ package com.yeshi.fanli.dao.mybatis.order; +import java.math.BigDecimal; + import org.apache.ibatis.annotations.Param; import com.yeshi.fanli.dao.BaseMapper; @@ -15,5 +17,21 @@ * @return */ public UserOrderWeiQuanRecord selectByOrderInfoAndUid(@Param("uid") Long uid,@Param("tradeId") String tradeId,@Param("sourceType") int sourceType); - + + + /** + * 缁熻缁存潈璁㈠崟鏁伴噺-鏍规嵁鏃ユ湡 + * @param preDay + * @return + */ + Integer countWeiQaunOrderNumberByDate(@Param("preDay") String preDay); + + + /** + * 缁熻缁存潈璁㈠崟閲戦-鏍规嵁鏃ユ湡 + * @param preDay + * @return + */ + BigDecimal countWeiQaunOrderMoneyByDate(@Param("preDay") String preDay); + } \ No newline at end of file -- Gitblit v1.8.0