Merge branch 'develop' of github.com:Frappet/bma-ehr-development into develop

This commit is contained in:
Kittapath 2024-04-17 14:27:09 +07:00
commit 18fe85d7e2

View file

@ -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;