From fb0f3e8b033cf7d703067c0f18b7debbdce456ee Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Thu, 14 Mar 2024 20:58:05 +0800 Subject: [PATCH] code formate --- .../com/zzjee/wm/controller/WvStockController.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/main/java/com/zzjee/wm/controller/WvStockController.java b/src/main/java/com/zzjee/wm/controller/WvStockController.java index 5f7052fe..abba929a 100644 --- a/src/main/java/com/zzjee/wm/controller/WvStockController.java +++ b/src/main/java/com/zzjee/wm/controller/WvStockController.java @@ -243,7 +243,6 @@ public class WvStockController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "生成盘点单删除失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -271,7 +270,6 @@ public class WvStockController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "盘点单删除失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -295,7 +293,6 @@ public class WvStockController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "盘点单添加失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -348,7 +345,6 @@ public class WvStockController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "生成盘点单失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -392,7 +388,6 @@ public class WvStockController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "生成盘点单失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -450,7 +445,6 @@ public class WvStockController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "生成库存转移单失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -497,7 +491,6 @@ public class WvStockController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "生成库存转移单失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -562,7 +555,6 @@ public class WvStockController extends BaseController { } } catch (Exception e) { e.printStackTrace(); - message = "生成托盘转移单失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message); @@ -637,7 +629,6 @@ public class WvStockController extends BaseController { } D0.setOK(true); D0.setErrorMsg(message); - return new ResponseEntity(D0, HttpStatus.OK); } @@ -658,16 +649,13 @@ public class WvStockController extends BaseController { wmtomove.setCusName(t.getZhongWenQch()); wmtomove.setToCusCode(t.getCusCode()); wmtomove.setToCusName(t.getZhongWenQch()); - try { MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class, "keHuBianMa", t.getCusCode()); wmtomove.setCusName(mdcus.getZhongWenQch()); wmtomove.setToCusName(mdcus.getZhongWenQch()); } catch (Exception e) { - } - wmtomove.setGoodsId(t.getGoodsId()); wmtomove.setGoodsName(t.getShpMingCheng()); wmtomove.setGoodsProData(t.getGoodsProData()); @@ -684,7 +672,6 @@ public class WvStockController extends BaseController { Globals.Log_Leavel_INFO); } catch (Exception e) { e.printStackTrace(); - message = "生成托盘转移单失败"; throw new BusinessException(e.getMessage()); } j.setMsg(message);