liurunyu
2025-02-05 845848661108dbce3759753a6005fb55f68dd188
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 ;
    }
}