This commit is contained in:
AdisakKanthawilang 2024-04-17 14:18:05 +07:00
parent d7b095b91f
commit 893912b304

View file

@ -210,7 +210,6 @@ export class StrategyController extends Controller {
) {
let strategyRepo: any;
let strategyChild: any;
let repoSave: any;
switch (body.levelnode) {
case 1:
@ -231,7 +230,7 @@ export class StrategyController extends Controller {
if (!strategyChild) {
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์");
}
repoSave = this.strategy2Repo;
strategyChild.strategyChild2Name = body.name;
break;
case 3:
strategyRepo = this.strategy3Repo;