This commit is contained in:
AdisakKanthawilang 2024-09-03 11:44:57 +07:00
parent d13da7269c
commit bc69873705

View file

@ -1865,7 +1865,7 @@ export class DevelopmentController extends Controller {
@Query("node") node?: number | null,
@Query("keyword") keyword?: string,
) {
await new permission().PermissionList(request, "SYS_DEV_SCHOLARSHIP");
// await new permission().PermissionOrgList(request, "SYS_DEV_SCHOLARSHIP");
const [development, total] = await AppDataSource.getRepository(Development)
.createQueryBuilder("development")
.andWhere(year > 0 ? "development.year LIKE :year" : "1=1", {