fix bug
This commit is contained in:
parent
45b460a095
commit
eeb70570c8
4 changed files with 22 additions and 22 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