code format

master
erzhongxmu 2024-03-13 18:00:30 +08:00
parent b9f2412985
commit 035be23c99
2 changed files with 6 additions and 14 deletions

View File

@ -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);

View File

@ -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;