fix validate

This commit is contained in:
AdisakKanthawilang 2024-07-15 12:01:38 +07:00
parent 2688e8267c
commit e27bb54b39

View file

@ -290,14 +290,14 @@ export class KpiUserEvaluationController extends Controller {
evaluatorId: item.evaluatorId, evaluatorId: item.evaluatorId,
commanderId: item.commanderId, commanderId: item.commanderId,
commanderHighId: item.commanderHighId, commanderHighId: item.commanderHighId,
root: item.org, root: item.org?item.org:null,
rootId: item.orgId, rootId: item.orgId?item.orgId:null,
position: item.position, position: item.position?item.position:null,
// posTypeId: item.posTypeId, // posTypeId: item.posTypeId,
posTypeName: item.posTypeName, posTypeName: item.posTypeName?item.posTypeName:null,
// posLevelId: item.posLevelId, // posLevelId: item.posLevelId,
posLevelName: item.posLevelName, posLevelName: item.posLevelName?item.posLevelName:null,
organization: organization, organization: organization?organization:null,
}; };
}); });
return new HttpSuccess({ data: mapData, total }); return new HttpSuccess({ data: mapData, total });