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,
commanderId: item.commanderId,
commanderHighId: item.commanderHighId,
root: item.org,
rootId: item.orgId,
position: item.position,
root: item.org?item.org:null,
rootId: item.orgId?item.orgId:null,
position: item.position?item.position:null,
// posTypeId: item.posTypeId,
posTypeName: item.posTypeName,
posTypeName: item.posTypeName?item.posTypeName:null,
// posLevelId: item.posLevelId,
posLevelName: item.posLevelName,
organization: organization,
posLevelName: item.posLevelName?item.posLevelName:null,
organization: organization?organization:null,
};
});
return new HttpSuccess({ data: mapData, total });