|
@@ -325,9 +325,17 @@ public class CoreUtil {
|
|
if (flag) {
|
|
if (flag) {
|
|
if (lis.getName() == null || lis.getDetailName() == null
|
|
if (lis.getName() == null || lis.getDetailName() == null
|
|
|| !lis.getName().equals(lis.getDetailName())) {
|
|
|| !lis.getName().equals(lis.getDetailName())) {
|
|
- map.put("msg", lis.getName() + lis.getDetailName() + subZeroAndDot(String.valueOf(lis.getValue())));
|
|
|
|
|
|
+ if (StringUtil.isNotBlank(lis.getResult())) {
|
|
|
|
+ map.put("msg", lis.getName() + lis.getDetailName() + lis.getResult());
|
|
|
|
+ } else {
|
|
|
|
+ map.put("msg", lis.getName() + lis.getDetailName() + subZeroAndDot(String.valueOf(lis.getValue())));
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
- map.put("msg", lis.getDetailName() + subZeroAndDot(String.valueOf(lis.getValue())));
|
|
|
|
|
|
+ if (StringUtil.isNotBlank(lis.getResult())) {
|
|
|
|
+ map.put("msg", lis.getDetailName() + lis.getResult());
|
|
|
|
+ } else {
|
|
|
|
+ map.put("msg", lis.getDetailName() + subZeroAndDot(String.valueOf(lis.getValue())));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -641,6 +649,9 @@ public class CoreUtil {
|
|
if (lis == null) {
|
|
if (lis == null) {
|
|
return "";
|
|
return "";
|
|
}
|
|
}
|
|
|
|
+ if (StringUtil.isNotBlank(lis.getResult())) {
|
|
|
|
+ return lis.getResult();
|
|
|
|
+ }
|
|
return StringUtil.isNotBlank(lis.getOtherValue()) ? lis.getOtherValue() : subZeroAndDot(lis.getValue().toString());
|
|
return StringUtil.isNotBlank(lis.getOtherValue()) ? lis.getOtherValue() : subZeroAndDot(lis.getValue().toString());
|
|
}
|
|
}
|
|
|
|
|