diff --git a/src/main/java/com/dao/SubClassifyInfoDao.java b/src/main/java/com/dao/SubClassifyInfoDao.java new file mode 100644 index 0000000..1e2338e --- /dev/null +++ b/src/main/java/com/dao/SubClassifyInfoDao.java @@ -0,0 +1,17 @@ +package com.example.dao; + +import com.example.entity.SubClassifyInfo; +import com.example.vo.SubClassifyInfoVo; +import org.apache.ibatis.annotations.Param; +import org.springframework.stereotype.Repository; +import tk.mybatis.mapper.common.Mapper; + +import java.util.List; + +@Repository +public interface SubClassifyInfoDao extends Mapper { + List findByName(@Param("name") String name); + + + List findByClassifyId(Long classifyId); +}