Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-doc-expand
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dcs-doc-expand
Commits
698f52f1
Commit
698f52f1
authored
Oct 30, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
bd25cafe
9f976b42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
ExtAutoTaskService.java
...om/inet/dcs/document/core/service/ExtAutoTaskService.java
+1
-1
ExtAutoTaskServiceImpl.java
...cs/document/core/service/impl/ExtAutoTaskServiceImpl.java
+16
-5
No files found.
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/ExtAutoTaskService.java
View file @
698f52f1
...
@@ -225,7 +225,7 @@ public interface ExtAutoTaskService extends ExtAutoTaskServiceFeign {
...
@@ -225,7 +225,7 @@ public interface ExtAutoTaskService extends ExtAutoTaskServiceFeign {
/**
/**
* 设置评审通知流程团队变量
* 设置评审通知流程团队变量
* @param
id
* @param
noticeVO
*/
*/
void
setDesignNoticeTeamRole
(
ExtDesignReviewNoticeVO
noticeVO
);
void
setDesignNoticeTeamRole
(
ExtDesignReviewNoticeVO
noticeVO
);
}
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/ExtAutoTaskServiceImpl.java
View file @
698f52f1
...
@@ -57,6 +57,7 @@ import com.yonde.dex.user.common.vo.DxUserInfoVO;
...
@@ -57,6 +57,7 @@ import com.yonde.dex.user.common.vo.DxUserInfoVO;
import
com.yonde.dex.user.feign.*
;
import
com.yonde.dex.user.feign.*
;
import
com.yonde.dex.utils.common.utils.DxFileUtils
;
import
com.yonde.dex.utils.common.utils.DxFileUtils
;
import
com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder
;
import
com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder
;
import
com.yonde.dex.wfc.common.enums.ProcessStateEnum
;
import
com.yonde.dex.wfc.common.enums.TaskStateEnum
;
import
com.yonde.dex.wfc.common.enums.TaskStateEnum
;
import
com.yonde.dex.wfc.common.vo.*
;
import
com.yonde.dex.wfc.common.vo.*
;
import
com.yonde.dex.wfc.feign.api.WfcActivityFeign
;
import
com.yonde.dex.wfc.feign.api.WfcActivityFeign
;
...
@@ -213,11 +214,21 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
...
@@ -213,11 +214,21 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
}
}
}
}
}
}
//流程 消息发送设置变量
if
(!
StrUtil
.
isEmpty
(
userList
)){
String
teamRole
=
"messageDesign"
;
//流程 消息发送设置变量
// varMap.put("wf_act_TeamRole_Responsible_userList", userList);
String
teamRole
=
"messageDesign"
;
// wfcProcessFeign.setProcessVariables(processInstanceId, varMap);
// 设计评审通知流程模板 key
String
PROCESS_KEY
=
"ExtDesignReviewNoticeWF"
;
//"wf_act_TeamRole_Responsible_userList"
String
varUser
=
"wf_act_TeamRole_"
+
teamRole
+
"_userList"
;
Map
<
String
,
Object
>
inspectors
=
new
HashMap
<>();
inspectors
.
put
(
varUser
,
userList
);
DxWfProcessSearchVO
searchVO
=
DxWfProcessSearchVO
.
builder
().
processDefKey
(
PROCESS_KEY
).
pboClass
(
noticeVO
.
getDxClassname
()).
pboId
(
noticeVO
.
getId
()).
state
(
String
.
valueOf
(
ProcessStateEnum
.
RUNNING
)).
build
();
List
<
DxWfProcessVO
>
content
=
wfcProcessFeign
.
getProcessList
(
searchVO
,
1
,
10
).
getContent
();
if
(
CollectionUtils
.
isNotEmpty
(
content
))
{
wfcProcessFeign
.
setProcessVariables
(
content
.
get
(
0
).
getId
(),
inspectors
);
}
}
}
}
@SneakyThrows
@SneakyThrows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment