fix ค้นหาประวัติถือครองตำแหน่งได้ issue #1056
This commit is contained in:
parent
c26aad70bd
commit
4834e462b5
2 changed files with 2 additions and 2 deletions
|
|
@ -4928,7 +4928,7 @@ export class ProfileController extends Controller {
|
|||
requestBody.position != null && requestBody.position !== ""
|
||||
? "positions.positionName LIKE :positionName"
|
||||
: "1=1",
|
||||
{ positionName: `${requestBody.position}` },
|
||||
{ positionName: `%${requestBody.position}%` },
|
||||
)
|
||||
.getMany();
|
||||
|
||||
|
|
|
|||
|
|
@ -2069,7 +2069,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
requestBody.position != null && requestBody.position !== ""
|
||||
? "positions.positionName LIKE :positionName"
|
||||
: "1=1",
|
||||
{ positionName: `${requestBody.position}` },
|
||||
{ positionName: `%${requestBody.position}%` },
|
||||
)
|
||||
.getMany();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue