add select kpi plan

This commit is contained in:
Kittapath 2024-04-22 09:53:59 +07:00
parent 0d8d5c28aa
commit 9041e8e3c7
2 changed files with 2 additions and 0 deletions

View file

@ -303,6 +303,7 @@ export class kpiPlanController extends Controller {
"kpiPeriod.durationKPI",
"kpiPlan.including",
"kpiPlan.includingName",
"kpiPlan.createdAt",
])
.orderBy("kpiPlan.createdAt", "DESC")
.skip((page - 1) * pageSize)

View file

@ -251,6 +251,7 @@ export class kpiRoleController extends Controller {
"kpiPeriod.durationKPI",
"kpiRole.including",
"kpiRole.includingName",
"kpiRole.createdAt",
])
.orderBy("kpiRole.createdAt", "DESC")
.skip((page - 1) * pageSize)