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)
.createQueryBuilder("viewDirector")
// .andWhere(condition)
// .andWhere(
// new Brackets((qb) => {
// qb.orWhere(condition).orWhere(conditionNow);
// }),
// )
.andWhere(
new Brackets((qb) => {
qb.orWhere(condition).orWhere(conditionNow);
}),
)
.andWhere(
new Brackets((qb) => {
qb.orWhere(