migrate add field all tables #252
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s

This commit is contained in:
harid 2026-06-16 09:53:23 +07:00
parent 6319f7206a
commit 7c77745d46
11 changed files with 371 additions and 0 deletions

View file

@ -74,7 +74,11 @@ export class OrgChild1Controller {
DIVISION_CODE: orgChild1.DIVISION_CODE,
SECTION_CODE: orgChild1.SECTION_CODE,
JOB_CODE: orgChild1.JOB_CODE,
ROOT_CODE: orgChild1.ROOT_CODE,
CHILD1_CODE: orgChild1.CHILD1_CODE,
CHILD2_CODE: orgChild1.CHILD2_CODE,
CHILD3_CODE: orgChild1.CHILD3_CODE,
CHILD4_CODE: orgChild1.CHILD4_CODE,
orgCode: orgChild1.orgRoot.orgRootCode + orgChild1.orgChild1Code,
};
return new HttpSuccess(getOrgChild1);
@ -347,7 +351,11 @@ export class OrgChild1Controller {
DIVISION_CODE: requestBody.DIVISION_CODE != null ? requestBody.DIVISION_CODE : _null,
SECTION_CODE: requestBody.SECTION_CODE != null ? requestBody.SECTION_CODE : _null,
JOB_CODE: requestBody.JOB_CODE != null ? requestBody.JOB_CODE : _null,
ROOT_CODE: requestBody.ROOT_CODE != null ? requestBody.ROOT_CODE : _null,
CHILD1_CODE: requestBody.CHILD1_CODE != null ? requestBody.CHILD1_CODE : _null,
CHILD2_CODE: requestBody.CHILD2_CODE != null ? requestBody.CHILD2_CODE : _null,
CHILD3_CODE: requestBody.CHILD3_CODE != null ? requestBody.CHILD3_CODE : _null,
CHILD4_CODE: requestBody.CHILD4_CODE != null ? requestBody.CHILD4_CODE : _null,
isOfficer: requestBody.isOfficer,
isInformation: requestBody.isInformation,
orgChild1PhoneEx: requestBody.orgChild1PhoneEx,