微调
This commit is contained in:
@@ -1218,7 +1218,7 @@ public class PqReportServiceImpl extends ServiceImpl<PqReportMapper, PqReport> i
|
||||
fillHarm(dataModelMap, adHarmonicResult, index, key, 57.74, 100);
|
||||
}
|
||||
if (DetectionCodeEnum.I2_50.getCode().equals(key) || DetectionCodeEnum.SI_1_49.getCode().equals(key)) {
|
||||
fillHarm(dataModelMap, adHarmonicResult, index, key, 1, 1);
|
||||
fillHarm(dataModelMap, adHarmonicResult, index, key, 1, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1249,15 +1249,15 @@ public class PqReportServiceImpl extends ServiceImpl<PqReportMapper, PqReport> i
|
||||
double bBaseValue = baseValue;
|
||||
double cBaseValue = baseValue;
|
||||
|
||||
if (!aBase.equals(StrPool.SLASH)) {
|
||||
aBaseValue = Double.parseDouble(aBase);
|
||||
}
|
||||
if (!bBase.equals(StrPool.SLASH)) {
|
||||
bBaseValue = Double.parseDouble(bBase);
|
||||
}
|
||||
if (!cBase.equals(StrPool.SLASH)) {
|
||||
cBaseValue = Double.parseDouble(cBase);
|
||||
}
|
||||
// if (!aBase.equals(StrPool.SLASH)) {
|
||||
// aBaseValue = Double.parseDouble(aBase);
|
||||
// }
|
||||
// if (!bBase.equals(StrPool.SLASH)) {
|
||||
// bBaseValue = Double.parseDouble(bBase);
|
||||
// }
|
||||
// if (!cBase.equals(StrPool.SLASH)) {
|
||||
// cBaseValue = Double.parseDouble(cBase);
|
||||
// }
|
||||
|
||||
dataModelMap.put("${" + index + "#" + key + "#A#2}", devValue(adHarmonicResult.getAValue2(), aBaseValue, percent));
|
||||
dataModelMap.put("${" + index + "#" + key + "#B#2}", devValue(adHarmonicResult.getBValue2(), bBaseValue, percent));
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user