| | |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pipIrrGlobal.voSt.VoDayLoss; |
| | | import com.dy.pipIrrGlobal.voSt.VoMonthAmount; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | */ |
| | | @GetMapping(path = "/lossAmountOfMonth") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoDayLoss>>> lossAmountOfMonth(LossQo qo) throws Exception { |
| | | public BaseResponse<QueryResultVo<List<VoMonthAmount>>> lossAmountOfMonth(LossQo qo) throws Exception { |
| | | if(qo.getYear() == null) { |
| | | return BaseResponseUtils.buildErrorMsg("查询条件年度不能为空"); |
| | | } |