Implemented database migration for adding new fields (`json`, `sent_to_server`) in `events` table. Updated DAO methods to support the new fields and introduced `markSentToServer`. Enhanced Ozon transaction workflows with OCR-based extraction, event error handling improvements, and result reporting. Refactored `EventHandler` for streamlined task processing and stale event cleanup.
14 lines
264 B
C++
14 lines
264 B
C++
#pragma once
|
|
|
|
#include "db/BankInfo.h"
|
|
#include <QList>
|
|
|
|
class BankDAO {
|
|
public:
|
|
[[nodiscard]] static QList<BankInfo> getAll();
|
|
|
|
[[nodiscard]] static BankInfo findByAlias(const QString &alias);
|
|
|
|
static void replaceAll(const QList<BankInfo> &banks);
|
|
};
|