Ver Fonte

轮胎商城:出库提示天数不对

纪新园 há 7 meses atrás
pai
commit
1776bdac67

+ 1 - 1
blade-service/blade-sales-part/src/main/java/org/springblade/salesPart/ship/service/impl/ShipServiceImpl.java

@@ -1018,7 +1018,7 @@ public class ShipServiceImpl extends ServiceImpl<ShipMapper, PjShip> implements
 							}
 							List<PjOrderItems> orderItemList = orderItemsList.stream().filter(e -> e.getGoodsId().equals(shipItems.getGoodsId())).collect(Collectors.toList());
 							if (orderItemList.isEmpty()) {
-								throw new RuntimeException("商品:" + shipItems.getGoodsName() + "超过90天未赎回,请确认在出库");
+								throw new RuntimeException("商品:" + shipItems.getGoodsName() + "超过"+days+"天未赎回,请确认在出库");
 							}
 							List<FinancingShipItemDto> mapList = new ArrayList<>();
 							if (number.compareTo(new BigDecimal("0.00")) > 0) {