Van333
2022-06-07 a42cacf1663d5744bab87fed467d5445d865b7e1
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
package api.dao;
 
import api.bean.LampEntity;
import api.bean.SinglelampDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
/**
 * @author van
 * @version 1.0
 * msg:
 * @date 2021/12/16 15:56
 */
 
@Mapper
@Repository
public interface SinglelampDataDao {
    /**超级管理员查找全部*/
    List<SinglelampDataEntity> selectAll();
    /**普通管理员按公司查找*/
    List<SinglelampDataEntity> selectByCompany(@Param("page") Integer page, @Param("size") Integer size,@Param("userId") Long userId);
    /**用户查找*/
    //List<SinglelampDataEntity> selectByUserId(Long userId);
    /**单个灯杆数据*/
    List<SinglelampDataEntity> selectByStreetlightId(String mac);
}