📄 categorydao.java
字号:
package org.whatisjava.dang.dao;
import java.util.List;
import org.whatisjava.dang.domain.Category;
import org.whatisjava.dang.util.DaoException;
public interface CategoryDao {
public Category findById(Integer id, boolean withSub) throws DaoException;
public List<?> findByParentId(Integer parentId) throws DaoException;
public Category findThreeLevelById(Integer id) throws DaoException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -