@@ -121,7 +121,7 @@ public class StockController extends BaseController {
tt2 = tt2 + t2;
// 字典库占比
OptVO wareRatio = wareRatioOpt.stream()
- .filter(item -> item.getName().equals(optVO.getVal())).findFirst().get();
+ .filter(item -> item.getName().equals(optVO.getName())).findFirst().get();
// 库占比
Integer total = t1 + t2;
totalRatio = totalRatio + Integer.parseInt(wareRatio.getVal());