แก้ค้นหาลูกจ้าง

This commit is contained in:
Kittapath 2024-03-22 11:33:59 +07:00
parent 9c3451d1dc
commit 35d3d1381a

View file

@ -331,7 +331,7 @@ export class ProfileEmployeeController extends Controller {
)
.andWhere(
new Brackets((qb) => {
qb.where("profile.id NOT IN (:...ids)", {
qb.where("profileEmployee.id NOT IN (:...ids)", {
ids: orgRevision.posMasters
.filter((x) => x.next_holderId != null)
.map((x) => x.next_holderId),