| | |
| | | package com.dy.pipIrrBase.allRound; |
| | | |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pipIrrGlobal.VoAllRound.VoArIntakeBase; |
| | | import com.dy.pipIrrGlobal.voAllRound.VoArIntakeBase; |
| | | import com.dy.pipIrrGlobal.daoAllRound.Ar4BaseMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | * 取水口基本信息 |
| | | * @return 取水口基本信息 |
| | | */ |
| | | public QueryResultVo<VoArIntakeBase> intakeInfo(Long intakeId){ |
| | | QueryResultVo<VoArIntakeBase> rsVo = new QueryResultVo<>() ; |
| | | public VoArIntakeBase intakeInfo(Long intakeId){ |
| | | List<VoArIntakeBase> list = this.dao.intakeInfo(intakeId); |
| | | if(list != null && list.size() > 0){ |
| | | rsVo.obj = list.get(0) ; |
| | | return list.get(0) ; |
| | | } |
| | | return rsVo ; |
| | | return null ; |
| | | } |
| | | } |