package com.dy.pipIrrTemp.statistics; import com.dy.common.aop.SsoAop; import com.dy.common.webUtil.BaseResponse; import com.dy.common.webUtil.BaseResponseUtils; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Author: liurunyu * @Date: 2024/12/28 13:05 * @Description */ @Slf4j @RestController @RequestMapping(path = "stSome") public class StSomeCtrl { private StClientAmountSv stSomeClientAmountSv; @Autowired private void setSv(StClientAmountSv sv) { this.stSomeClientAmountSv = sv; } /////////////////////////////////////////// // // 农户相关取水量 // /////////////////////////////////////////// /** * 转存农户日取水量,由纵型改为横型 * @return */ @GetMapping(path = "transSaveClientAmountDay") @SsoAop() public BaseResponse transSaveClientAmountDay() throws Exception{ this.stSomeClientAmountSv.transSaveClientAmountDay(); return BaseResponseUtils.buildSuccess(true); } }