From 72832ec2720d2bd5970be5afc612551dd78e13d3 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 28 一月 2020 11:41:14 +0800
Subject: [PATCH] 优化sql 错误

---
 java110-db/src/main/resources/mapper/hardwareAdapation/CarInoutServiceDaoImplMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/hardwareAdapation/CarInoutServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/hardwareAdapation/CarInoutServiceDaoImplMapper.xml
index 309177a..ad65ceb 100644
--- a/java110-db/src/main/resources/mapper/hardwareAdapation/CarInoutServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/hardwareAdapation/CarInoutServiceDaoImplMapper.xml
@@ -88,8 +88,8 @@
         from car_inout t,t_dict td1
         where 1 =1
         and t.state = td1.status_cd
-        and a.table_name = 'car_inout'
-        and a.table_columns = 'state'
+        and td1.table_name = 'car_inout'
+        and td1.table_columns = 'state'
         <if test="inTime !=null ">
             and t.in_time= #{inTime}
         </if>
@@ -165,8 +165,8 @@
         from car_inout t,t_dict td1
         where 1 =1
         and t.state = td1.status_cd
-        and a.table_name = 'car_inout'
-        and a.table_columns = 'state'
+        and td1.table_name = 'car_inout'
+        and td1.table_columns = 'state'
         <if test="inTime !=null ">
             and t.in_time= #{inTime}
         </if>

--
Gitblit v1.8.0