liurunyu
6 天以前 6ebc3a4e7dc07f92e30a10f93bb19c32bef34d1c
pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/allRound/Ar4BaseSv.java
@@ -1,7 +1,6 @@
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;
@@ -29,12 +28,11 @@
     * 取水口基本信息
     * @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 ;
    }
}