api รอบย้ายสับเปลี่ยนตำแหน่ง
This commit is contained in:
parent
8145722355
commit
c1602a5512
2 changed files with 114 additions and 5 deletions
|
|
@ -535,6 +535,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
profile.dateRetire = calculateRetireDate(profile.birthDate);
|
||||
profile.dateRetireLaw = calculateRetireLaw(profile.birthDate);
|
||||
profile.citizenId = Extension.CheckCitizen(profile.citizenId);
|
||||
profile.statusTemp = profile.employeeClass.toLocaleUpperCase() == "TEMP" ? "WAITTING" : "";
|
||||
profile.employeeClass = profile.employeeClass.toLocaleUpperCase();
|
||||
await this.profileRepo.save(profile);
|
||||
return new HttpSuccess();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue