|
@@ -239,7 +239,7 @@ public class ScreenComponent {
|
|
|
List<Delivery> delivery = this.deliveryList(productPlan.getProductId(), productPlan.getCreateTime());
|
|
|
if (delivery != null && delivery.size() > 0 && totalPalnBox > 0) {
|
|
|
// 取合计箱数
|
|
|
- Integer total = delivery.stream().mapToInt(s -> s.getPlanBoxNum()).sum();
|
|
|
+ Integer total = delivery.stream().mapToInt(s -> s.getPlanTotalBox()).sum();
|
|
|
Integer r = total * 100 / totalPalnBox;
|
|
|
inventory.add(r);
|
|
|
} else {
|