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

This commit is contained in:
Bright 2025-03-18 11:32:47 +07:00
parent ce25a2ede1
commit bbf28f9d2d
3 changed files with 39 additions and 3 deletions

View file

@ -76,8 +76,7 @@ export class ReoportController {
.andWhere(yearInBE && yearInBE != null ? "YEAR(createdAt) = :year" : "1=1", {
year: yearInBE,
})
.andWhere("evaluation.orgRootId = :rootId", { rootId: rootId })
// .andWhere("evaluation.rootDnaId = :rootId", { rootId: rootId })
.andWhere("evaluation.rootDnaId = :rootId", { rootId: rootId })
.andWhere("evaluation.step = :step", { step: "DONE" })
.getMany();