lyfO_o
2022-03-01 43404970b3fad0060ce3edec36f67d662948ebcb
温湿度修改0
已修改1个文件
8 ■■■■■ 文件已修改
src/main/java/com/nanometer/smartlab/dao/SysWarehouseDao.xml 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>