| | |
| | | import com.dy.common.aop.SsoAop; |
| | | import com.dy.common.webUtil.BaseResponse; |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.common.webUtil.ResultCodeMsg; |
| | | import com.dy.pipIrrGlobal.VoAllRound.VoArIntakeBase; |
| | | import com.dy.pipIrrGlobal.voAllRound.VoArIntakeBase; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.media.Content; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | |
| | | /** |
| | | * 综合信息 |
| | | * 取水口基本信息 |
| | | * @return 所有片区数据 |
| | | * @return 取水口基本信息 |
| | | */ |
| | | @Operation(summary = "综合信息", description = "取水口基本信息") |
| | | @ApiResponses(value = { |
| | |
| | | }) |
| | | @GetMapping(path = "intakeInfo") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<VoArIntakeBase>> intakeInfo(Long intakeId) { |
| | | public BaseResponse<VoArIntakeBase> intakeInfo(Long intakeId) { |
| | | if (intakeId == null || intakeId.longValue() == 0L) { |
| | | return BaseResponseUtils.buildException("取水口id不能为空"); |
| | | } |
| | | QueryResultVo<VoArIntakeBase> res = this.sv.intakeInfo(intakeId); |
| | | VoArIntakeBase res = this.sv.intakeInfo(intakeId); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } |
| | | } |