Van333
2022-10-26 b54ea64cbb2cf8d613ca1ecf6ed9e5140abb4b9f
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
package api.dao;
 
import api.bean.PoleSensorV2SoilVOEntity;
import api.bean.PoleSensorV2VOEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
/**
 * 耕农 北理工
 **/
@Mapper
@Repository
public interface WeatherV2Dao {
 
    List<PoleSensorV2VOEntity> selectAll();
 
    List<PoleSensorV2VOEntity> selectByCompany(Long userId);
 
    List<PoleSensorV2VOEntity> selectByUserId(Long userId);
 
    List<PoleSensorV2VOEntity> getSensorByPoleId(Long poleId);
 
    List<PoleSensorV2SoilVOEntity> selectAllForSoil();
 
    List<PoleSensorV2SoilVOEntity> selectByCompanyForSoil(Long userId);
 
    List<PoleSensorV2SoilVOEntity> selectByUserIdForSoil(Long userId);
 
 
    List<PoleSensorV2SoilVOEntity> getSensorByMac(String mac);
}