ค้นหาพ้นราชการ
This commit is contained in:
parent
91cff0bf61
commit
4548a78256
1 changed files with 2 additions and 2 deletions
|
|
@ -2347,8 +2347,8 @@ export class ProfileController extends Controller {
|
|||
.andWhere(
|
||||
isRetire != undefined && isRetire != null
|
||||
? isRetire == true
|
||||
? `profile.dateRetire IS null`
|
||||
: `profile.dateRetire IS NOT NULL`
|
||||
? `profile.dateLeave IS null`
|
||||
: `profile.dateLeave IS NOT NULL`
|
||||
: "1=1",
|
||||
)
|
||||
.andWhere(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue