@@ -535,7 +535,7 @@ public class DeliveryItemsServiceImpl extends ServiceImpl<DeliveryItemsMapper, D
stockGoods.setUpdateUser(SecureUtil.getUserId());
boolean updateStock = stockGoodsClient.updateStock(stockGoods);
if (!updateStock) {
- throw new RuntimeException("更新库存总账失败");
+ throw new RuntimeException(stockGoods.getCode() + "更新库存总账失败");
}
return stockGoods;