GlobalLocationDao.java 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package com.welampiot.dao;
  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: GlobalLocationDao
  10. * Package: com.welampiot.dao
  11. * Description:
  12. *
  13. * @Author: zhj_Start
  14. * @Create: 2023/3/22 - 17:30
  15. * @Version: v1.0
  16. */
  17. public interface GlobalLocationDao {
  18. List<GlobalLocationDTO> getAreaByLevel(@Param("version") Integer version, @Param("level") Integer level);
  19. List<GlobalLocationDTO> getAreaByLevelAndPid(@Param("version") Integer version, @Param("level") Integer level, @Param("pid") Integer pid);
  20. List<GlobalLocationDTO> getListByPid(@Param("pid") Integer pid);
  21. List<GlobalLocationDTO> getListByPidList(@Param("pids") List pids);
  22. List<GlobalLocationDTO> getUserProvinceNav(GlobalLocationVO globalLocationVO);
  23. GlobalLocationDTO getOneById(@Param("id") Integer id);
  24. GlobalLocationDTO getGlobalLocationDTOById(@Param("id") Integer id, @Param("version") Integer version);
  25. List<GlobalLocationDTO> getLocationListByPid(@Param("pid") Integer pid, @Param("version") Integer version);
  26. List<GlobalLocationDTO> getGlobalList(@Param("level") Integer level,@Param("version") Integer version);
  27. Integer getAreaTimezoneById(@Param("id") Integer id);
  28. List<GlobalLocationDTO> getAreaListByPid(@Param("pid") Integer pid, @Param("version") Integer version);
  29. List<GlobalLocationDTO> getCityListByPid(@Param("pid") Integer pid, @Param("version") Integer version);
  30. List<GlobalLocationDTO> getOnlyOneLevelList(@Param("level") Integer level,@Param("version") Integer version);
  31. List<GlobalLocationDTO> getCountryOfSectionList(@Param("level") Integer level,@Param("version") Integer version);
  32. List<GlobalLocationDTO> getAreaLampCountList(GlobalLocationVO vo);
  33. List<GlobalLocationDTO> getAreaLampPoleCountList(GlobalLocationVO vo);
  34. List<GlobalLocationDTO> getCityLampCountList(GlobalLocationVO vo);
  35. List<GlobalLocationDTO> getCityLampPoleCountList(GlobalLocationVO vo);
  36. GlobalLocationDTO getDataByDto(GlobalLocationDTO dto);
  37. List<GlobalLocationDTO> getAreaList(GlobalLocationDTO dto);
  38. GlobalLocationDTO getTimeZoneData(SectionDTO dto);
  39. GlobalLocationDTO getLocationBySectionId(@Param("sectionId") Integer sectionId);
  40. List<GlobalLocationDTO> getProvinceCityNavByBaseVO(BaseVO baseVO);
  41. List<GlobalLocationDTO> getAreaSectionNavByBaseVO(BaseVO baseVO);
  42. }