From 9671a5baaebe1b3bce04dba485d4e7435e1aed03 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 13 Dec 2023 14:46:28 +0800
Subject: [PATCH] 微信小程序配置
---
src/main/resources/mapper/modules/MallProductBuyRecordMapper.xml | 1 +
src/main/resources/mapper/modules/MallProductSellRecordMapper.xml | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/MallProductBuyRecordMapper.xml b/src/main/resources/mapper/modules/MallProductBuyRecordMapper.xml
index ef09f34..8be10bc 100644
--- a/src/main/resources/mapper/modules/MallProductBuyRecordMapper.xml
+++ b/src/main/resources/mapper/modules/MallProductBuyRecordMapper.xml
@@ -52,6 +52,7 @@
left join mall_product_buy b on b.id = a.buy_id
where b.state = 1
and a.state != 0
+ and a.state != 5
and a.member_id = #{record.memberId}
order by a.CREATED_TIME desc
</select>
diff --git a/src/main/resources/mapper/modules/MallProductSellRecordMapper.xml b/src/main/resources/mapper/modules/MallProductSellRecordMapper.xml
index c2a38f1..abc6c1d 100644
--- a/src/main/resources/mapper/modules/MallProductSellRecordMapper.xml
+++ b/src/main/resources/mapper/modules/MallProductSellRecordMapper.xml
@@ -42,9 +42,10 @@
a.state,
1 as orderType
from mall_product_sell_record a
- left join mall_product_buy b on b.id = a.sell_id
+ left join mall_product_sell b on b.id = a.sell_id
where b.state = 1
and a.state != 0
+ and a.state != 5
and a.member_id = #{record.memberId}
order by a.CREATED_TIME desc
</select>
--
Gitblit v1.9.1