add short name level
This commit is contained in:
parent
2466525e8e
commit
02e1e36a9c
3 changed files with 1696 additions and 2 deletions
|
|
@ -674,7 +674,8 @@ export class OrganizationDotnetController extends Controller {
|
|||
commanderPositionName,
|
||||
commanderId,
|
||||
commanderKeycloak,
|
||||
posLevel: profile.posLevel?.posLevelName ?? null,
|
||||
posLevel:
|
||||
(profile.posType?.posTypeShortName ?? null) + (profile.posLevel?.posLevelName ?? null),
|
||||
posType: profile.posType?.posTypeName ?? null,
|
||||
profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null,
|
||||
profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export class EntityBase {
|
|||
})
|
||||
createdUserId!: String;
|
||||
|
||||
@UpdateDateColumn({ comment: "แก้ไขข้อมูลล่าสุดเมื่อ" })
|
||||
@CreateDateColumn({ comment: "แก้ไขข้อมูลล่าสุดเมื่อ" })
|
||||
lastUpdatedAt!: Date;
|
||||
|
||||
@Column({
|
||||
|
|
|
|||
1693
src/migration/1747134121960-update130520251801.ts
Normal file
1693
src/migration/1747134121960-update130520251801.ts
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue