update
This commit is contained in:
parent
08af004d4a
commit
18aa974c3d
4 changed files with 114 additions and 38 deletions
|
|
@ -2786,7 +2786,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
)
|
||||
// .andWhere("profileEmployee.leaveCommandId Is NOT NULL")
|
||||
.andWhere(
|
||||
"profileSalary.order = (SELECT MAX(ps.order) FROM profileSalary ps WHERE ps.profileEmployeeId = profileEmployee.id)",
|
||||
"profileSalary.order = (SELECT MAX(ps.order) FROM profileSalary ps WHERE ps.profileEmployeeId = profileEmployee.id and profileSalary.positionName != 'เกษียณอายุราชการ')",
|
||||
)
|
||||
|
||||
// .andWhere(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue