#ifndef STATISTIC_H #define STATISTIC_H #include "SqlOpr.h" class Statistic { public: Statistic(std::unique_ptr& repaySqlOpr); ~Statistic(); public: void Calculate(const AccountRecordList& list); private: std::unique_ptr& repaySqlOpr_; }; #endif // STATISTIC_H