update sys_laboratory_container set temp=#{temp},humidity=#{humidity},voc1=#{voc1},flag=#{flag} where id=#{containerId}
insert into sys_laboratory_container(id, laboratory_id, type, container_code, info_code, structure, name, valid_flag, character_left, character_right, create_time, update_time, controller_code)
values (#{id}, #{laboratoryId}, #{type}, #{containerCode}, #{infoCode}, #{structure}, #{name}, 1, #{characterLeft}, #{characterRight}, now(), now(), #{controllerCode})
update sys_laboratory_container set laboratory_id=#{laboratoryId}, type=#{type}, container_code=#{containerCode}, info_code=#{infoCode},
structure=#{structure}, name=#{name}, character_left=#{characterLeft}, character_right=#{characterRight},controller_code=#{controllerCode},
update_time=now()
where id=#{id}
update sys_laboratory_container set valid_flag=0, update_time=now()
where id in
#{item}
update sys_user u
left join sys_laboratory l on l.department = u.department
SET u.update_time = now()
where l.id = #{laboratoryId}
update sys_laboratory_container set laboratory_id=#{laboratoryId}, type=#{type},
info_code=#{infoCode}, structure=#{structure}, name=#{name}, character_left=#{characterLeft}, character_right=#{characterRight},
update_time=#{updateTime}, controller_code = #{controllerCode}, valid_flag = #{validFlag}
where id=#{id} and update_time < #{updateTime}
update sys_laboratory_container set
controller_code=null
where controller_code=#{controllerCode}
update sys_laboratory_container set valid_flag= 0 , update_time = #{updateTime}
where id=#{id} and update_time < #{updateTime}