select id, org_id, org_name, device_name, asset_type, device_type, device_brand, check_time, maintenance_term, create_time, update_time, create_by, update_by, del_flag, host_id, channel from sys_device insert into sys_device id, org_id, org_name, device_name, asset_type, device_type, device_brand, check_time, maintenance_term, create_time, update_time, create_by, update_by, del_flag, host_id, channel, #{id}, #{orgId}, #{orgName}, #{deviceName}, #{assetType}, #{deviceType}, #{deviceBrand}, #{checkTime}, #{maintenanceTerm}, #{createTime}, #{updateTime}, #{createBy}, #{updateBy}, #{delFlag}, #{hostId}, #{channel}, update sys_device org_id = #{orgId}, org_name = #{orgName}, device_name = #{deviceName}, asset_type = #{assetType}, device_type = #{deviceType}, device_brand = #{deviceBrand}, check_time = #{checkTime}, maintenance_term = #{maintenanceTerm}, create_time = #{createTime}, update_time = #{updateTime}, create_by = #{createBy}, update_by = #{updateBy}, del_flag = #{delFlag}, host_id = #{hostId}, channel = #{channel}, where id = #{id} delete from sys_device where id = #{id} delete from sys_device where id in #{id}