From 512a2f0fb09b663b8de19b5313c8bd5899f4f74b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 06 Apr 2021 09:44:06 +0800 Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop --- zq-erp/src/main/java/com/matrix/system/shopXcx/dao/ShopOrderV2Dao.java | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/dao/ShopOrderV2Dao.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/dao/ShopOrderV2Dao.java index bf44438..b49ab03 100644 --- a/zq-erp/src/main/java/com/matrix/system/shopXcx/dao/ShopOrderV2Dao.java +++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/dao/ShopOrderV2Dao.java @@ -2,10 +2,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.matrix.system.shopXcx.bean.ShopOrder; -import com.matrix.system.shopXcx.bean.ShopProduct; import org.apache.ibatis.annotations.Param; - -import java.util.List; /** * @description 订单表 @@ -13,11 +10,11 @@ public interface ShopOrderV2Dao extends BaseMapper<ShopOrder> { /** 统计已收货订单数 */ - int selectReceivedOrderCount(String openId); + int selectReceivedOrderCount(Long userId); /** 统计已收货订单金额 */ - Double countOrderAmount(String openId); + Double countOrderAmount(Long userId); /** 统计是否消费过了指定产品 */ - int countBuyZdcp(@Param("openId") String openId, @Param("productIds")String productIds); + int countBuyZdcp(@Param("userId") Long userId, @Param("productIds")String productIds); } \ No newline at end of file -- Gitblit v1.9.1