Commit 231cc85d authored by maoying's avatar maoying

修改风险预控巡检RPNI值变化

parent 1a1a91d2
...@@ -1699,7 +1699,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService { ...@@ -1699,7 +1699,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
for (RiskLevel level : levels) { for (RiskLevel level : levels) {
int downResult = level.getDownLimit().compareTo(rpni); int downResult = level.getDownLimit().compareTo(rpni);
int topResult = level.getTopLimit().compareTo(rpni); int topResult = level.getTopLimit().compareTo(rpni);
if (downResult == -1 && topResult != -1) { if ((downResult == 0 || downResult == -1) && topResult != -1) {
return level; return level;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment