code formate

master
erzhongxmu 2024-03-14 20:58:05 +08:00
parent 3b2bb0962d
commit fb0f3e8b03
1 changed files with 0 additions and 13 deletions

View File

@ -243,7 +243,6 @@ public class WvStockController extends BaseController {
Globals.Log_Leavel_INFO); Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成盘点单删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -271,7 +270,6 @@ public class WvStockController extends BaseController {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "盘点单删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -295,7 +293,6 @@ public class WvStockController extends BaseController {
Globals.Log_Leavel_INFO); Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "盘点单添加失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -348,7 +345,6 @@ public class WvStockController extends BaseController {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成盘点单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -392,7 +388,6 @@ public class WvStockController extends BaseController {
Globals.Log_Leavel_INFO); Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成盘点单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -450,7 +445,6 @@ public class WvStockController extends BaseController {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成库存转移单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -497,7 +491,6 @@ public class WvStockController extends BaseController {
Globals.Log_Leavel_INFO); Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成库存转移单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -562,7 +555,6 @@ public class WvStockController extends BaseController {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成托盘转移单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -637,7 +629,6 @@ public class WvStockController extends BaseController {
} }
D0.setOK(true); D0.setOK(true);
D0.setErrorMsg(message); D0.setErrorMsg(message);
return new ResponseEntity(D0, HttpStatus.OK); return new ResponseEntity(D0, HttpStatus.OK);
} }
@ -658,16 +649,13 @@ public class WvStockController extends BaseController {
wmtomove.setCusName(t.getZhongWenQch()); wmtomove.setCusName(t.getZhongWenQch());
wmtomove.setToCusCode(t.getCusCode()); wmtomove.setToCusCode(t.getCusCode());
wmtomove.setToCusName(t.getZhongWenQch()); wmtomove.setToCusName(t.getZhongWenQch());
try { try {
MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class, "keHuBianMa", t.getCusCode()); MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class, "keHuBianMa", t.getCusCode());
wmtomove.setCusName(mdcus.getZhongWenQch()); wmtomove.setCusName(mdcus.getZhongWenQch());
wmtomove.setToCusName(mdcus.getZhongWenQch()); wmtomove.setToCusName(mdcus.getZhongWenQch());
} catch (Exception e) { } catch (Exception e) {
} }
wmtomove.setGoodsId(t.getGoodsId()); wmtomove.setGoodsId(t.getGoodsId());
wmtomove.setGoodsName(t.getShpMingCheng()); wmtomove.setGoodsName(t.getShpMingCheng());
wmtomove.setGoodsProData(t.getGoodsProData()); wmtomove.setGoodsProData(t.getGoodsProData());
@ -684,7 +672,6 @@ public class WvStockController extends BaseController {
Globals.Log_Leavel_INFO); Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "生成托盘转移单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);