From 0d2da4a2507a5a8d34bf7f736727917d791df0d2 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 14 五月 2025 14:48:31 +0800
Subject: [PATCH] 1. 添加数据库事务提交,减少频繁执行 SQL 写操作

---
 SourceCode/Bond/Servo/CGlass.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h
index fe5a704..38ecaf2 100644
--- a/SourceCode/Bond/Servo/CGlass.h
+++ b/SourceCode/Bond/Servo/CGlass.h
@@ -1,6 +1,11 @@
 #pragma once
 #include "Context.h"
 #include <string>
+#include "CPath.h"
+#include "CJobDataA.h"
+#include "CJobDataB.h"
+#include "CJobDataC.h"
+#include "CJobDataS.h"
 
 
 namespace SERVO {
@@ -15,10 +20,14 @@
 		virtual std::string toString();
 		void setID(const char* pszID);
 		std::string& getID();
+		CPath* getPathWithSiteID(unsigned int nSiteId);
+		CPath* getPath();
+		void addPath(unsigned int nSiteId);
 		void serialize(CArchive& ar);
 
 	private:
 		std::string m_strID;
+		CPath* m_pPath;
 	};
 }
 

--
Gitblit v1.9.3