package com.dy.pipIrrBase.allRound;
|
|
import com.dy.common.webUtil.QueryResultVo;
|
import com.dy.pipIrrGlobal.VoAllRound.VoArIntakeBase;
|
import com.dy.pipIrrGlobal.daoAllRound.Ar4BaseMapper;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* @Author: liurunyu
|
* @Date: 2025/1/14 15:57
|
* @Description
|
*/
|
@Slf4j
|
@Service
|
public class Ar4BaseSv {
|
|
private Ar4BaseMapper dao ;
|
|
@Autowired
|
private void setDao(Ar4BaseMapper dao){
|
this.dao = dao;
|
}
|
|
/**
|
* 取水口基本信息
|
* @return 取水口基本信息
|
*/
|
public VoArIntakeBase intakeInfo(Long intakeId){
|
List<VoArIntakeBase> list = this.dao.intakeInfo(intakeId);
|
if(list != null && list.size() > 0){
|
return list.get(0) ;
|
}
|
return null ;
|
}
|
}
|