Browse Source

修改db_tool.h

daiyueteng 6 years ago
parent
commit
7ed761b421
1 changed files with 3 additions and 0 deletions
  1. 3 0
      db/db_tool.h

+ 3 - 0
db/db_tool.h

@@ -2,11 +2,14 @@
 #define _tool_db_h_
 
 #include <memory>
+#include<chrono>
 struct card_location_base;
 namespace db_tool
 {
     void PushAsync(const char* sql);
     void save_attendance(const std::shared_ptr<card_location_base>& card_ptr);
+    void save_attendance(const std::shared_ptr<card_location_base>& card_ptr,
+                         bool is_attendance, std::chrono::system_clock::time_point& attendance_start_time);
 }
 
 #endif