From 01a5a369f05d4c197aa02af11476a083a01efba2 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期日, 11 十二月 2022 18:05:27 +0800
Subject: [PATCH] 加入我的预约订单功能

---
 java110-db/src/main/resources/mapper/store/ReserveGoodsOrderTimeV1ServiceDaoImplMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/store/ReserveGoodsOrderTimeV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/store/ReserveGoodsOrderTimeV1ServiceDaoImplMapper.xml
index 3ef5db4..aaf5537 100644
--- a/java110-db/src/main/resources/mapper/store/ReserveGoodsOrderTimeV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/store/ReserveGoodsOrderTimeV1ServiceDaoImplMapper.xml
@@ -24,7 +24,7 @@
         from reserve_goods_order_time t
         left join reserve_goods_order rgo on t.order_id = rgo.order_id and rgo.status_cd='0'
         left join reserve_goods rg on t.goods_id = rg.goods_id and rg.status_cd = '0'
-        left join t_dict td on td.table_name = 'reserve_goods_order' and td.table_columns = 'state'
+        left join t_dict td on td.table_name = 'reserve_goods_order' and td.table_columns = 'state' and rgo.state = td.status_cd
         where 1 =1
         <if test="appointmentTime !=null and appointmentTime != ''">
             and rgo.appointment_time = #{appointmentTime}

--
Gitblit v1.8.0