add pos exe

This commit is contained in:
kittapath 2025-03-14 15:32:17 +07:00
parent 00d0f1f0fb
commit a4ebb83184
2 changed files with 10 additions and 0 deletions

View file

@ -2188,6 +2188,7 @@ export class DevelopmentController extends Controller {
position: x.plannedGoalPositions.map((y) => ({ position: x.plannedGoalPositions.map((y) => ({
id: y.id, id: y.id,
position: y.position, position: y.position,
posExecutive: y.posExecutive,
posTypeId: y.posTypePlannedId, posTypeId: y.posTypePlannedId,
posType: y.posTypePlanned == null ? null : y.posTypePlanned.posTypeName, posType: y.posTypePlanned == null ? null : y.posTypePlanned.posTypeName,
posLevelId: y.posLevelPlannedId, posLevelId: y.posLevelPlannedId,

View file

@ -13,6 +13,13 @@ export class PlannedGoalPosition extends EntityBase {
}) })
position: string; position: string;
@Column({
nullable: true,
comment: "ตำแหน่งทางการบริหาร",
default: null,
})
posExecutive: string;
@Column({ @Column({
nullable: true, nullable: true,
comment: "ประเภทตำแหน่ง", comment: "ประเภทตำแหน่ง",
@ -51,6 +58,8 @@ export class CreatePlannedGoalPosition {
@Column() @Column()
position: string | null; position: string | null;
@Column() @Column()
posExecutive: string | null;
@Column()
posTypePlannedId: string | null; posTypePlannedId: string | null;
@Column() @Column()
posLevelPlannedId: string | null; posLevelPlannedId: string | null;