|
@@ -14,6 +14,8 @@ import { Admin } from '../../entity/system/admin.entity';
|
|
|
import { Design } from '../../entity/platform/design.entity';
|
|
|
import { Incubator } from '../../entity/users/incubator.entity';
|
|
|
import { Sector } from '../../entity/platform/sector.entity';
|
|
|
+import { Project } from '../../entity/platform/project.entity';
|
|
|
+import { Achievement } from '../../entity/platform/achievement.entity';
|
|
|
|
|
|
@Provide()
|
|
|
export class ContactApplyService extends BaseServiceV2 {
|
|
@@ -28,9 +30,16 @@ export class ContactApplyService extends BaseServiceV2 {
|
|
|
|
|
|
@InjectEntityModel(Demand)
|
|
|
demand: Repository<Demand>;
|
|
|
-
|
|
|
@InjectEntityModel(Supply)
|
|
|
supply: Repository<Supply>;
|
|
|
+ @InjectEntityModel(Project)
|
|
|
+ project: Repository<Project>;
|
|
|
+ @InjectEntityModel(Achievement)
|
|
|
+ achievement: Repository<Achievement>;
|
|
|
+ @InjectEntityModel(Incubator)
|
|
|
+ incubator: Repository<Incubator>;
|
|
|
+ @InjectEntityModel(Sector)
|
|
|
+ sector: Repository<Sector>;
|
|
|
|
|
|
@InjectEntityModel(Expert)
|
|
|
expert: Repository<Expert>;
|
|
@@ -39,11 +48,7 @@ export class ContactApplyService extends BaseServiceV2 {
|
|
|
user: Repository<User>;
|
|
|
@InjectEntityModel(Admin)
|
|
|
admin: Repository<Admin>;
|
|
|
- @InjectEntityModel(Incubator)
|
|
|
- incubator: Repository<Incubator>;
|
|
|
-
|
|
|
- @InjectEntityModel(Sector)
|
|
|
- sector: Repository<Sector>;
|
|
|
+
|
|
|
|
|
|
/**不需要对象用户和匹配度计算数据类型:孵化基地,产业集群 */
|
|
|
skipCheckList = ['incubator', 'sector'];
|