diff --git a/usermanagework.cpp b/usermanagework.cpp index c63885c..cc0a20b 100644 --- a/usermanagework.cpp +++ b/usermanagework.cpp @@ -2,7 +2,7 @@ UserManageWork::UserManageWork(QObject* parent) : QObject(parent) { - db_service.addDatabase(DB, "AttendManageWork_DB"); + db_service.addDatabase(DB, "UserManageWork_DB"); DB.setConnectOptions("MYSQL_OPT_RECONNECT=1"); //超时重连 }