From e9949aa93452fb09afd36c4af23743149dbca6dc Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期六, 30 十一月 2019 10:22:44 +0800
Subject: [PATCH] 优化 查询设备是的sql 错误
---
java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml
index c773d0b..99020d4 100644
--- a/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml
@@ -255,10 +255,10 @@
and t.machine_type_cd=td.status_cd
and td.table_name='machine'
and td.table_columns='machine_type_cd'
- and td.state = td1.status_cd
+ and t.state = td1.status_cd
and td1.table_name='machine'
and td1.table_columns='state'
- and td.location_type_cd = td2.status_cd
+ and t.location_type_cd = td2.status_cd
and td2.table_name='machine'
and td2.table_columns='location_type_cd'
<if test="machineMac !=null and machineMac != ''">
--
Gitblit v1.8.0