t.id as id, t.device_id as deviceId, t.ph_value as phValue, t.release_time as releaseTime, t.temperature as temperature t.device_id = #{deviceId} AND t.ph_value = #{phValue} AND t.release_time = #{releaseTime} AND t.temperature = #{temperature} AND insert into t_water_cultivated_device_data device_id, id, ph_value, release_time, temperature, #{deviceId}, #{id}, #{phValue}, #{releaseTime}, #{temperature}, update t_water_cultivated_device_data device_id=#{deviceId}, ph_value=#{phValue}, release_time=#{releaseTime}, temperature=#{temperature}, where id=#{id} update t_water_cultivated_device_data SET is_use = 0 where id=#{id} delete from t_water_cultivated_device_data where id=#{id}