| | |
| | | import com.dy.pipIrrGlobal.excel.CellWriteHandler; |
| | | import com.dy.pipIrrGlobal.excel.ExcelUtil; |
| | | import com.dy.pipIrrGlobal.pojoPr.PrIntake; |
| | | import com.dy.pipIrrGlobal.voPr.VoAllIntake; |
| | | import com.dy.pipIrrGlobal.voPr.VoIntake; |
| | | import com.dy.pipIrrGlobal.voPr.VoOnLineIntake; |
| | | import com.dy.pipIrrGlobal.voPr.*; |
| | | import com.dy.pipIrrGlobal.voSe.VoActiveCard; |
| | | import com.dy.pipIrrGlobal.voPr.IntakeUpdateLngLat; |
| | | import com.dy.pipIrrProject.result.ProjectResultCode; |
| | | import com.taobao.api.ApiException; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取未绑定到轮灌组的取水口列表 |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "getFreeIntakes") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoIntakeSimple>>> getFreeIntakes() { |
| | | try { |
| | | QueryResultVo<List<VoIntakeSimple>> res = intakeSv.getFreeIntakes(); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("查询取水口异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | } |
| | | } |