fuliqi
2024-08-16 3aba543927fc015bfdb8fd1b844ce50a1f8dca91
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
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.ycl.platform.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ycl.platform.base.BaseSelect;
import com.ycl.platform.domain.entity.YwPoint;
import com.ycl.platform.domain.query.YwPointQuery;
import com.ycl.platform.domain.vo.YwPointVO;
import com.ycl.platform.domain.excel.PointExport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 运维点位 Mapper 接口
 *
 * @author xp
 * @since 2024-03-05
 */
@Mapper
public interface YwPointMapper extends BaseMapper<YwPoint> {
 
    /**
     * 下拉数据
     * @param keyword
     * @param unitId
     * @return
     */
    List<BaseSelect> selectData(@Param("keyword") String keyword, @Param("unitId") Integer unitId);
 
    IPage page(IPage<YwPointVO> page, @Param("query") YwPointQuery query);
 
    /**
     * 首页到期预警
     * @return 数据
     */
    List<YwPoint> home();
 
    /**
     * 通过标签查重点点位或省厅点位或重点指挥图像
     */
    List<YwPoint> selectByTag(@Param("important")Boolean important, @Param("province")Boolean province, @Param("commandImage")Boolean commandImage);
 
    /**
     * 导出数据
     *
     * @param query
     * @return
     */
    List<PointExport> export(@Param("query") YwPointQuery query);
 
    void deleteAll();
}