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
|
||||||
? null
|
? null
|
||||||
: profile.current_holders.find((x) => x.orgRevisionId == orgRevisionPublish.id)?.orgChild4;
|
: profile.current_holders.find((x) => x.orgRevisionId == orgRevisionPublish.id)?.orgChild4;
|
||||||
const position = await this.positionRepository.findOne({
|
// const position = await this.positionRepository.findOne({
|
||||||
relations: ["posExecutive"],
|
// relations: ["posExecutive"],
|
||||||
where: {
|
// where: {
|
||||||
posMasterId: posMaster?.id,
|
// posMasterId: posMaster?.id,
|
||||||
},
|
// },
|
||||||
});
|
// });
|
||||||
const _profile: any = {
|
const _profile: any = {
|
||||||
profileId: profile.id,
|
profileId: profile.id,
|
||||||
prefix: profile.prefix,
|
prefix: profile.prefix,
|
||||||
|
|
@ -3299,7 +3299,7 @@ export class ProfileEmployeeController extends Controller {
|
||||||
posTypeName: profile.posType == null ? null : profile.posType.posTypeName,
|
posTypeName: profile.posType == null ? null : profile.posType.posTypeName,
|
||||||
posTypeRank: profile.posType == null ? null : profile.posType.posTypeRank,
|
posTypeRank: profile.posType == null ? null : profile.posType.posTypeRank,
|
||||||
posTypeId: profile.posType == null ? null : profile.posType.id,
|
posTypeId: profile.posType == null ? null : profile.posType.id,
|
||||||
posExecutiveName: "",
|
// posExecutiveName: "",
|
||||||
rootId: root == null ? null : root.id,
|
rootId: root == null ? null : root.id,
|
||||||
root: root == null ? null : root.orgRootName,
|
root: root == null ? null : root.orgRootName,
|
||||||
rootShortName: root == null ? null : root.orgRootShortName,
|
rootShortName: root == null ? null : root.orgRootShortName,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue