diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index ed38751..4b4f911 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -60,7 +60,7 @@ export class ReoportController { @Get() async sumaryEvaluationReport( @Query("year") year?: string, - @Query("rootid") rootId?: string, + @Query("rootId") rootId?: string, @Query("nameOrg") nameOrg?: string, ) { try { @@ -77,6 +77,7 @@ export class ReoportController { year: yearInBE, }) .andWhere("evaluation.orgRootId = :rootId", { rootId: rootId }) + // .andWhere("evaluation.rootDnaId = :rootId", { rootId: rootId }) .andWhere("evaluation.step = :step", { step: "DONE" }) .getMany();