fix bug: add ancestorDNA org all leavel
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m11s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m11s
This commit is contained in:
parent
82ecf2cb81
commit
d916334537
5 changed files with 15 additions and 0 deletions
|
|
@ -132,6 +132,9 @@ export class OrgChild3Controller {
|
|||
child3.orgChild3Order =
|
||||
order == null || order.orgChild3Order == null ? 1 : order.orgChild3Order + 1;
|
||||
await this.child3Repository.save(child3, { data: request });
|
||||
// update ancestorDNA = id row
|
||||
child3.ancestorDNA = child3.id;
|
||||
await this.child3Repository.save(child3, { data: request });
|
||||
setLogDataDiff(request, { before, after: child3 });
|
||||
return new HttpSuccess();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue