package com.welampiot.dao; import com.welampiot.dto.SectionDTO; import com.welampiot.vo.SectionVO; import org.apache.ibatis.annotations.Param; import java.util.List; public interface SectionDao { List getAllList(SectionDTO sectionDTO); List getListByPid(@Param("pid") Integer pid); List getListByPidList(@Param("pidList") List pidList); List getListByIdList(@Param("idList") List idList); SectionDTO getOneById(@Param("id") Integer id); List getPidBySectionList(SectionDTO dto); List getSectionListByDTO(SectionDTO dto); void addSectionData(SectionDTO dto); Integer checkNameRepeated(SectionDTO dto); Integer getSectionPidById(@Param("id") Integer id); void updateSectionData(SectionDTO dto); List getListByVO(SectionVO sectionVO); void deleteSectionDataById(@Param("id") Integer id); List getAllSectionList(); List getAllSectionListByPid(@Param("id") Integer id); SectionDTO getDataByVO(SectionDTO dto); void updateSectionById(SectionDTO dto); }