diff --git a/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java b/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java index 2dc49e56..fe640973 100644 --- a/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java +++ b/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java @@ -231,8 +231,7 @@ public class WmToDownGoodsController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "下架商品明细删除失败"; - throw new BusinessException(e.getMessage()); + throw new BusinessException(e.getMessage()); } j.setMsg(message); return j; @@ -259,7 +258,6 @@ public class WmToDownGoodsController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "下架商品明细删除失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -309,7 +307,6 @@ public class WmToDownGoodsController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "批量复核失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); diff --git a/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java b/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java index eaf3b17e..1d60180a 100644 --- a/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java +++ b/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java @@ -136,8 +136,7 @@ public class WmToMoveGoodsController extends BaseController { systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "库存转移删除失败"; - throw new BusinessException(e.getMessage()); + throw new BusinessException(e.getMessage()); } j.setMsg(message); return j; @@ -174,8 +173,7 @@ public class WmToMoveGoodsController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "批量设置状态失败"; - throw new BusinessException(e.getMessage()); + throw new BusinessException(e.getMessage()); } j.setMsg(message); return j; @@ -203,8 +201,7 @@ public class WmToMoveGoodsController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "库存转移删除失败"; - throw new BusinessException(e.getMessage()); + throw new BusinessException(e.getMessage()); } j.setMsg(message); return j; @@ -240,8 +237,7 @@ public class WmToMoveGoodsController extends BaseController { systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "库存转移添加失败"; - throw new BusinessException(e.getMessage()); + throw new BusinessException(e.getMessage()); } j.setMsg(message); return j; @@ -272,8 +268,7 @@ public class WmToMoveGoodsController extends BaseController { systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "库存转移更新失败"; - throw new BusinessException(e.getMessage()); + throw new BusinessException(e.getMessage()); } j.setMsg(message); return j;