package com.welampiot.dao; import com.welampiot.dto.GlobalLocationDTO; import com.welampiot.dto.SectionDTO; import com.welampiot.vo.GlobalLocationVO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * ClassName: GlobalLocationDao * Package: com.welampiot.dao * Description: * * @Author: zhj_Start * @Create: 2023/3/22 - 17:30 * @Version: v1.0 */ public interface GlobalLocationDao { List getAreaByLevel(@Param("version") Integer version, @Param("level") Integer level); List getAreaByLevelAndPid(@Param("version") Integer version, @Param("level") Integer level, @Param("pid") Integer pid); List getListByPid(@Param("pid") Integer pid); List getListByPidList(@Param("pids") List pids); List getUserProvinceNav(GlobalLocationVO globalLocationVO); GlobalLocationDTO getOneById(@Param("id") Integer id); GlobalLocationDTO getGlobalLocationDTOById(@Param("id") Integer id, @Param("version") Integer version); List getLocationListByPid(@Param("pid") Integer pid, @Param("version") Integer version); List getGlobalList(@Param("level") Integer level,@Param("version") Integer version); Integer getAreaTimezoneById(@Param("id") Integer id); List getAreaListByPid(@Param("pid") Integer pid, @Param("version") Integer version); List getCityListByPid(@Param("pid") Integer pid, @Param("version") Integer version); List getOnlyOneLevelList(@Param("level") Integer level,@Param("version") Integer version); List getCountryOfSectionList(@Param("level") Integer level,@Param("version") Integer version); List getAreaLampCountList(GlobalLocationVO vo); List getAreaLampPoleCountList(GlobalLocationVO vo); List getCityLampCountList(GlobalLocationVO vo); List getCityLampPoleCountList(GlobalLocationVO vo); GlobalLocationDTO getDataByDto(GlobalLocationDTO dto); List getAreaList(GlobalLocationDTO dto); GlobalLocationDTO getTimeZoneData(SectionDTO dto); }