fix unkwons field Projectname
This commit is contained in:
parent
19ea1c5468
commit
b70f447174
2 changed files with 1 additions and 7 deletions
|
|
@ -275,9 +275,6 @@ export class kpiPlanController extends Controller {
|
|||
round: `${round?.trim().toUpperCase()}`,
|
||||
},
|
||||
)
|
||||
.andWhere(keyword != undefined ? "kpiPlan.projectName LIKE :keyword" : "1=1", {
|
||||
keyword: `%${keyword}%`,
|
||||
})
|
||||
.select([
|
||||
"kpiPlan.id",
|
||||
"kpiPlan.year",
|
||||
|
|
|
|||
|
|
@ -220,10 +220,7 @@ export class kpiRoleController extends Controller {
|
|||
round: `${round?.trim().toUpperCase()}`,
|
||||
},
|
||||
)
|
||||
.andWhere(keyword != undefined ? "kpiRole.projectName LIKE :keyword" : "1=1", {
|
||||
keyword: `%${keyword}%`,
|
||||
})
|
||||
.andWhere(position != undefined ? "kpiRole.projectName LIKE :position" : "1=1", {
|
||||
.andWhere(position != undefined ? "kpiRole.position LIKE :position" : "1=1", {
|
||||
position: `%${position}%`,
|
||||
})
|
||||
.select([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue