liurunyu
2025-08-13 77f31f98b476273ffd6ca03e5d42b18cb6b3c480
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
40
41
package com.dy.pipIrrWechat.mqtt;
 
import com.dy.pipIrrGlobal.daoPr.PrStManureMapper;
import com.dy.pipIrrGlobal.daoPr.PrStSoilMapper;
import com.dy.pipIrrGlobal.daoPr.PrStWeatherMapper;
import com.dy.pipIrrGlobal.voPr.VoMqttSimple;
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/8/13 16:41
 * @Description
 */
@Slf4j
@Service
public class MqttSv {
 
    @Autowired
    private PrStManureMapper manureDao;
    @Autowired
    private PrStSoilMapper soilDao;
    @Autowired
    private PrStWeatherMapper weatherDao;
 
    public List<VoMqttSimple> allManureSimple(){
        return this.manureDao.selectAllSimple() ;
    }
 
    public List<VoMqttSimple> allSoilSimple(){
        return this.soilDao.selectAllSimple() ;
    }
 
    public List<VoMqttSimple> allWeatherSimple(){
        return this.weatherDao.selectAllSimple() ;
    }
 
}