liurunyu
2025-02-11 23fd053ec297e0ceae3a01fa3a205af05d3aea54
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 ;
    }
}