no message
This commit is contained in:
parent
07ffb60d34
commit
3e8175d2c5
1 changed files with 11 additions and 0 deletions
|
|
@ -218,6 +218,17 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
.andWhere(requestBody.kpiPeriodId ? "kpiPeriodId LIKE :kpiPeriodId" : "1=1", {
|
.andWhere(requestBody.kpiPeriodId ? "kpiPeriodId LIKE :kpiPeriodId" : "1=1", {
|
||||||
kpiPeriodId: requestBody.kpiPeriodId,
|
kpiPeriodId: requestBody.kpiPeriodId,
|
||||||
})
|
})
|
||||||
|
.andWhere(
|
||||||
|
requestBody.status != null && requestBody.status != undefined
|
||||||
|
? "evaluationstatus LIKE :status"
|
||||||
|
: "1=1",
|
||||||
|
{
|
||||||
|
status:
|
||||||
|
requestBody.status == null || requestBody.status == undefined
|
||||||
|
? null
|
||||||
|
: requestBody.status.trim().toUpperCase(),
|
||||||
|
},
|
||||||
|
)
|
||||||
.andWhere(
|
.andWhere(
|
||||||
requestBody.results != null && requestBody.results != undefined
|
requestBody.results != null && requestBody.results != undefined
|
||||||
? "evaluationResults LIKE :results"
|
? "evaluationResults LIKE :results"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue