Browse Source

排了下顺序,不重要

lrf 7 months ago
parent
commit
de877df16e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/service/initData/dataDeal.service.ts

+ 4 - 4
src/service/initData/dataDeal.service.ts

@@ -69,13 +69,13 @@ export class DataDealService {
   /**修正导入的数据,主要是内容变成object的数据,把richText取出来拼一起 */
   async correctImportData() {
     const config = [
-      { model: this.Demand, entity: Demand, fields: ['field', 'company', 'brief', 'contacts', 'year', 'industry', 'company', 'tec_name', 'company_brief', 'question', 'month', 'tel'] },
       { model: this.Achievement, entity: Achievement, fields: ['field', 'name', 'brief', 'source', 'person', 'tel'] },
-      { model: this.Expert, entity: Expert, fields: ['industry_type', 'industry', 'work_type', 'name', 'work', 'title'] },
       { model: this.Company, entity: Company, fields: ['name', 'products', 'type', 'person'] },
-      { model: this.Supply, entity: Supply, fields: ['industry', 'field', 'name', 'brief', 'source'] },
-      { model: this.Project, entity: Project, fields: ['name', 'brief', 'main', 'progress', 'track_unit', 'source'] },
+      { model: this.Demand, entity: Demand, fields: ['field', 'company', 'brief', 'contacts', 'year', 'industry', 'company', 'tec_name', 'company_brief', 'question', 'month', 'tel'] },
+      { model: this.Expert, entity: Expert, fields: ['industry_type', 'industry', 'work_type', 'name', 'work', 'title'] },
       { model: this.Match, entity: Match, fields: ['name', 'address'] },
+      { model: this.Project, entity: Project, fields: ['name', 'brief', 'main', 'progress', 'track_unit', 'source'] },
+      { model: this.Supply, entity: Supply, fields: ['industry', 'field', 'name', 'brief', 'source'] },
     ];
     const limit = 50;
     for (const c of config) {