diff --git a/nflg-wms-repository/src/main/java/com/nflg/wms/repository/service/impl/WmsInventoryServiceImpl.java b/nflg-wms-repository/src/main/java/com/nflg/wms/repository/service/impl/WmsInventoryServiceImpl.java index 8e28163e..bdd5d142 100644 --- a/nflg-wms-repository/src/main/java/com/nflg/wms/repository/service/impl/WmsInventoryServiceImpl.java +++ b/nflg-wms-repository/src/main/java/com/nflg/wms/repository/service/impl/WmsInventoryServiceImpl.java @@ -86,7 +86,9 @@ public class WmsInventoryServiceImpl extends ServiceImpl { + VUtil.trueThrowBusinessError(!updateById(inventory)).throwMessage("库存更新失败"); + }); } @Transactional @@ -130,7 +132,9 @@ public class WmsInventoryServiceImpl extends ServiceImpl { + VUtil.trueThrowBusinessError(!updateById(inventory)).throwMessage("库存更新失败"); + }); } }