| | |
| | | */ |
| | | @GetMapping(path = "/getMonthIntakeAmount") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoMonthIntakeAmount>>> getMonthIntakeAmount(IntakeAmountQO qo) { |
| | | public BaseResponse<QueryResultVo<List<VoMonthAmount>>> getMonthIntakeAmount(IntakeAmountQO qo) { |
| | | try { |
| | | return BaseResponseUtils.buildSuccess(intakeSv.getMonthIntakeAmount(qo)); |
| | | } catch (Exception e) { |
| | |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 统计指定月份各天漏损量 |
| | | * @param qo |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getDayLossAmount") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoDayLoss>>> getDayLossAmount(IntakeAmountQO qo) { |
| | | try { |
| | | return BaseResponseUtils.buildSuccess(intakeSv.getDayLossAmount(qo)); |
| | | } catch (Exception e) { |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 统计指定年份各月漏损量 |
| | | * @param qo |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getMonthLossAmount") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoMonthAmount>>> getMonthLossAmount(IntakeAmountQO qo) { |
| | | try { |
| | | return BaseResponseUtils.buildSuccess(intakeSv.getMonthLossAmount(qo)); |
| | | } catch (Exception e) { |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | } |