Blame view

parking-module-park/src/main/java/com/zteits/park/mapper/smapper/TdGGuideScreenSMapper.java 1.65 KB
9af4a544   王彪总   新项目
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
  package com.zteits.park.mapper.smapper;
  
  import java.util.List;
  
  import com.zteits.clouds.api.dto.park.param.GuideScreenListGeoRequest;
  import org.apache.ibatis.annotations.Param;
  
  import com.zteits.clouds.api.dto.park.param.GuideScreenListByAreaCodesRequest;
  import com.zteits.park.domain.GuideScreenGeo;
  import com.zteits.park.domain.GuideScreenLevelStatistics;
  import com.zteits.park.domain.TdGGuideScreen;
  
  public interface TdGGuideScreenSMapper {
      /**
       * 根据行政区域编码 查询诱导屏信息
       *
       * @param areaCodes 区域编码列表
       * @param levels    诱导屏等级
       * @return
       */
  	List<TdGGuideScreen>  listGuideScreenByAreaCodes(GuideScreenListByAreaCodesRequest request);
  
      /**
       * 根据行政区编码 统计各个诱导屏数量
       *
       * @param areaCodes 区域编码列表
       * @return
       */
      List<GuideScreenLevelStatistics> statisticsGuideScreenLevelByAreaCodes(@Param("areaCodes") List<Long> areaCodes,
      		 @Param("cityId") String cityId, @Param("dataState") Integer dataState,@Param("orgId")Long orgId);
  
      /**
       * 根据区域编码 与级别 查询
       *
       * @param areaCodes 区域编码列表 非必填 如果为null,区域不进行限制
       * @param levels    诱导等级 非必填 如果为null,诱导屏幕等级不进行限制
       * @param dataState 数据状态 非必填
       * @return
       */
      List<GuideScreenGeo> listGuideScreenGeo(GuideScreenListGeoRequest request);
  
      /**
       * 批量新增
       * @param tdGGuideScreens
       * @return
       * 2018年12月18日 wangfei
       */
  	int bathInsertGuideScreens(@Param("tdGGuideScreens")List<TdGGuideScreen> tdGGuideScreens);
  
  }