TdGGuideScreenSMapper.java 1.65 KB
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);

}