fix bug
This commit is contained in:
parent
d9f52301d4
commit
54a743532b
1 changed files with 7 additions and 7 deletions
|
|
@ -3275,12 +3275,12 @@ export class ProfileEmployeeController extends Controller {
|
|||
null
|
||||
? null
|
||||
: profile.current_holders.find((x) => x.orgRevisionId == orgRevisionPublish.id)?.orgChild4;
|
||||
const position = await this.positionRepository.findOne({
|
||||
relations: ["posExecutive"],
|
||||
where: {
|
||||
posMasterId: posMaster?.id,
|
||||
},
|
||||
});
|
||||
// const position = await this.positionRepository.findOne({
|
||||
// relations: ["posExecutive"],
|
||||
// where: {
|
||||
// posMasterId: posMaster?.id,
|
||||
// },
|
||||
// });
|
||||
const _profile: any = {
|
||||
profileId: profile.id,
|
||||
prefix: profile.prefix,
|
||||
|
|
@ -3299,7 +3299,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
posTypeName: profile.posType == null ? null : profile.posType.posTypeName,
|
||||
posTypeRank: profile.posType == null ? null : profile.posType.posTypeRank,
|
||||
posTypeId: profile.posType == null ? null : profile.posType.id,
|
||||
posExecutiveName: "",
|
||||
// posExecutiveName: "",
|
||||
rootId: root == null ? null : root.id,
|
||||
root: root == null ? null : root.orgRootName,
|
||||
rootShortName: root == null ? null : root.orgRootShortName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue