no message

This commit is contained in:
Kittapath 2024-04-19 17:35:42 +07:00
parent 4f54040982
commit 1c42a242c0
4 changed files with 4 additions and 29 deletions

View file

@ -84,7 +84,7 @@ export class kpiPlanController extends Controller {
kpiPlan.strategyChild5Id = requestBody.strategy <= 4 ? null : x.strategyChild5Id;
})
.catch((x) => {});
kpiPlan.round = requestBody.round.trim().toUpperCase();
kpiPlan.createdUserId = request.user.sub;
kpiPlan.createdFullName = request.user.name;
kpiPlan.lastUpdateUserId = request.user.sub;
@ -112,7 +112,6 @@ export class kpiPlanController extends Controller {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตัวชี้วัดตามแผนฯนี้");
}
kpiPlan.round = requestBody.round.trim().toUpperCase();
Object.assign(kpiPlan, requestBody);
await new CallAPI()
.PostData(request, "org/find/all", {
@ -214,7 +213,7 @@ export class kpiPlanController extends Controller {
const formattedData = {
id: kpiPlan.id,
year: kpiPlan.year,
round: kpiPlan.round,
// round: kpiPlan.round,
including: kpiPlan.including,
includingName: kpiPlan.includingName,
target: kpiPlan.target,