From 43404970b3fad0060ce3edec36f67d662948ebcb Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: Tue, 01 Mar 2022 17:42:10 +0800
Subject: [PATCH] 温湿度修改0
---
src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml b/src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml
index 7cab815..ef9df27 100644
--- a/src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml
+++ b/src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml
@@ -90,18 +90,10 @@
<update id="updateSysWarehouse" parameterType="com.nanometer.smartlab.entity.SysWarehouse">
update sys_warehouse set type=#{type}, name=#{name}, info_code=#{infoCode}, bar_code=#{barCode}, location1=#{location1}, location2=#{location2},
update_time=now(),department=#{department}
- <if test="temperatureMax != null and temperatureMax != ''">
,temperature_max = #{temperatureMax}
- </if>
- <if test="temperatureMin != null and temperatureMin != ''">
,temperature_min = #{temperatureMin}
- </if>
- <if test="humidityMax != null and humidityMax != ''">
,humidity_max = #{humidityMax}
- </if>
- <if test="humidityMin != null and humidityMin != ''">
,humidity_min = #{humidityMin}
- </if>
where id=#{id}
</update>
--
Gitblit v1.9.2