select check_point_id, device_sn, device_type from zdy_check_point_device insert into zdy_check_point_device check_point_id, device_sn, device_type, #{checkPointId}, #{deviceSn}, #{deviceType}, update zdy_check_point_device device_sn = #{deviceSn}, device_type = #{deviceType}, where check_point_id = #{checkPointId} delete from zdy_check_point_device where check_point_id = #{checkPointId} delete from zdy_check_point_device where check_point_id in #{checkPointId} delete from zdy_check_point_device where check_point_id = #{zdyCheckPointDevice.checkPointId} and device_type = #{zdyCheckPointDevice.deviceType} and device_sn in #{sn}