fix duplicate salary list

This commit is contained in:
Adisak 2025-11-25 12:01:06 +07:00
parent d2426ca6e4
commit b26cbad5ee

View file

@ -340,6 +340,7 @@ export class OrganizationUnauthorizeController extends Controller {
const [findPosMaster, total] = await AppDataSource.getRepository(viewPosMaster)
.createQueryBuilder("viewPosMaster")
.where({orgRevisionId: findRevision?.id})
.andWhere({positionIsSelected: true})
// .andWhere("viewPosMaster.rootId IN (:...rootIds)", { rootIds })
.andWhere(
new Brackets((qb) => {