From e423d56d730db1baed24f3f7dbbc4141038776b6 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Fri, 18 Jun 2021 22:12:03 +0800
Subject: [PATCH] 修复每日业绩bug和优化赠送业绩计算方式
---
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