From db9a963069c2f541b8308d799f573c5d49aa24fa Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Mon, 26 Apr 2021 13:20:15 +0800
Subject: [PATCH] 分佣比例计算
---
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