select id, work_status, pcs_communication_status, ems_communication_status, cluster_voltage, chargeable_capacity, total_charged_capacity, cluster_current, dischargeable_capacity, total_discharged_capacity, soh, average_temperature, insulation_resistance, current_soc, create_by, create_time, update_by, update_time, remark, site_id, device_id from ems_battery_cluster insert into ems_battery_cluster work_status, pcs_communication_status, ems_communication_status, cluster_voltage, chargeable_capacity, total_charged_capacity, cluster_current, dischargeable_capacity, total_discharged_capacity, soh, average_temperature, insulation_resistance, current_soc, create_by, create_time, update_by, update_time, remark, site_id, device_id, #{workStatus}, #{pcsCommunicationStatus}, #{emsCommunicationStatus}, #{clusterVoltage}, #{chargeableCapacity}, #{totalChargedCapacity}, #{clusterCurrent}, #{dischargeableCapacity}, #{totalDischargedCapacity}, #{soh}, #{averageTemperature}, #{insulationResistance}, #{currentSoc}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{siteId}, #{deviceId}, update ems_battery_cluster work_status = #{workStatus}, pcs_communication_status = #{pcsCommunicationStatus}, ems_communication_status = #{emsCommunicationStatus}, cluster_voltage = #{clusterVoltage}, chargeable_capacity = #{chargeableCapacity}, total_charged_capacity = #{totalChargedCapacity}, cluster_current = #{clusterCurrent}, dischargeable_capacity = #{dischargeableCapacity}, total_discharged_capacity = #{totalDischargedCapacity}, soh = #{soh}, average_temperature = #{averageTemperature}, insulation_resistance = #{insulationResistance}, current_soc = #{currentSoc}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, site_id = #{siteId}, device_id = #{deviceId}, where id = #{id} delete from ems_battery_cluster where id = #{id} delete from ems_battery_cluster where id in #{id}