pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/statistics/StSomeCtrl.java
@@ -19,11 +19,21 @@
@RequestMapping(path = "stSome")
public class StSomeCtrl {
    private StClientAmountSv stClientAmountSv;
    private StClientAmountDaySv stClientAmountDaySv;
    private StClientAmountMonthSv stClientAmountMonthSv;
    private StClientAmountYearSv stClientAmountYearSv;
    @Autowired
    private void setSv(StClientAmountSv sv) {
        this.stClientAmountSv = sv;
    private void setSv(StClientAmountDaySv sv) {
        this.stClientAmountDaySv = sv;
    }
    @Autowired
    private void setSv(StClientAmountMonthSv sv) {
        this.stClientAmountMonthSv = sv;
    }
    @Autowired
    private void setSv(StClientAmountYearSv sv) {
        this.stClientAmountYearSv = sv;
    }
    ///////////////////////////////////////////
@@ -38,8 +48,30 @@
    @GetMapping(path = "transSaveClientAmountDay")
    @SsoAop()
    public BaseResponse<Boolean> transSaveClientAmountDay() throws Exception{
        this.stClientAmountSv.deleteAllStClientAmountDay();
        this.stClientAmountSv.transSaveClientAmountDay();
        this.stClientAmountDaySv.deleteAllStClientAmountDay();
        this.stClientAmountDaySv.transSaveClientAmountDay();
        return BaseResponseUtils.buildSuccess(true);
    }
    /**
     * 统计农户月取水量
     * @return
     */
    @GetMapping(path = "statisticsClientAmountMonth")
    @SsoAop()
    public BaseResponse<Boolean> statisticsClientAmountMonth() throws Exception{
        this.stClientAmountMonthSv.deleteAllStClientAmountMonth();
        this.stClientAmountMonthSv.statisticsClientAmountMonth();
        return BaseResponseUtils.buildSuccess(true);
    }
   /**
     * 统计农户年取水量
     * @return
     */
    @GetMapping(path = "statisticsClientAmountYear")
    @SsoAop()
    public BaseResponse<Boolean> statisticsClientAmountYear() throws Exception{
        this.stClientAmountYearSv.deleteAllStClientAmountYear();
        this.stClientAmountYearSv.statisticsClientAmountYear();
        return BaseResponseUtils.buildSuccess(true);
    }