no message
This commit is contained in:
parent
da6b3dcc4e
commit
682010fe66
5 changed files with 72 additions and 7 deletions
|
|
@ -63,7 +63,7 @@ export class DevelopmentController extends Controller {
|
|||
"โครงการ/หลักสูตรการฝึกอบรม: " +
|
||||
requestBody.projectName +
|
||||
" ปีงบประมาณ: " +
|
||||
requestBody.year +
|
||||
(requestBody.year + 543) +
|
||||
" มีอยู่ในระบบแล้ว",
|
||||
);
|
||||
}
|
||||
|
|
@ -225,7 +225,7 @@ export class DevelopmentController extends Controller {
|
|||
"โครงการ/หลักสูตรการฝึกอบรม: " +
|
||||
requestBody.projectName +
|
||||
" ปีงบประมาณ: " +
|
||||
requestBody.year +
|
||||
(requestBody.year + 543) +
|
||||
" มีอยู่ในระบบแล้ว",
|
||||
);
|
||||
}
|
||||
|
|
@ -443,6 +443,15 @@ export class DevelopmentController extends Controller {
|
|||
if (!getDevelopment) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลโครงการ/หลักสูตรการฝึกอบรมนี้");
|
||||
}
|
||||
return new HttpSuccess(getDevelopment);
|
||||
let _getDevelopment: any = getDevelopment;
|
||||
_getDevelopment.actualPeoples = getDevelopment.developmentActualPeoples;
|
||||
_getDevelopment.plannedPeoples = getDevelopment.developmentPlannedPeoples;
|
||||
_getDevelopment.actualGoals = getDevelopment.developmentActualGoals;
|
||||
_getDevelopment.plannedGoals = getDevelopment.developmentPlannedGoals;
|
||||
delete _getDevelopment.developmentActualPeoples;
|
||||
delete _getDevelopment.developmentPlannedPeoples;
|
||||
delete _getDevelopment.developmentActualGoals;
|
||||
delete _getDevelopment.developmentPlannedGoals;
|
||||
return new HttpSuccess(_getDevelopment);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue