แก้บันทึกผลประวัติตำแหน่ง
This commit is contained in:
parent
750082e354
commit
34ebeac747
2 changed files with 81 additions and 66 deletions
|
|
@ -34,9 +34,9 @@ export class MyCustomLogger implements Logger {
|
||||||
|
|
||||||
export const AppDataSource = new DataSource({
|
export const AppDataSource = new DataSource({
|
||||||
type: "mysql",
|
type: "mysql",
|
||||||
extra: {
|
// extra: {
|
||||||
timezone: "Asia/Bangkok", // Set to Bangkok timezone
|
// timezone: "Asia/Bangkok", // Set to Bangkok timezone
|
||||||
},
|
// },
|
||||||
database: process.env.DB_NAME,
|
database: process.env.DB_NAME,
|
||||||
host: process.env.DB_HOST,
|
host: process.env.DB_HOST,
|
||||||
port: +(process.env.DB_PORT || 3306),
|
port: +(process.env.DB_PORT || 3306),
|
||||||
|
|
|
||||||
|
|
@ -257,107 +257,122 @@ export class ProfileSalary extends EntityBase {
|
||||||
|
|
||||||
export class CreateProfileSalary {
|
export class CreateProfileSalary {
|
||||||
profileId: string | null;
|
profileId: string | null;
|
||||||
|
commandCode?: string | null;
|
||||||
|
commandNo?: string | null;
|
||||||
|
commandYear?: number | null;
|
||||||
commandDateAffect?: Date | null;
|
commandDateAffect?: Date | null;
|
||||||
commandDateSign?: Date | null;
|
commandDateSign?: Date | null;
|
||||||
|
posNoAbb: string | null;
|
||||||
|
posNo: string | null;
|
||||||
|
positionName: string | null;
|
||||||
|
positionType: string | null;
|
||||||
|
positionLevel: string | null;
|
||||||
|
positionLine?: string | null;
|
||||||
|
positionPathSide?: string | null;
|
||||||
|
positionExecutive: string | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
amountSpecial?: Double | null;
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
posNo: string | null;
|
orgRootName?: string | null;
|
||||||
posNoAbb: string | null;
|
orgChild1Name?: string | null;
|
||||||
positionName: string | null;
|
orgChild2Name?: string | null;
|
||||||
positionExecutive: string | null;
|
orgChild3Name?: string | null;
|
||||||
positionType: string | null;
|
orgChild4Name?: string | null;
|
||||||
positionLevel: string | null;
|
|
||||||
commandId?: string | null;
|
|
||||||
remark: string | null;
|
remark: string | null;
|
||||||
|
commandId?: string | null;
|
||||||
isGovernment?: boolean | null;
|
isGovernment?: boolean | null;
|
||||||
orgRoot?: string | null;
|
|
||||||
orgChild1?: string | null;
|
|
||||||
orgChild2?: string | null;
|
|
||||||
orgChild3?: string | null;
|
|
||||||
orgChild4?: string | null;
|
|
||||||
positionCee?: string | null;
|
positionCee?: string | null;
|
||||||
commandCode?: string | null;
|
|
||||||
commandName?: string | null;
|
commandName?: string | null;
|
||||||
commandNo?: string | null;
|
|
||||||
commandYear?: number | null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileSalaryEmployee {
|
export class CreateProfileSalaryEmployee {
|
||||||
profileEmployeeId: string | null;
|
profileEmployeeId: string | null;
|
||||||
|
commandCode?: string | null;
|
||||||
|
commandNo?: string | null;
|
||||||
|
commandYear?: number | null;
|
||||||
commandDateAffect?: Date | null;
|
commandDateAffect?: Date | null;
|
||||||
commandDateSign?: Date | null;
|
commandDateSign?: Date | null;
|
||||||
amount?: Double | null;
|
|
||||||
amountSpecial?: Double | null;
|
|
||||||
commandId?: string | null;
|
|
||||||
positionSalaryAmount?: Double | null;
|
|
||||||
mouthSalaryAmount?: Double | null;
|
|
||||||
posNo: string | null;
|
|
||||||
posNoAbb: string | null;
|
posNoAbb: string | null;
|
||||||
|
posNo: string | null;
|
||||||
positionName: string | null;
|
positionName: string | null;
|
||||||
positionType: string | null;
|
positionType: string | null;
|
||||||
positionLevel: string | null;
|
positionLevel: string | null;
|
||||||
|
positionLine?: string | null;
|
||||||
|
positionPathSide?: string | null;
|
||||||
|
positionExecutive: string | null;
|
||||||
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
|
positionSalaryAmount?: Double | null;
|
||||||
|
mouthSalaryAmount?: Double | null;
|
||||||
|
orgRootName?: string | null;
|
||||||
|
orgChild1Name?: string | null;
|
||||||
|
orgChild2Name?: string | null;
|
||||||
|
orgChild3Name?: string | null;
|
||||||
|
orgChild4Name?: string | null;
|
||||||
remark: string | null;
|
remark: string | null;
|
||||||
orgRoot?: string | null;
|
commandId?: string | null;
|
||||||
orgChild1?: string | null;
|
isGovernment?: boolean | null;
|
||||||
orgChild2?: string | null;
|
|
||||||
orgChild3?: string | null;
|
|
||||||
orgChild4?: string | null;
|
|
||||||
positionCee?: string | null;
|
positionCee?: string | null;
|
||||||
commandCode?: string | null;
|
|
||||||
commandName?: string | null;
|
commandName?: string | null;
|
||||||
commandNo?: string | null;
|
|
||||||
commandYear?: number | null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class UpdateProfileSalaryEmployee {
|
export class UpdateProfileSalaryEmployee {
|
||||||
|
commandCode?: string | null;
|
||||||
|
commandNo?: string | null;
|
||||||
|
commandYear?: number | null;
|
||||||
commandDateAffect?: Date | null;
|
commandDateAffect?: Date | null;
|
||||||
commandDateSign?: Date | null;
|
commandDateSign?: Date | null;
|
||||||
amount?: Double | null;
|
|
||||||
amountSpecial?: Double | null;
|
|
||||||
positionSalaryAmount?: Double | null;
|
|
||||||
mouthSalaryAmount?: Double | null;
|
|
||||||
posNo: string | null;
|
|
||||||
posNoAbb: string | null;
|
posNoAbb: string | null;
|
||||||
|
posNo: string | null;
|
||||||
positionName: string | null;
|
positionName: string | null;
|
||||||
positionType: string | null;
|
positionType: string | null;
|
||||||
positionLevel: string | null;
|
positionLevel: string | null;
|
||||||
remark: string | null;
|
positionLine?: string | null;
|
||||||
orgRoot?: string | null;
|
positionPathSide?: string | null;
|
||||||
orgChild1?: string | null;
|
positionExecutive: string | null;
|
||||||
orgChild2?: string | null;
|
|
||||||
orgChild3?: string | null;
|
|
||||||
orgChild4?: string | null;
|
|
||||||
positionCee?: string | null;
|
|
||||||
commandCode?: string | null;
|
|
||||||
commandName?: string | null;
|
|
||||||
commandNo?: string | null;
|
|
||||||
commandYear?: number | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export type UpdateProfileSalary = {
|
|
||||||
commandDateAffect?: Date | null;
|
|
||||||
commandDateSign?: Date | null;
|
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
amountSpecial?: Double | null;
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
posNo?: string | null;
|
orgRootName?: string | null;
|
||||||
posNoAbb: string | null;
|
orgChild1Name?: string | null;
|
||||||
positionName: string | null;
|
orgChild2Name?: string | null;
|
||||||
positionExecutive?: string | null;
|
orgChild3Name?: string | null;
|
||||||
positionType?: string | null;
|
orgChild4Name?: string | null;
|
||||||
positionLevel?: string | null;
|
remark: string | null;
|
||||||
remark?: string | null;
|
commandId?: string | null;
|
||||||
orgRoot?: string | null;
|
isGovernment?: boolean | null;
|
||||||
orgChild1?: string | null;
|
|
||||||
orgChild2?: string | null;
|
|
||||||
orgChild3?: string | null;
|
|
||||||
orgChild4?: string | null;
|
|
||||||
positionCee?: string | null;
|
positionCee?: string | null;
|
||||||
commandCode?: string | null;
|
|
||||||
commandName?: string | null;
|
commandName?: string | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export type UpdateProfileSalary = {
|
||||||
|
commandCode?: string | null;
|
||||||
commandNo?: string | null;
|
commandNo?: string | null;
|
||||||
commandYear?: number | null;
|
commandYear?: number | null;
|
||||||
|
commandDateAffect?: Date | null;
|
||||||
|
commandDateSign?: Date | null;
|
||||||
|
posNoAbb: string | null;
|
||||||
|
posNo: string | null;
|
||||||
|
positionName: string | null;
|
||||||
|
positionType: string | null;
|
||||||
|
positionLevel: string | null;
|
||||||
|
positionLine?: string | null;
|
||||||
|
positionPathSide?: string | null;
|
||||||
|
positionExecutive: string | null;
|
||||||
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
|
positionSalaryAmount?: Double | null;
|
||||||
|
mouthSalaryAmount?: Double | null;
|
||||||
|
orgRootName?: string | null;
|
||||||
|
orgChild1Name?: string | null;
|
||||||
|
orgChild2Name?: string | null;
|
||||||
|
orgChild3Name?: string | null;
|
||||||
|
orgChild4Name?: string | null;
|
||||||
|
remark: string | null;
|
||||||
|
commandId?: string | null;
|
||||||
|
isGovernment?: boolean | null;
|
||||||
|
positionCee?: string | null;
|
||||||
|
commandName?: string | null;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue