Commit bd149411 by zhangkb

修改指标结果覆盖保存带上单位保存

parent 462b5ab7
...@@ -165,6 +165,7 @@ public class DriveIndIdObjCalActor extends AbstractActor{ ...@@ -165,6 +165,7 @@ public class DriveIndIdObjCalActor extends AbstractActor{
driveIndCalResult = new DriveIndCalResultDef(compareId, driveIndCalResult = new DriveIndCalResultDef(compareId,
driveIndId,compareObj,date,"NaN",unit,"1","0","admin"); driveIndId,compareObj,date,"NaN",unit,"1","0","admin");
}else { }else {
driveIndCalResult.setUnit(unit);
driveIndCalResult.setValue("NaN"); driveIndCalResult.setValue("NaN");
} }
driveIndCalResultService.saveOrUpdate(driveIndCalResult); driveIndCalResultService.saveOrUpdate(driveIndCalResult);
......
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