filter director

This commit is contained in:
mamoss 2025-06-05 15:26:47 +07:00
parent 4398181192
commit 89db77098e

View file

@ -2611,11 +2611,11 @@ export class ProfileController extends Controller {
const [lists, total] = await AppDataSource.getRepository(viewDirector) const [lists, total] = await AppDataSource.getRepository(viewDirector)
.createQueryBuilder("viewDirector") .createQueryBuilder("viewDirector")
// .andWhere(condition) // .andWhere(condition)
// .andWhere( .andWhere(
// new Brackets((qb) => { new Brackets((qb) => {
// qb.orWhere(condition).orWhere(conditionNow); qb.orWhere(condition).orWhere(conditionNow);
// }), }),
// ) )
.andWhere( .andWhere(
new Brackets((qb) => { new Brackets((qb) => {
qb.orWhere( qb.orWhere(