select apply_software_id, apply_id, resource_apply_type, resource_software_version, software_cores, software_storage_size, software_storage_unit, software_memory, software_node, mirror_parent, mirror_version, mirror_num, sort, create_at, update_at, del_flag from cs_res_apply_software_info insert into cs_res_apply_software_info apply_software_id, apply_id, resource_apply_type, resource_software_version, software_cores, software_storage_size, software_storage_unit, software_memory, software_node, mirror_parent, mirror_version, mirror_num, sort, create_at, update_at, del_flag, #{applySoftwareId}, #{applyId}, #{resourceApplyType}, #{resourceSoftwareVersion}, #{softwareCores}, #{softwareStorageSize}, #{softwareStorageUnit}, #{softwareMemory}, #{softwareNode}, #{mirrorParent}, #{mirrorVersion}, #{mirrorNum}, #{sort}, #{createAt}, #{updateAt}, #{delFlag}, update cs_res_apply_software_info apply_id = #{applyId}, resource_apply_type = #{resourceApplyType}, resource_software_version = #{resourceSoftwareVersion}, software_cores = #{softwareCores}, software_storage_size = #{softwareStorageSize}, software_storage_unit = #{softwareStorageUnit}, software_memory = #{softwareMemory}, software_node = #{softwareNode}, mirror_parent = #{mirrorParent}, mirror_version = #{mirrorVersion}, mirror_num = #{mirrorNum}, sort = #{sort}, create_at = #{createAt}, update_at = #{updateAt}, del_flag = #{delFlag}, where apply_software_id = #{applySoftwareId} update cs_res_apply_software_info set del_flag = '1' where apply_software_id = #{applySoftwareId} update cs_res_apply_software_info set del_flag = '1' where apply_software_id in #{applySoftwareId} update cs_res_apply_software_info set del_flag = '1' where apply_id = #{applyId} and del_flag = '0'