ค้นหาพ้นราชการ
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(
|
.andWhere(
|
||||||
isRetire != undefined && isRetire != null
|
isRetire != undefined && isRetire != null
|
||||||
? isRetire == true
|
? isRetire == true
|
||||||
? `profile.dateRetire IS null`
|
? `profile.dateLeave IS null`
|
||||||
: `profile.dateRetire IS NOT NULL`
|
: `profile.dateLeave IS NOT NULL`
|
||||||
: "1=1",
|
: "1=1",
|
||||||
)
|
)
|
||||||
.andWhere(
|
.andWhere(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue