代码规范

master
erzhongxmu 2024-01-10 20:41:01 +08:00
parent e3554b9da7
commit 44b8f61bf4
2 changed files with 0 additions and 10 deletions

View File

@ -43,10 +43,6 @@ public class RpPeriodInOutController extends BaseController {
@Autowired @Autowired
private RpPeriodInOutServiceI rpPeriodInOutService; private RpPeriodInOutServiceI rpPeriodInOutService;
// @Autowired
// private SystemService systemService;
// @Autowired
// private Validator validator;
/** /**

View File

@ -149,7 +149,6 @@ public class WvDayCostSumController extends BaseController {
+ sdayCostHsj + ""); + sdayCostHsj + "");
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
// TODO: handle exception
} }
TagUtil.datagrid(response, dataGrid); TagUtil.datagrid(response, dataGrid);
@ -198,7 +197,6 @@ public class WvDayCostSumController extends BaseController {
+ sdayCostBhs + ",shuie:" + sdayCostSe + ",hansj:" + sdayCostBhs + ",shuie:" + sdayCostSe + ",hansj:"
+ sdayCostHsj + ""); + sdayCostHsj + "");
} catch (Exception e) { } catch (Exception e) {
// TODO: handle exception
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
@ -222,7 +220,6 @@ public class WvDayCostSumController extends BaseController {
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_DEL, 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);
@ -250,7 +247,6 @@ public class WvDayCostSumController 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);
@ -275,7 +271,6 @@ public class WvDayCostSumController extends BaseController {
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_INSERT, 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);
@ -301,7 +296,6 @@ public class WvDayCostSumController extends BaseController {
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "wv_day_cost_sum更新失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);