fix isDelete = false check by isActive = true
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m3s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m3s
This commit is contained in:
parent
f7e8729e60
commit
58dd4cfd60
1 changed files with 2 additions and 0 deletions
|
|
@ -4293,6 +4293,7 @@ export class CommandController extends Controller {
|
|||
profile.amount = item.amount ?? _null;
|
||||
profile.amountSpecial = item.amountSpecial ?? _null;
|
||||
profile.isActive = true;
|
||||
profile.isDelete = false;
|
||||
}
|
||||
await this.profileRepository.save(profile);
|
||||
|
||||
|
|
@ -6646,6 +6647,7 @@ export class CommandController extends Controller {
|
|||
profile.isLeave = item.bodyProfile.isLeave;
|
||||
profile.isRetirement = false;
|
||||
profile.isActive = true;
|
||||
profile.isDelete = false;
|
||||
profile.dateLeave = _null;
|
||||
profile.dateRetire = _dateRetire;
|
||||
profile.dateRetireLaw = _dateRetireLaw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue