|
@@ -19,6 +19,7 @@
|
|
|
#include "worker.h"
|
|
|
#include "ya_setting.h"
|
|
|
|
|
|
+extern config_file config;
|
|
|
int three_rates_flag=0;
|
|
|
static void request(uint64_t id,uint32_t hash_id,uint16_t dis)
|
|
|
{
|
|
@@ -255,7 +256,7 @@ void card_list::load_his_card_postion_staff()
|
|
|
and c.state_id=0 and end_time is null ";
|
|
|
sql += " and timestampdiff(hour ,att.start_time,now()) <= " + std::to_string(CYaSetting::g_load_person_his_data_interval) + ";";
|
|
|
|
|
|
- log_info("load_his_card_postion_staff:%s\n",sql.c_str());
|
|
|
+ log_info("load_his_card_postion_staff:%s ",sql.c_str());
|
|
|
|
|
|
std::string Error;
|
|
|
YADB::CDBResultSet DBRes;
|