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();