From a1159976975857e0dfb48a45a9a848693bc0d262 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 20 Jul 2023 14:33:08 +0800
Subject: [PATCH] 支付返利,微信余额支付会有返利。发卷,赠送积分逻辑
---
src/main/java/cc/mrbird/febs/mall/mapper/MallOrderItemMapper.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/mapper/MallOrderItemMapper.java b/src/main/java/cc/mrbird/febs/mall/mapper/MallOrderItemMapper.java
index eb07282..babed24 100644
--- a/src/main/java/cc/mrbird/febs/mall/mapper/MallOrderItemMapper.java
+++ b/src/main/java/cc/mrbird/febs/mall/mapper/MallOrderItemMapper.java
@@ -8,5 +8,13 @@
public interface MallOrderItemMapper extends BaseMapper<MallOrderItem> {
- List<MallOrderItem> selectItemByGoodsIdUnCancel(@Param("goodsId") Long goodsId);
+ List<MallOrderItem> selectItemByGoodsIdUnCancel(@Param("goodsId") Long goodsId, @Param("memberId") Long memberId);
+
+ List<MallOrderItem> selectItemBySkuIdUnCancel(@Param("skuId") Long skuId, @Param("memberId") Long memberId);
+
+ List<MallOrderItem> selectListByNotInStateAndOrderId(@Param("state")Integer i, @Param("orderId")Long orderId);
+
+ void updateStateByOrderId(@Param("state")Integer i, @Param("orderId")Long id);
+
+ List<MallOrderItem> selectListByOrderId(@Param("orderId")Long id);
}
--
Gitblit v1.9.1