Browse Source

bug修复

wangb 1 week ago
parent
commit
cb53a9be73

+ 1 - 1
runeconomy-xk/src/main/java/com/gyee/runeconomy/service/specific/SpecificService.java

@@ -575,7 +575,7 @@ public class SpecificService {
             dqvo.setNxnssdl(DoubleUtils.getRoundingNum(yearSpecific.getDjss() / 1000, 2));
             dqvo.setNslssdl(DoubleUtils.getRoundingNum(yearSpecific.getSlss() / 1000, 2));
             dqvo.setNfnlyl(NumberUtil.round(yearSpecific.getFnlyl(), 2).doubleValue());
-            if (dqvo.getYllfdl() != 0) {
+            if (dqvo.getNllfdl() != 0) {
                 dqvo.setNwhssl(DoubleUtils.getRoundingNum(dqvo.getNwhssdl() / dqvo.getNllfdl() * 100, 2));
                 dqvo.setNgzssl(DoubleUtils.getRoundingNum(dqvo.getNgzssdl() / dqvo.getNllfdl() * 100, 2));
                 dqvo.setNxdssl(DoubleUtils.getRoundingNum(dqvo.getNxdssdl() / dqvo.getNllfdl() * 100, 2));