修改-修复原子指标可能重复的问题

topo_dev
liu 9 months ago
parent 761a536184
commit 2afcc9ae75

@ -43,15 +43,15 @@ public class AtomicIndexDTO {
private String indexSource;
public void judgeWithIndexResult(String judgeLogic){
public void judgeWithIndexResult(String judgeLogic) {
// 1.指标判断符合,规则要求不符合,返回false
// 2.指标判断不符合,规则要求符合,返回false
// 3.指标判断符合,规则要求符合,返回true
// 4.指标判断不符合,规则要求不符合,返回true
if (judgeLogic.equals(this.atomicResult)){
this.indexResult = "true";
}else {
this.indexResult = "false";
if (StrUtil.equals(judgeLogic, this.atomicResult)) {
this.indexResult = "true";
} else {
this.indexResult = "false";
}
}

Loading…
Cancel
Save