|
|
|
@ -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";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|