19 lines
309 B
C
19 lines
309 B
C
|
|
#ifndef STATISTIC_H
|
||
|
|
#define STATISTIC_H
|
||
|
|
|
||
|
|
#include "SqlOpr.h"
|
||
|
|
|
||
|
|
class Statistic
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
Statistic(std::unique_ptr<RepaySqlOpr>& repaySqlOpr);
|
||
|
|
~Statistic();
|
||
|
|
|
||
|
|
public:
|
||
|
|
void Calculate(const AccountRecordList& list);
|
||
|
|
|
||
|
|
private:
|
||
|
|
std::unique_ptr<RepaySqlOpr>& repaySqlOpr_;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // STATISTIC_H
|