|  |  |  | 
|---|
|  |  |  | @RequestMapping(path = "stSome") | 
|---|
|  |  |  | public class StSomeCtrl { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private StClientAmountSv stSomeClientAmountSv; | 
|---|
|  |  |  | private StClientAmountDaySv stClientAmountDaySv; | 
|---|
|  |  |  | private StClientAmountMonthSv stClientAmountMonthSv; | 
|---|
|  |  |  | private StClientAmountYearSv stClientAmountYearSv; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private void setSv(StClientAmountSv sv) { | 
|---|
|  |  |  | this.stSomeClientAmountSv = 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; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /////////////////////////////////////////// | 
|---|
|  |  |  | 
|---|
|  |  |  | @GetMapping(path = "transSaveClientAmountDay") | 
|---|
|  |  |  | @SsoAop() | 
|---|
|  |  |  | public BaseResponse<Boolean> transSaveClientAmountDay() throws Exception{ | 
|---|
|  |  |  | this.stSomeClientAmountSv.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); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|