Browse Source

修改mine_tool_ptr->m_is_attendance

daiyueteng 6 years ago
parent
commit
688712cc96
1 changed files with 2 additions and 2 deletions
  1. 2 2
      card.cpp

+ 2 - 2
card.cpp

@@ -257,7 +257,7 @@ void card_list::load_his_card_postion_vehicle()
             {
                 auto mine_tool_ptr = card_ptr->get_mine_tool();
                 mine_tool_ptr->m_attendance_start_time = tool_time::to_time_ex(start_time);
-                mine_tool_ptr->m_stat_attendance = AS_ATTENDANCE;
+                mine_tool_ptr->m_is_attendance = true;
             }
 
             area_hover_ptr->landmark_id = landmark_id;
@@ -379,7 +379,7 @@ void card_list::load_his_card_postion_staff()
             {
                 auto mine_tool_ptr = card_ptr->get_mine_tool();
                 mine_tool_ptr->m_attendance_start_time = tool_time::to_time_ex(start_time);
-                mine_tool_ptr->m_stat_attendance = AS_ATTENDANCE;
+                mine_tool_ptr->m_is_attendance = true;
             }
 
             area_hover_ptr->landmark_id = landmark_id;