GlobalLocationDao.java 2.2 KB

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