|
|
@@ -979,6 +979,9 @@ public class ShipServiceImpl extends ServiceImpl<ShipMapper, PjShip> implements
|
|
|
.apply("goods_total_ship_num >= out_goods_total_ship_num")
|
|
|
.orderByAsc(PjOrder::getBusinesDate)
|
|
|
);
|
|
|
+ if (org.springframework.util.CollectionUtils.isEmpty(orderList)) {
|
|
|
+ throw new RuntimeException("未找到融资采购单, 请检查是否已超出赎回日期");
|
|
|
+ }
|
|
|
List<Long> ordIds = orderList.stream().map(PjOrder::getId).collect(Collectors.toList());
|
|
|
List<Long> goodsList = shipItemsList.stream().map(PjShipItems::getGoodsId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
|
|
|
//获取融资采购单明细数据
|