diff --git a/src/controllers/SalaryPeriodEmployeeController.ts b/src/controllers/SalaryPeriodEmployeeController.ts index 1d2174c..985ecd4 100644 --- a/src/controllers/SalaryPeriodEmployeeController.ts +++ b/src/controllers/SalaryPeriodEmployeeController.ts @@ -565,8 +565,8 @@ export class SalaryPeriodEmployeeController extends Controller { // if (!salarys) { // throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบระดับตำแหน่ง"); // } - // salaryProfile.type = body.type; - // salaryProfile.isReserve = body.isReserve; + salaryProfile.type = body.type; + salaryProfile.isReserve = body.isReserve; // let type = salaryProfile.type; // //SalaryRank // let salaryRanks: any = null; diff --git a/src/entities/SalaryProfileEmployee.ts b/src/entities/SalaryProfileEmployee.ts index 797840f..cf35700 100644 --- a/src/entities/SalaryProfileEmployee.ts +++ b/src/entities/SalaryProfileEmployee.ts @@ -341,10 +341,13 @@ export class CreateSalaryProfileEmployee { position: string; @Column() - posType: string; + posType: string | null; @Column() - posLevel: string; + posLevel: string | null; + + @Column() + salaryLevel: number | null; // @Column() // posExecutive: string | null;