Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 666477ac
authored
Sep 16, 2023
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]sop策略执行
1 parent
c30789de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
platform-process/src/main/java/cn/com/glsx/process/job/xxljob/impl/SopInstNodeExecuteJobHandler.java
platform-process/src/main/java/cn/com/glsx/process/job/xxljob/impl/SopInstNodeExecuteJobHandler.java
View file @
666477a
...
@@ -51,6 +51,12 @@ public class SopInstNodeExecuteJobHandler {
...
@@ -51,6 +51,12 @@ public class SopInstNodeExecuteJobHandler {
// SopXxlJobUtil.initSopNodeJob(sop);
// SopXxlJobUtil.initSopNodeJob(sop);
}
}
/**
* 节点执行
*
* @param node 节点信息
* @param sop 执行器
*/
public
void
execute
(
SopInstNode
node
,
SopStruct
sop
)
{
public
void
execute
(
SopInstNode
node
,
SopStruct
sop
)
{
String
nodeType
=
node
.
getNodeType
();
String
nodeType
=
node
.
getNodeType
();
String
handerType
=
BussinessType
.
getHanderType
(
nodeType
);
String
handerType
=
BussinessType
.
getHanderType
(
nodeType
);
...
@@ -64,6 +70,7 @@ public class SopInstNodeExecuteJobHandler {
...
@@ -64,6 +70,7 @@ public class SopInstNodeExecuteJobHandler {
// 向上转型
// 向上转型
SopProduct
sopProduct
=
(
SopProduct
)
classByValue
.
newInstance
();
SopProduct
sopProduct
=
(
SopProduct
)
classByValue
.
newInstance
();
BeanUtilsEx
.
copyProperties
(
node
,
sopProduct
);
BeanUtilsEx
.
copyProperties
(
node
,
sopProduct
);
sopProduct
.
build
(
sopProduct
,
sop
,
instance
);
sopProduct
.
build
(
sopProduct
,
sop
,
instance
);
}
catch
(
InstantiationException
e
)
{
}
catch
(
InstantiationException
e
)
{
throw
new
RuntimeException
(
e
);
throw
new
RuntimeException
(
e
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment