empAddress and fix durationYear
This commit is contained in:
parent
da4eb54a59
commit
ffb5b38936
6 changed files with 274 additions and 7 deletions
|
|
@ -115,7 +115,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
profile.lastUpdateUserId = request.user.sub;
|
||||
profile.lastUpdateFullName = request.user.name;
|
||||
profile.dateRetire = calculateRetireDate(profile.birthDate);
|
||||
profile.dateRetireLaw = calculateRetireDate(profile.birthDate);
|
||||
// profile.dateRetireLaw = calculateRetireDate(profile.birthDate);
|
||||
await this.profileRepo.save(profile);
|
||||
|
||||
return new HttpSuccess();
|
||||
|
|
@ -205,7 +205,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
record.lastUpdateUserId = request.user.sub;
|
||||
record.lastUpdateFullName = request.user.name;
|
||||
record.dateRetire = calculateRetireDate(record.birthDate);
|
||||
record.dateRetireLaw = calculateRetireDate(record.birthDate);
|
||||
// record.dateRetireLaw = calculateRetireDate(record.birthDate);
|
||||
|
||||
await this.profileRepo.save(record);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue