class DatabaseSetDao extends BaseDao {

    public List<DatabaseSet> getAllDatabaseSetByGroupId(Long groupId) throws SQLException {
        String sql = "SELECT id, name, db_type, strategy_type, strategy_source, dynamic_strategy_id,class_name, group_id, update_user_no, update_time FROM databaseset WHERE group_id = ? order by name";
        return this.queryBySql(sql, DatabaseSet.class, Parameter.integerOf(StringUtils.EMPTY, groupId));
    }

}