code format

master
erzhongxmu 2024-02-23 18:28:33 +08:00
parent 1c7e96d951
commit f992e11190
2 changed files with 8 additions and 16 deletions

View File

@ -150,8 +150,7 @@ public class BaTrayController extends BaseController {
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
}catch(Exception e){
e.printStackTrace();
message = "ba_tray删除失败";
throw new BusinessException(e.getMessage());
throw new BusinessException(e.getMessage());
}
j.setMsg(message);
return j;
@ -178,8 +177,7 @@ public class BaTrayController extends BaseController {
}
}catch(Exception e){
e.printStackTrace();
message = "ba_tray删除失败";
throw new BusinessException(e.getMessage());
throw new BusinessException(e.getMessage());
}
j.setMsg(message);
return j;
@ -203,8 +201,7 @@ public class BaTrayController extends BaseController {
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
}catch(Exception e){
e.printStackTrace();
message = "ba_tray添加失败";
throw new BusinessException(e.getMessage());
throw new BusinessException(e.getMessage());
}
j.setMsg(message);
return j;
@ -229,8 +226,7 @@ public class BaTrayController extends BaseController {
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
} catch (Exception e) {
e.printStackTrace();
message = "ba_tray更新失败";
throw new BusinessException(e.getMessage());
throw new BusinessException(e.getMessage());
}
j.setMsg(message);
return j;

View File

@ -146,8 +146,7 @@ public class WmCusCostHController 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;
@ -173,8 +172,7 @@ public class WmCusCostHController extends BaseController {
}
}catch(Exception e){
e.printStackTrace();
message = "客户费用删除失败";
throw new BusinessException(e.getMessage());
throw new BusinessException(e.getMessage());
}
j.setMsg(message);
return j;
@ -197,8 +195,7 @@ public class WmCusCostHController 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);
j.setObj(wmCusCostH);
@ -221,8 +218,7 @@ public class WmCusCostHController 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;