กรองคนที่พ้นสภาพ
This commit is contained in:
parent
7d8c278710
commit
dd05bb1e41
2 changed files with 2 additions and 0 deletions
|
|
@ -3952,6 +3952,7 @@ export class ProfileController extends Controller {
|
|||
position: `%${requestBody.position}%`,
|
||||
},
|
||||
)
|
||||
.andWhere("profile.isLeave IS FALSE")
|
||||
.andWhere(
|
||||
new Brackets((qb) => {
|
||||
qb.where(
|
||||
|
|
|
|||
|
|
@ -1681,6 +1681,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
position: `%${requestBody.position}%`,
|
||||
},
|
||||
)
|
||||
.andWhere("profileEmployee.isLeave IS FALSE")
|
||||
.andWhere(
|
||||
new Brackets((qb) => {
|
||||
qb.where(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue