From d7fbb147a1582e93c3028d8328b2e7eb3736d6e9 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期四, 08 一月 2026 20:07:42 +0800
Subject: [PATCH] 1.本地控件状态改变后上报EAP

---
 SourceCode/Bond/Servo/HsmsPassive.cpp |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/SourceCode/Bond/Servo/HsmsPassive.cpp b/SourceCode/Bond/Servo/HsmsPassive.cpp
index ed605ae..93ddb4b 100644
--- a/SourceCode/Bond/Servo/HsmsPassive.cpp
+++ b/SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -1784,8 +1784,10 @@
 		goto MYREPLY;
 	}
 	if (!pBody->getSubItemU2(0, SVID)) {
-		pMessage->getBody()->addU1Item(SVU1, "SV");
-		goto MYREPLY;
+		if (!pBody->getSubItemI2(0, (short&)SVID)) {
+			pMessage->getBody()->addU1Item(SVU1, "SV");
+			goto MYREPLY;
+		}
 	}
 
 	SERVO::CVariable* pVariable = getVariable((int)SVID);
@@ -2583,9 +2585,6 @@
 		pjs.push_back(pj);
 	}
 
-	ASSERT(m_listener.onPRJobMultiCreate != nullptr);
-	int nRet = m_listener.onPRJobMultiCreate(this, pjs);
-
 
 	// 鍥炲鎶ユ枃
 	IMessage* pMessage = NULL;
@@ -2620,6 +2619,10 @@
 	HSMS_Destroy1Message(pMessage);
 
 
+	ASSERT(m_listener.onPRJobMultiCreate != nullptr);
+	int nRet = m_listener.onPRJobMultiCreate(this, pjs);
+
+
 	// 閲婃斁鏈夐棶棰�(鏈坊鍔犲埌master)鐨勫唴瀛�
 	for (auto p : pjs) {
 		if(!p->issues().empty()) delete p;

--
Gitblit v1.9.3