ฉ
This commit is contained in:
parent
bb79b0a3d0
commit
7f01e34045
3 changed files with 11 additions and 11 deletions
|
|
@ -121,7 +121,7 @@ export class PositionController extends Controller {
|
|||
posExecutiveId: String(posDict.posExecutiveId),
|
||||
posDictExecutiveField: posDict.posDictExecutiveField,
|
||||
posDictArea: posDict.posDictArea,
|
||||
isSpacial: posDict.isSpacial
|
||||
isSpecial: posDict.isSpecial
|
||||
},
|
||||
});
|
||||
if (rowRepeated) {
|
||||
|
|
@ -269,7 +269,7 @@ export class PositionController extends Controller {
|
|||
posExecutiveName: item.posExecutive == null ? null : item.posExecutive.posExecutiveName,
|
||||
positionExecutiveField: item.posDictExecutiveField,
|
||||
positionArea: item.posDictArea,
|
||||
isSpacial: item.isSpacial,
|
||||
isSpecial: item.isSpecial,
|
||||
positionIsSelected: false,
|
||||
};
|
||||
}),
|
||||
|
|
@ -530,7 +530,7 @@ export class PositionController extends Controller {
|
|||
position.posExecutiveId = x.posExecutiveId;
|
||||
position.positionExecutiveField = x.posDictExecutiveField;
|
||||
position.positionArea = x.posDictArea;
|
||||
position.isSpacial = x.isSpacial;
|
||||
position.isSpecial = x.isSpecial;
|
||||
position.positionIsSelected = false;
|
||||
position.posMasterId = posMaster.id;
|
||||
position.createdUserId = request.user.sub;
|
||||
|
|
@ -747,7 +747,7 @@ export class PositionController extends Controller {
|
|||
position.posExecutiveId = x.posExecutiveId;
|
||||
position.positionExecutiveField = x.posDictExecutiveField;
|
||||
position.positionArea = x.posDictArea;
|
||||
position.isSpacial = x.isSpacial;
|
||||
position.isSpecial = x.isSpecial;
|
||||
position.positionIsSelected = false;
|
||||
position.posMasterId = posMaster.id;
|
||||
position.createdUserId = request.user.sub;
|
||||
|
|
@ -798,7 +798,7 @@ export class PositionController extends Controller {
|
|||
positionExecutiveField: position.positionExecutiveField,
|
||||
positionArea: position.positionArea,
|
||||
positionIsSelected: position.positionIsSelected,
|
||||
isSpacial: position.isSpacial,
|
||||
isSpecial: position.isSpecial,
|
||||
})),
|
||||
};
|
||||
return new HttpSuccess(formattedData);
|
||||
|
|
@ -1142,7 +1142,7 @@ export class PositionController extends Controller {
|
|||
positionExecutiveField: position.positionExecutiveField,
|
||||
positionArea: position.positionArea,
|
||||
positionIsSelected: position.positionIsSelected,
|
||||
isSpacial: position.isSpacial,
|
||||
isSpecial: position.isSpecial,
|
||||
})),
|
||||
};
|
||||
}),
|
||||
|
|
@ -2286,7 +2286,7 @@ export class PositionController extends Controller {
|
|||
positionExecutiveField: position.positionExecutiveField,
|
||||
positionArea: position.positionArea,
|
||||
positionIsSelected: position.positionIsSelected,
|
||||
isSpacial: position.isSpacial,
|
||||
isSpecial: position.isSpecial,
|
||||
})),
|
||||
};
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ export class PosDict extends EntityBase {
|
|||
comment: "ฉ",
|
||||
default: false,
|
||||
})
|
||||
isSpacial: boolean;
|
||||
isSpecial: boolean;
|
||||
|
||||
@ManyToOne(() => PosExecutive, (posExecutive) => posExecutive)
|
||||
@JoinColumn({ name: "posExecutiveId" })
|
||||
|
|
@ -100,7 +100,7 @@ export class CreatePosDict {
|
|||
posDictArea: string | null;
|
||||
|
||||
@Column()
|
||||
isSpacial: boolean;
|
||||
isSpecial: boolean;
|
||||
}
|
||||
|
||||
export type UpdatePosDict = Partial<CreatePosDict>;
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ export class Position extends EntityBase {
|
|||
comment: "ฉ",
|
||||
default: false,
|
||||
})
|
||||
isSpacial: boolean;
|
||||
isSpecial: boolean;
|
||||
|
||||
@ManyToOne(() => PosMaster, (posMaster) => posMaster)
|
||||
@JoinColumn({ name: "posMasterId" })
|
||||
|
|
@ -116,7 +116,7 @@ export class CreatePosition {
|
|||
positionArea: string;
|
||||
|
||||
@Column()
|
||||
isSpacial: boolean;
|
||||
isSpecial: boolean;
|
||||
}
|
||||
|
||||
export type UpdatePosition = Partial<CreatePosition>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue