insert into dc_execute_action (emergency_plans_id, device_type, create_time, search_rule, `number`, device_list, execute_config, recover_config ) values ( #{item.emergencyPlansId}, #{item.deviceType}, #{item.createTime}, #{item.searchRule}, #{item.number}, #{item.deviceList}, #{item.executeConfig}, #{item.recoverConfig} ) update dc_execute_action when id=#{item.id} then #{item.emergencyPlansId} when id=#{item.id} then #{item.deviceType} when id=#{item.id} then #{item.updateTime} when id=#{item.id} then #{item.searchRule} when id=#{item.id} then #{item.number} when id=#{item.id} then #{item.deviceList} when id=#{item.id} then #{item.executeConfig} when id=#{item.id} then #{item.recoverConfig} where id in #{item.id} delete from dc_execute_action where emergency_plans_id in #{id} delete from dc_execute_action where id in #{id}