| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | /** ok 1 |
| | | * 获取累计流量超过指定值的取水口 |
| | | * @param qo |
| | | * @return |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | /** ok 2 |
| | | * 获取累计流量低于指定值的取水口 |
| | | * @param qo |
| | | * @return |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | /** ok 3 |
| | | * 指定时间段内用水量超过指定值的取水口 |
| | | * @param |
| | | * @return |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | /** ok 4 |
| | | * 指定时间段内消费金额超过指定值的取水口 |
| | | * @param |
| | | * @return |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 指定时间段内用水次数超过指定值的取水口 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getUseWaterTimesGtValueIntakes") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoIntakeAccumulateAmount>>> getUseWaterTimesGtValueIntakes(IntakeCountValueQO qo) { |
| | | try { |
| | | QueryResultVo<List<VoIntakeAccumulateAmount>> res = intakeSv.getUseWaterTimesGtValueIntakes(qo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 指定时间段内用水时长超过指定值的取水口 |
| | |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 最近未报数的取水口 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getUnReportedIntakes") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoIntakeUnReported>>> getUnReportedIntakes(CommonQO qo) { |
| | | try { |
| | | QueryResultVo<List<VoIntakeUnReported>> res = intakeSv.getUnReportedIntakes(qo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | } |