From ade7d12e48c1dc3aa578656f528fd28698f0d768 Mon Sep 17 00:00:00 2001
From: "996472796@qq.com" <996472796@qq.com>
Date: Mon, 20 May 2024 16:54:15 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Evpi=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/product/WalletAccountAssociateOrderRecordDao.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dating-agency-mall-server/src/main/resources/mapper/product/WalletAccountAssociateOrderRecordDao.xml b/dating-agency-mall-server/src/main/resources/mapper/product/WalletAccountAssociateOrderRecordDao.xml
index d791a21..bc02657 100644
--- a/dating-agency-mall-server/src/main/resources/mapper/product/WalletAccountAssociateOrderRecordDao.xml
+++ b/dating-agency-mall-server/src/main/resources/mapper/product/WalletAccountAssociateOrderRecordDao.xml
@@ -97,7 +97,7 @@
LEFT JOIN da_product_spec_term as dpst2 on dpst2.is_delete=0 and dpst2.product_spec_id =ps.id and dpst2.`name`=3
LEFT JOIN da_product_spec_term as dpst3 on dpst3.is_delete=0 and dpst3.product_spec_id =ps.id and dpst3.`name`=2
LEFT JOIN da_product_spec_term as dpst4 on dpst4.is_delete=0 and dpst4.product_spec_id =ps.id and dpst4.`name`=4
- WHERE a.is_delete = 0 AND a.status = 1 AND a.start_time <= NOW() AND a.end_time >= NOW()
+ WHERE a.is_delete = 0 AND a.status = 1 AND a.start_time <= NOW() AND a.end_time >= NOW() AND a.display = 0
AND a.id = #{id}
@@ -125,7 +125,7 @@
LEFT JOIN da_product_spec_term as dpst2 on dpst2.is_delete=0 and dpst2.product_spec_id =dps.id and dpst2.`name`=3
LEFT JOIN da_product_spec_term as dpst3 on dpst3.is_delete=0 and dpst3.product_spec_id =dps.id and dpst3.`name`=2
LEFT JOIN da_product_spec_term as dpst4 on dpst4.is_delete=0 and dpst4.product_spec_id =dps.id and dpst4.`name`=4
- where dp.is_delete=0 and dp.`status`=1 and dp.product_type=2
+ where dp.is_delete=0 and dp.`status`=1 and dp.product_type=2 AND dp.display = 0
AND dp.id = #{id}