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/SECSRuntimeManager.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/SECSRuntimeManager.h b/SourceCode/Bond/Servo/SECSRuntimeManager.h
index af9b16c..a3bc39d 100644
--- a/SourceCode/Bond/Servo/SECSRuntimeManager.h
+++ b/SourceCode/Bond/Servo/SECSRuntimeManager.h
@@ -391,6 +391,8 @@
std::vector<std::string> getAllPPID();
+ void setAllPPID(const std::vector<std::string>& vecPPIDList);
+
bool updatePPIDForRecipe(int nRecipeNo, const std::string& strPPID);
std::string getPPIDForRecipe(int nRecipeNo);
--
Gitblit v1.9.3