GlobalLocationService.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.welampiot.service;
  2. import com.welampiot.dto.GlobalLocationDTO;
  3. import com.welampiot.dto.SectionDTO;
  4. import com.welampiot.vo.BaseVO;
  5. import com.welampiot.vo.GlobalLocationVO;
  6. import org.apache.ibatis.annotations.Param;
  7. import java.util.List;
  8. /**
  9. * ClassName: GlobalLocationService
  10. * Package: com.welampiot.service
  11. * Description:
  12. *
  13. * @Author: zhj_Start
  14. * @Create: 2023/3/22 - 17:35
  15. * @Version: v1.0
  16. */
  17. public interface GlobalLocationService {
  18. List<GlobalLocationDTO> getAreaByLevel(Integer version,Integer level);
  19. List<GlobalLocationDTO> getAreaByLevelAndPid(Integer version, Integer level, Integer pid);
  20. List<GlobalLocationDTO> getListByPid(Integer pid);
  21. List<GlobalLocationDTO> getListByPidList(List pids);
  22. List<GlobalLocationDTO> getUserProvinceNav(GlobalLocationVO globalLocationVO);
  23. List<GlobalLocationDTO> getUserCityNav(GlobalLocationVO globalLocationVO);
  24. List<GlobalLocationDTO> getUserAreaNav(GlobalLocationVO globalLocationVO);
  25. GlobalLocationDTO getOneById(@Param("id") Integer id);
  26. GlobalLocationDTO getGlobalLocationDTOById(Integer id, Integer version);
  27. List<GlobalLocationDTO> getLocationListByPid(Integer pid, Integer version);
  28. List<GlobalLocationDTO> getGlobalList(Integer level, Integer version);
  29. Integer getAreaTimezoneById(Integer id);
  30. List<GlobalLocationDTO> getAreaListByPid(Integer pid, Integer version);
  31. List<GlobalLocationDTO> getCityListByPid(Integer pid, Integer version);
  32. List<GlobalLocationDTO> getOnlyOneLevelList(Integer level, Integer version);
  33. List<GlobalLocationDTO> getCountryOfSectionList(Integer level, Integer version);
  34. GlobalLocationDTO getDataByDto(GlobalLocationDTO dto);
  35. List<GlobalLocationDTO> getAreaList(GlobalLocationDTO dto);
  36. GlobalLocationDTO getTimeZoneData(SectionDTO dto);
  37. GlobalLocationDTO getLocationBySectionId(Integer sectionId);
  38. List<GlobalLocationDTO> getProvinceCityNavByBaseVO(BaseVO baseVO);
  39. List<GlobalLocationDTO> getAreaSectionNavByBaseVO(BaseVO baseVO);
  40. }