From acbc71c2e6fcf1a4fd92c1611a137164ecf2f1c3 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 28 Mar 2024 14:39:55 +0700 Subject: [PATCH] no message --- src/controllers/SalaryPeriodEmployeeController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/SalaryPeriodEmployeeController.ts b/src/controllers/SalaryPeriodEmployeeController.ts index 7fdfeae..3491f55 100644 --- a/src/controllers/SalaryPeriodEmployeeController.ts +++ b/src/controllers/SalaryPeriodEmployeeController.ts @@ -124,7 +124,7 @@ export class SalaryPeriodEmployeeController extends Controller { const _salaryOrg = await this.salaryOrgRepository.find({ relations: ["salaryPeriod", "salaryProfiles"], where: { - group: Like(`%${body.group}%`), + group: Like(`%${body.group.trim().toUpperCase()}%`), snapshot: body.snapshot.trim().toUpperCase(), salaryPeriod: { period: body.period.trim().toUpperCase(), year: body.year }, },