class ProjectDao extends BaseDao {

    public List<Project> getProjectBydbsetId(Long dbsetId) throws SQLException {
        String sql = "SELECT t1.id, t1.name, t1.namespace, t1.dal_group_id, t1.dal_config_name, t1.update_user_no, t1.app_id, t1.update_time FROM project t1\n" +
                "inner join project_dbset_relation t2 on t2.project_id = t1.id " +
                "where t2.dbset_id  = ? ";
        return this.queryBySql(sql, Project.class, Parameter.integerOf(StringUtils.EMPTY, dbsetId));
    }

}