Fix Invalid รายการประเมินผลการปฏิบัติราชการระดับบุคคล (KPI) ไม่แสดงตามสิทธิ์ #19
This commit is contained in:
parent
5c1e691424
commit
08a9f755c7
2 changed files with 12 additions and 2 deletions
|
|
@ -377,8 +377,8 @@ export class KpiUserDevelopmentController extends Controller {
|
|||
.andWhere(
|
||||
_data.root != undefined && _data.root != null
|
||||
? _data.root[0] != null
|
||||
? `kpiUserEvaluation.rootDnaId IN (:...root)`
|
||||
: `kpiUserEvaluation.rootDnaId is null`
|
||||
? `kpiUserEvaluation.orgDnaId IN (:...root)`
|
||||
: `kpiUserEvaluation.orgDnaId is null`
|
||||
: "1=1",
|
||||
{
|
||||
root: _data.root,
|
||||
|
|
|
|||
|
|
@ -607,6 +607,11 @@ export class KpiUserEvaluationController extends Controller {
|
|||
kpiUserEvaluation.child3Id = x.child3Id;
|
||||
kpiUserEvaluation.child4 = x.child4;
|
||||
kpiUserEvaluation.child4Id = x.child4Id;
|
||||
kpiUserEvaluation.orgDnaId = x.rootDnaId;
|
||||
kpiUserEvaluation.child1DnaId = x.child1DnaId;
|
||||
kpiUserEvaluation.child2DnaId = x.child2DnaId;
|
||||
kpiUserEvaluation.child3DnaId = x.child3DnaId;
|
||||
kpiUserEvaluation.child4DnaId = x.child4DnaId;
|
||||
isProbation = x.isProbation;
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
@ -635,6 +640,11 @@ export class KpiUserEvaluationController extends Controller {
|
|||
kpiUserEvaluation.child3Id = x.child3Id;
|
||||
kpiUserEvaluation.child4 = x.child4;
|
||||
kpiUserEvaluation.child4Id = x.child4Id;
|
||||
kpiUserEvaluation.orgDnaId = x.rootDnaId;
|
||||
kpiUserEvaluation.child1DnaId = x.child1DnaId;
|
||||
kpiUserEvaluation.child2DnaId = x.child2DnaId;
|
||||
kpiUserEvaluation.child3DnaId = x.child3DnaId;
|
||||
kpiUserEvaluation.child4DnaId = x.child4DnaId;
|
||||
isProbation = x.isProbation;
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue