From 79117dcd635c8e3bd1469ab386b0253a9eae01a8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 23 一月 2021 14:55:37 +0800
Subject: [PATCH] 加入保存属性
---
java110-db/src/main/resources/mapper/common/MachineServiceDaoImplMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/common/MachineServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/MachineServiceDaoImplMapper.xml
index 40134c7..a62b8b2 100644
--- a/java110-db/src/main/resources/mapper/common/MachineServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/MachineServiceDaoImplMapper.xml
@@ -145,7 +145,7 @@
bId,t.machine_name,t.machine_name machineName,t.machine_type_cd,t.machine_type_cd
machineTypeCd,t.machine_ip,t.machine_ip machineIp,td.name machineTypeCdName,
t.state,c.location_id locationTypeCd, c.location_name locationTypeName, t.location_obj_id locationObjId,
- t.location_type_cd,t.location_obj_id,t.heartbeat_time,t.heartbeat_time heartbeatTime
+ t.location_type_cd,t.location_obj_id,t.heartbeat_time,t.heartbeat_time heartbeatTime,
td1.name stateName,t.create_time createTime,t.direction,td3.name directionName
from machine t
left join t_dict td on t.machine_type_cd=td.status_cd and td.table_name='machine' and td.table_columns='machine_type_cd'
@@ -254,7 +254,7 @@
<if test="direction !=null and direction != ''">
, t.direction = #{direction}
</if>
- <if test="heartbeatTime !=null and heartbeatTime != ''">
+ <if test="heartbeatTime !=null ">
, t.heartbeat_time = #{heartbeatTime}
</if>
where 1=1
--
Gitblit v1.8.0