From 384b6f030678e8525829e4892f7d81d1c6430dec Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 04 六月 2020 21:28:09 +0800
Subject: [PATCH] 加入位置

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

diff --git a/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml
index a86d692..ec893b9 100644
--- a/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/hardwareAdapation/MachineServiceDaoImplMapper.xml
@@ -146,7 +146,7 @@
         machineTypeCd,t.machine_ip,t.machine_ip machineIp,td.name machineTypeCdName,
         t.state,t.location_type_cd locationTypeCd,t.location_obj_id locationObjId,
         t.location_type_cd,t.location_obj_id,
-        td1.name stateName,td2.name locationTypeName,t.create_time createTime,t.direction,td3.name directionName
+        td1.name stateName,t.create_time createTime,t.direction,td3.name directionName
         from machine t,t_dict td,t_dict td1,t_dict td2,t_dict td3
         where 1 =1
         and t.machine_type_cd=td.status_cd
@@ -155,9 +155,6 @@
         and t.state = td1.status_cd
         and td1.table_name='machine'
         and td1.table_columns='state'
-        and t.location_type_cd = td2.status_cd
-        and td2.table_name='machine'
-        and td2.table_columns='location_type_cd'
         and t.direction = td3.status_cd
         and td3.table_name='machine'
         and td3.table_columns='direction'

--
Gitblit v1.8.0