Browse Source

修改mine_tool_ptr->m_is_attendance

daiyueteng 6 years ago
parent
commit
24ecd01693
1 changed files with 1 additions and 1 deletions
  1. 1 1
      card.cpp

+ 1 - 1
card.cpp

@@ -117,7 +117,7 @@ void card_list::load_his_card_postion_from_db()
     {
         auto card_ptr = iter.second;
         auto mine_tool_ptr = card_ptr->get_mine_tool();
-        if(mine_tool_ptr->is_attendance())
+        if(mine_tool_ptr->m_is_attendance)
         {
             auto str = tool_time::to_str_ex( tool_time::to_ms(mine_tool_ptr->m_attendance_start_time));
             log_info("加载考勤,考勤开始时间: %s, 卡id=%d,卡type=%d", str.c_str(), card_ptr->m_id, card_ptr->m_type);