filter director
This commit is contained in:
parent
4398181192
commit
89db77098e
1 changed files with 5 additions and 5 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue