fix test
This commit is contained in:
parent
2b060dedd4
commit
c630b9743f
2 changed files with 10 additions and 10 deletions
|
|
@ -419,7 +419,7 @@ export class kpiRoleController extends Controller {
|
|||
? "kpiRole.year LIKE :year"
|
||||
: "1=1",
|
||||
{
|
||||
year: `%${requestBody.year}%`,
|
||||
year: requestBody.year,
|
||||
},
|
||||
)
|
||||
.andWhere(
|
||||
|
|
@ -427,7 +427,7 @@ export class kpiRoleController extends Controller {
|
|||
? "kpiRole.period LIKE :period"
|
||||
: "1=1",
|
||||
{
|
||||
period: `%${requestBody.period}%`,
|
||||
period: requestBody.period,
|
||||
},
|
||||
)
|
||||
.andWhere(requestBody.position != undefined ? "kpiRole.position LIKE :position" : "1=1", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue