|
@@ -2156,13 +2156,16 @@ public class DataFaced {
|
|
|
// 判断值小于0.7的话 并且 类型砂石和白沙带可以生成,
|
|
|
//覆盖物分析结果是小数,分析比较是比较0.xxx
|
|
|
// 预警分析发短信的需要,暂时将除杭申线之外的卡口覆盖率降到0.7预警
|
|
|
+ log.info("覆盖率:"+coverageAnalysis.getCoverageRatio()+",卡口ID:"+coverageAnalysis.getBayonetId());
|
|
|
if (coverageAnalysis.getCoverageRatio() != null &&
|
|
|
( (coverageAnalysis.getCoverageRatio().compareTo(new BigDecimal(0.85)) < 0 && "1".equals(coverageAnalysis.getBayonetId())) ||
|
|
|
(coverageAnalysis.getCoverageRatio().compareTo(new BigDecimal(0.7)) < 0 && !"1".equals(coverageAnalysis.getBayonetId())) ) &&
|
|
|
coverageAnalysis.getTypeClass() != null &&
|
|
|
("0".equals(coverageAnalysis.getTypeClass()) || "4".equals(coverageAnalysis.getTypeClass()))) {
|
|
|
+ log.info("===== 是否符合:是");
|
|
|
return true;
|
|
|
}
|
|
|
+ log.info("===== 是否符合:否");
|
|
|
return false;
|
|
|
}
|
|
|
|