Merge branch 'develop' of github.com:Frappet/bma-ehr-development into develop
This commit is contained in:
commit
18fe85d7e2
1 changed files with 1 additions and 2 deletions
|
|
@ -210,7 +210,6 @@ export class StrategyController extends Controller {
|
||||||
) {
|
) {
|
||||||
let strategyRepo: any;
|
let strategyRepo: any;
|
||||||
let strategyChild: any;
|
let strategyChild: any;
|
||||||
let repoSave: any;
|
|
||||||
|
|
||||||
switch (body.levelnode) {
|
switch (body.levelnode) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|
@ -231,7 +230,7 @@ export class StrategyController extends Controller {
|
||||||
if (!strategyChild) {
|
if (!strategyChild) {
|
||||||
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์");
|
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์");
|
||||||
}
|
}
|
||||||
repoSave = this.strategy2Repo;
|
strategyChild.strategyChild2Name = body.name;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
strategyRepo = this.strategy3Repo;
|
strategyRepo = this.strategy3Repo;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue