|
|
@@ -291,7 +291,7 @@ public class DeliveryServiceImpl extends ServiceImpl<DeliveryMapper, Delivery> i
|
|
|
R r = iOrderItemsClient.updateActualQuantity(e.getSrcId(), inventoryNumber, 1);
|
|
|
if(!r.isSuccess())
|
|
|
{
|
|
|
- throw new SecurityException("更新采购明细失败->已发数量:"+r.getMsg());
|
|
|
+ throw new SecurityException("更新采购明细失败->已发数量");
|
|
|
}
|
|
|
if(delivery.getTradeType().equals("JK"))
|
|
|
{
|
|
|
@@ -299,7 +299,7 @@ public class DeliveryServiceImpl extends ServiceImpl<DeliveryMapper, Delivery> i
|
|
|
R weightR = iOrderItemsClient.updateActualWeight(e.getSrcId(), invoiceWeight, 1);
|
|
|
if(!weightR.isSuccess())
|
|
|
{
|
|
|
- throw new SecurityException("更新采购明细失败->已发发票重量:"+r.getMsg());
|
|
|
+ throw new SecurityException("更新采购明细失败->已发发票重量");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -332,7 +332,7 @@ public class DeliveryServiceImpl extends ServiceImpl<DeliveryMapper, Delivery> i
|
|
|
R r = iOrderItemsClient.updateActualQuantity(e.getSrcId(), inventoryNumber, 2);
|
|
|
if(!r.isSuccess())
|
|
|
{
|
|
|
- throw new SecurityException("更新采购明细失败:"+r.getMsg());
|
|
|
+ throw new SecurityException("更新采购明细失败");
|
|
|
}
|
|
|
//更新item 发票重量
|
|
|
if(delivery.getTradeType().equals("JK"))
|
|
|
@@ -340,7 +340,7 @@ public class DeliveryServiceImpl extends ServiceImpl<DeliveryMapper, Delivery> i
|
|
|
R weightR = iOrderItemsClient.updateActualWeight(e.getSrcId(), invoiceWeight, 2);
|
|
|
if(!weightR.isSuccess())
|
|
|
{
|
|
|
- throw new SecurityException("更新采购明细失败->已发发票重量:"+r.getMsg());
|
|
|
+ throw new SecurityException("更新采购明细失败->已发发票重量");
|
|
|
}
|
|
|
}
|
|
|
//查询stock,后续更新stock数量
|