class DatabaseSetDao extends BaseDao {

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

}