no message
This commit is contained in:
parent
3bfbb93691
commit
bc86f4d2d9
5 changed files with 200 additions and 128 deletions
|
|
@ -330,6 +330,14 @@ export class ProfileController extends Controller {
|
|||
{
|
||||
keyword: `%${requestBody.keyword}%`,
|
||||
},
|
||||
)
|
||||
.orWhere(
|
||||
requestBody.keyword != null && requestBody.keyword != ""
|
||||
? "profile.citizenId LIKE :keyword"
|
||||
: "1=1",
|
||||
{
|
||||
keyword: `%${requestBody.keyword}%`,
|
||||
},
|
||||
);
|
||||
}),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue