From 62150bdf507e8dbbe8dacf95fbc4a5a389ef5092 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Fri, 02 Feb 2024 15:20:11 +0800
Subject: [PATCH] 预约成功,返回产品ID和倒计时时间秒数

---
 src/main/resources/mapper/modules/MallProductBuyMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallProductBuyMapper.xml b/src/main/resources/mapper/modules/MallProductBuyMapper.xml
index 06dbb9a..c5af12d 100644
--- a/src/main/resources/mapper/modules/MallProductBuyMapper.xml
+++ b/src/main/resources/mapper/modules/MallProductBuyMapper.xml
@@ -45,6 +45,7 @@
         from mall_product_buy a
         left join mall_product_nft b on  b.id = a.product_nft_id
         where a.member_id = #{record.memberId}
+        and a.state = #{record.state}
         order by a.CREATED_TIME desc
     </select>
 

--
Gitblit v1.9.1