From 6f098ef6c2e43f9dbf9d83423903f766e358606e Mon Sep 17 00:00:00 2001 From: Bright Date: Mon, 28 Oct 2024 09:47:24 +0700 Subject: [PATCH] fix #689 --- src/controllers/CommandController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index b15f828d..4ef9ad24 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -2748,7 +2748,7 @@ export class CommandController extends Controller { await this.profileEmployeeRepository.save(data); return new HttpSuccess(); } - @Post("command21/employee/delete") + @Post("command21/employee/report/delete") public async command21SalaryEmployeeDelete( @Request() req: RequestWithUser, @Body() @@ -2759,7 +2759,7 @@ export class CommandController extends Controller { const profile = await this.profileEmployeeRepository.find({ where: { id: In(body.refIds) } }); const data = profile.map((_data) => ({ ..._data, - statusTemp: "WAITTING", + statusTemp: "PENDING", })); await this.profileEmployeeRepository.save(data); return new HttpSuccess();