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