fix search

This commit is contained in:
AdisakKanthawilang 2024-05-08 15:18:17 +07:00
parent 386a7f72d0
commit ffcd90ac4c
4 changed files with 296 additions and 7 deletions

View file

@ -485,6 +485,10 @@ export class kpiPlanController extends Controller {
keyword: `%${requestBody.keyword}%`,
}).orWhere("kpiPlan.includingName LIKE :keyword", {
keyword: `%${requestBody.keyword}%`,
}).orWhere("kpiPlan.year LIKE :keyword",{
keyword: `%${requestBody.keyword}%`
}).orWhere("kpiPlan.period LIKE :keyword",{
keyword: `%${requestBody.keyword}%`
});
}),
)