GuideScreenDao.java
3.56 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package com.zteits.park.dao;
import java.util.List;
import com.github.pagehelper.PageInfo;
import com.zteits.clouds.api.dto.park.param.GuideScreenListByAreaCodesRequest;
import com.zteits.clouds.api.dto.park.param.GuideScreenListGeoRequest;
import com.zteits.park.domain.GuideScreenGeo;
import com.zteits.park.domain.GuideScreenLevelStatistics;
import com.zteits.park.domain.TdGGuideParkRel;
import com.zteits.park.domain.TdGGuideScreen;
/**
* Copyright: Copyright (c) 2017 zteits
*
* @ClassName: com.zteits.park.dao
* @Description: 诱导屏查询dao层接口
* @version: v1.0.0
* @author: atao
* @date: 2017/7/3 下午4:12
* Modification History:
* Date Author Version Description
* ---------------------------------------------------------*
* 2017/7/3 atao v1.0.0 创建
*/
public interface GuideScreenDao {
/**
* 根据行政区域编码 以及 诱导屏幕等级 查询诱导屏信息
*
* @param areaCodes 区域编码列表 非必填 如果为null,区域不进行限制
* @param pageNum 当前页面 非必填,默认为1
* @param pageSize 页面条数 非必填,默认为10
* @param levels 诱导等级 非必填 如果为null,诱导屏幕等级不进行限制
* @param queryStr 输入框查询参数 ,模糊查询诱导屏名称 及诱导屏地址 非必填
* @param dataState 数据状态 非必填
* @return
*/
PageInfo<TdGGuideScreen> listGuideScreenByAreaCodes(GuideScreenListByAreaCodesRequest request);
/**
* 根据行政区编码 统计各个诱导屏数量
*
* @param areaCodes 区域编码列表 非必填 如果为null,区域不进行限制
* @param dataState 数据状态 非必填
* @return
*/
List<GuideScreenLevelStatistics> statisticsGuideScreenLevelByAreaCodes(List<Long> areaCodes, String cityId,Integer dataState,Long orgId);
/**
* 根据区域编码 与级别 查询 诱导屏的经纬度坐标
*
* @param areaCodes 区域编码列表 非必填 如果为null,区域不进行限制
* @param levels 诱导等级 非必填 如果为null,诱导屏幕等级不进行限制
* @param dataState 数据状态 非必填
* @return
*/
List<GuideScreenGeo> listGuideScreenGeo(GuideScreenListGeoRequest request);
/**
* 根据诱导牌编号 查询诱导屏信息
*
* @param guideNo 诱导屏编号 必填
* @param dataState 数据状态 非必填
* @return
*/
List<TdGGuideParkRel> getGuideScreenInfo(String guideNo, Integer dataState);
/**
* 根据诱导牌编号 查询诱导屏信息
*
* @param guideNo 诱导屏编号 必填
* @param dataState 数据状态 非必填
* @return
*/
TdGGuideScreen getBaseGuideScreenInfo(String guideNo,Integer dataState);
/**
* 根据组织ID 和 诱导屏编码 获取所有诱导屏信息
* @param orgId
* @param guideNos
* @return
*/
List<TdGGuideScreen> getAllGuideScreenInfo(Long orgId, List<String> guideNos);
/**
* 删除所有诱导屏信息
* @param guideNo
* @return
* 2018年12月18日 wangfei
*/
void deleteALLGuideScreenInfo(List<String> guideNo,Long orgId);
/**
* 批量新增
* @param tdGGuideParkRels
* @return
* 2018年12月18日 wangfei
*/
Boolean bathInsertGuideScreens(List<TdGGuideScreen> tdGGuideScreens);
/**
* 修改诱导屏信息
* @param tdGGuideScreen
* @return
* 2018年12月18日 wangfei
*/
Boolean updateByExampleSelective(TdGGuideScreen tdGGuideScreen);
}