Browse Source

debug 驾驶舱算法

tags/24080901
PoffyZhang 1 year ago
parent
commit
355883eeab
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/util/BizUtils.java

+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/util/BizUtils.java View File

@@ -130,6 +130,10 @@ public class BizUtils {
} }


public static String computeRise(Integer numa, Integer numb) { public static String computeRise(Integer numa, Integer numb) {
if((Objects.isNull(numb)|| numb.equals(0)) &&
(Objects.isNull(numa)|| numa.equals(0))){
return "0";
}
if(Objects.isNull(numa) || numa.equals(0)){ if(Objects.isNull(numa) || numa.equals(0)){
return "-100"; return "-100";
} }


Loading…
Cancel
Save