GlobalLocationDao.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package com.welampiot.dao;
  2. import com.welampiot.dto.GlobalLocationDTO;
  3. import com.welampiot.vo.GlobalLocationVO;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * ClassName: GlobalLocationDao
  8. * Package: com.welampiot.dao
  9. * Description:
  10. *
  11. * @Author: zhj_Start
  12. * @Create: 2023/3/22 - 17:30
  13. * @Version: v1.0
  14. */
  15. public interface GlobalLocationDao {
  16. List<GlobalLocationDTO> getAreaByLevel(@Param("version") Integer version, @Param("level") Integer level);
  17. List<GlobalLocationDTO> getAreaByLevelAndPid(@Param("version") Integer version, @Param("level") Integer level, @Param("pid") Integer pid);
  18. List<GlobalLocationDTO> getListByPid(@Param("pid") Integer pid);
  19. List<GlobalLocationDTO> getListByPidList(@Param("pids") List pids);
  20. List<GlobalLocationDTO> getUserProvinceNav(GlobalLocationVO globalLocationVO);
  21. GlobalLocationDTO getOneById(@Param("id") Integer id);
  22. GlobalLocationDTO getGlobalLocationDTOById(@Param("id") Integer id, @Param("version") Integer version);
  23. List<GlobalLocationDTO> getLocationListByPid(@Param("pid") Integer pid, @Param("version") Integer version);
  24. List<GlobalLocationDTO> getGlobalList(@Param("level") Integer level,@Param("version") Integer version);
  25. Integer getAreaTimezoneById(@Param("id") Integer id);
  26. List<GlobalLocationDTO> getAreaListByPid(@Param("pid") Integer pid, @Param("version") Integer version);
  27. List<GlobalLocationDTO> getCityListByPid(@Param("pid") Integer pid, @Param("version") Integer version);
  28. List<GlobalLocationDTO> getOnlyOneLevelList(@Param("level") Integer level,@Param("version") Integer version);
  29. List<GlobalLocationDTO> getCountryOfSectionList(@Param("version") Integer version);
  30. }