Browse Source

禁止人员下井修改

chensongchao 5 years ago
parent
commit
d123fed493
1 changed files with 1 additions and 1 deletions
  1. 1 1
      forbid_staff_down_mine.cpp

+ 1 - 1
forbid_staff_down_mine.cpp

@@ -34,7 +34,7 @@ void forbid_staff_down_mine::init_forbid_staff(int id /* = -1*/,int etype)
         std::string create_time;
         DBRes.GetField("oper_time", create_time, Error);
         std::string update_time;
-        DBRes.GetField("lastupdate", update_time, Error);
+        DBRes.GetField("last_update", update_time, Error);
         time_t stime = tool_time::to_time(start_time);
         time_t etime = tool_time::to_time(end_time);
         std::shared_ptr<SForbidStaffList> s = forbid_staff_down_mine::instance()->get(staff_id);