เพิ่มค้นหาด้วยเลขบัตรประชน
This commit is contained in:
parent
71c547c5c6
commit
d129fd7a47
1 changed files with 8 additions and 0 deletions
|
|
@ -174,6 +174,14 @@ export class DevelopmentScholarshipController extends Controller {
|
|||
keyword: `%${keyword}%`,
|
||||
},
|
||||
)
|
||||
.orWhere(
|
||||
keyword != null && keyword != ""
|
||||
? "developmentScholarship.citizenId LIKE :keyword"
|
||||
: "1=1",
|
||||
{
|
||||
keyword: `%${keyword}%`,
|
||||
},
|
||||
)
|
||||
.orWhere(
|
||||
keyword != null && keyword != ""
|
||||
? "developmentScholarship.position LIKE :keyword"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue