แก้ tree org
This commit is contained in:
parent
7f21756928
commit
5ca15d5433
3 changed files with 55 additions and 3 deletions
|
|
@ -255,7 +255,7 @@ export class OrgRootController extends Controller {
|
|||
this.orgRootRepository.merge(orgRoot, requestBody);
|
||||
await this.orgRootRepository.save(orgRoot);
|
||||
|
||||
if (orgRoot.orgRootRankSub == "DISTRICT") {
|
||||
if (orgRoot.orgRootRankSub == "DISTRICT" || orgRoot.orgRootRankSub == "OFFICE") {
|
||||
const up_Child1 = await this.child1Repository.find({
|
||||
where: {
|
||||
orgRevisionId: orgRoot.orgRevisionId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue