SectionDao.java 1.1 KB

123456789101112131415161718192021222324252627
  1. package com.welampiot.dao;
  2. import com.welampiot.dto.SectionDTO;
  3. import com.welampiot.vo.SectionVO;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. public interface SectionDao {
  7. List<SectionDTO> getAllList(SectionDTO sectionDTO);
  8. List<SectionDTO> getListByPid(@Param("pid") Integer pid);
  9. List<SectionDTO> getListByPidList(@Param("pidList") List pidList);
  10. List<SectionDTO> getListByIdList(@Param("idList") List idList);
  11. SectionDTO getOneById(@Param("id") Integer id);
  12. List<SectionDTO> getPidBySectionList(SectionDTO dto);
  13. List<SectionDTO> getSectionListByDTO(SectionDTO dto);
  14. void addSectionData(SectionDTO dto);
  15. Integer checkNameRepeated(SectionDTO dto);
  16. Integer getSectionPidById(@Param("id") Integer id);
  17. void updateSectionData(SectionDTO dto);
  18. List<SectionDTO> getListByVO(SectionVO sectionVO);
  19. void deleteSectionDataById(@Param("id") Integer id);
  20. List<SectionDTO> getAllSectionList();
  21. List<SectionDTO> getAllSectionListByPid(@Param("id") Integer id);
  22. SectionDTO getDataByVO(SectionDTO dto);
  23. void updateSectionById(SectionDTO dto);
  24. }