public List<DepScope> list(int depId) { return depScopeDao.list("from DepScope ds where ds.oriDepId = ?", depId); }
public List<DepScope> list() { return depScopeDao.list("from DepScope"); }