Browse Source

Merge branch 'master' of http://local.beijingyongan.com:3000/linux-dev/ya-serv

zzj 6 years ago
parent
commit
093d9381ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      module_service/area_business_card_enter_or_leave.cpp

+ 1 - 0
module_service/area_business_card_enter_or_leave.cpp

@@ -42,5 +42,6 @@ void area_business_card_enter_or_leave::on_leave(const std::shared_ptr<area_hove
     const auto &ep=a->m_last_point;
     snprintf(sql,LENGTH_SQL,"UPDATE his_location_area SET leave_time='%s',end_point='%.2f,%.2f' WHERE card_id = '%s' AND area_id=%d AND enter_time='%s';",
                 end_time.c_str(),ep.x,ep.y,card_id.c_str(),a->id(),start_time.c_str());
+    log_info("card_enter_leave:%s",sql);
     db_tool::PushAsync(sql);
 }