|
|
@@ -1,5 +1,6 @@
|
|
|
import { DataSource, Repository } from 'typeorm';
|
|
|
-import { SilverUserProfile, Gender, CertificationStatus, JobSeekingStatus } from './silver-user-profile.entity';
|
|
|
+import { SilverUserProfile } from './silver-user-profile.entity';
|
|
|
+import { Gender, CertificationStatus, JobSeekingStatus } from './silver-user-profile.dto';
|
|
|
import { CreateSilverTalentRequest, UpdateSilverTalentRequest, SearchSilverTalentParams } from './silver-talent.dto';
|
|
|
import debug from 'debug';
|
|
|
|
|
|
@@ -114,7 +115,7 @@ export class SilverTalentService {
|
|
|
relations: ['user'],
|
|
|
select: [
|
|
|
'id', 'userId', 'realName', 'nickname', 'organization', 'age', 'gender',
|
|
|
- 'avatarUrl', 'personalIntro', 'personalSkills', 'personalExperience',
|
|
|
+ 'personalIntro', 'personalSkills', 'personalExperience',
|
|
|
'certificationStatus', 'certificationInfo', 'jobSeekingStatus',
|
|
|
'jobSeekingRequirements', 'totalPoints', 'timeBankHours',
|
|
|
'knowledgeShareCount', 'knowledgeReadCount', 'knowledgeLikeCount',
|
|
|
@@ -137,7 +138,7 @@ export class SilverTalentService {
|
|
|
where: { userId },
|
|
|
select: [
|
|
|
'id', 'userId', 'realName', 'nickname', 'organization', 'age', 'gender',
|
|
|
- 'phone', 'email', 'avatarUrl', 'personalIntro', 'personalSkills',
|
|
|
+ 'phone', 'email', 'personalIntro', 'personalSkills',
|
|
|
'personalExperience', 'certificationStatus', 'certificationInfo',
|
|
|
'jobSeekingStatus', 'jobSeekingRequirements', 'totalPoints',
|
|
|
'resumeCount', 'applicationCount', 'timeBankHours',
|