From 110d37123795b91911ffe8e76f2e8a509cad1f4e Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 08 七月 2026 14:56:42 +0800
Subject: [PATCH] upadte
---
jrj/project/viewobject/view.base.hpp | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/jrj/project/viewobject/view.base.hpp b/jrj/project/viewobject/view.base.hpp
index 3a919ec..dfcefab 100644
--- a/jrj/project/viewobject/view.base.hpp
+++ b/jrj/project/viewobject/view.base.hpp
@@ -292,7 +292,7 @@
{
KXMLDOMDocument x;
xaserverarg arg;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"EntityNo", EntityNo);
arg.AddArg(L"EntityID", EntityID);
arg.AddArg(L"Subject", Subject);
@@ -307,4 +307,26 @@
}
return 1;
}
+
+ static int AddTask(xstring serverUrl, xstring FlowID, xstring EntityID, xstring EntityNo, xstring Subject, xstring Content, xstring Status, xstring Category, xstring Reciever)
+ {
+
+ KXMLDOMDocument x;
+ xaserverarg arg;
+ arg.AddArg(L"FlowID", FlowID);
+ arg.AddArg(L"EntityID", EntityID);
+ arg.AddArg(L"EntityNo", EntityNo);
+ arg.AddArg(L"Subject", Subject);
+ arg.AddArg(L"Content", Content);
+ arg.AddArg(L"Status", Status);
+ arg.AddArg(L"Category", Category);
+ arg.AddArg(L"Reciever", Reciever);
+ if (xurl::get(L"/sale/data/business/task/add", arg.GetString(), x) != 1)
+ {
+ string error = x.text();
+ trace(error);
+ return 0;
+ }
+ return 1;
+ }
};
\ No newline at end of file
--
Gitblit v1.9.3