Commit 9884aa47 by zhangkb

修改对标计算逻辑

parent 728dc489
......@@ -96,6 +96,9 @@ public class DriveIndIdObjCalActor extends AbstractActor{
List<String> indIdList = new ArrayList<>();//定义存储从考核指标公式解析出来的基础指标id
DriveIndDef driveIndDef = driveIndDefService.getById(driveIndId);
if(driveIndDef==null) {
logger.info("DriveIndDef:"+driveIndId+" is not exist.");
}else {
unit = driveIndDef.getIndUnit();//指标单位
indType = driveIndDef.getIndRule();//指标类型:正向 反向
scoreCardId = driveIndDef.getIndCalScoreRule();//指标评分规则
......@@ -122,6 +125,7 @@ public class DriveIndIdObjCalActor extends AbstractActor{
getBaseIndValueActor.tell(getBaseIndValueMsg, getSelf());
}
}
}
})
.match(BaseIndValueMsg.class,baseIndValueMsg->{
//根据日志记录id获取日志
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment