แก้รายงานสรุปจำนวนผลงานการประเมิน (test)

This commit is contained in:
Bright 2025-03-18 10:25:57 +07:00
parent c57553e044
commit ce25a2ede1

View file

@ -60,7 +60,7 @@ export class ReoportController {
@Get() @Get()
async sumaryEvaluationReport( async sumaryEvaluationReport(
@Query("year") year?: string, @Query("year") year?: string,
@Query("rootid") rootId?: string, @Query("rootId") rootId?: string,
@Query("nameOrg") nameOrg?: string, @Query("nameOrg") nameOrg?: string,
) { ) {
try { try {
@ -77,6 +77,7 @@ export class ReoportController {
year: yearInBE, year: yearInBE,
}) })
.andWhere("evaluation.orgRootId = :rootId", { rootId: rootId }) .andWhere("evaluation.orgRootId = :rootId", { rootId: rootId })
// .andWhere("evaluation.rootDnaId = :rootId", { rootId: rootId })
.andWhere("evaluation.step = :step", { step: "DONE" }) .andWhere("evaluation.step = :step", { step: "DONE" })
.getMany(); .getMany();