### Question:
ProjectDao extends BaseDao { public List<Project> getProjectsNoGroup(Long appGroupId) throws SQLException { String cond = StringUtils.EMPTY; if (null != appGroupId && appGroupId > 0) { cond = " or app_group_id = " + appGroupId; } String sql = "SELECT id, app_id, name, namespace,dal_group_id,dal_config_name,update_user_no,update_time FROM project where app_group_id = 0" + cond; return this.queryBySql(sql, Project.class); }  Long insertProject(Project project); int deleteProject(Project project); int updateProject(Project project); int updateTokenByAppId(String app_id, String token); int updateProjectGroupById(int groupId, int id); int updateProjectAppGroupIdById(Long appGroupId, Set<Long> projectIds); int deleteProjectAppGroupIdById(Long appGroupId); int deleteProjectAppGroupIdByIdS(Set<Long> projectIds); Project getProjectByID(Long id); Project getProjectByAppId(String appId); ProjectView getProjectViewById(Long id); List<Project> getProjectByDbId(Integer dbId); List<Project> getProjectBydbsetId(Long dbsetId); List<Project> getProjectByGroupId(Long groupId); List<Project> getProjectByAppGroupId(Long appGroupId); Long getCountByName(String name); Long getCountByAppId(String app_id); Long getCountByIdAndName(Long id, String name); Long getCountByIdAndAppId(Long id, String app_id); List<Project> getProjectsListByLikeName(String name); List<Project> getProjectsListBySetName(String name); List<Project> getProjectsNoGroup(Long appGroupId); List<Project> getProjectsByAppGroupId(Long appGroupId); String getfindProjectSql(); Long getProjectTotalCount(Paging<ProjectModel> paging); List<ProjectView> findProjectPageList(Paging<ProjectModel> paging);  }### Answer:
@Test public void getProjectsNoGroup() throws Exception { List<Project> list = projectDao.getProjectsNoGroup(11L); System.out.println("getProjectsNoGroup :-------> " + list); Assert.assertTrue(list.size() > 0); }