Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
8c2ff70e
Commit
8c2ff70e
authored
Jan 26, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电站审核工作流
parent
a8b1de4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
PowerStationServiceImpl.java
...module/hygf/biz/service/impl/PowerStationServiceImpl.java
+18
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PowerStationServiceImpl.java
View file @
8c2ff70e
...
@@ -285,9 +285,10 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
...
@@ -285,9 +285,10 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
//执行工作流
//执行工作流
BasicGridAcceptance
basicGridAcceptance
=
new
BasicGridAcceptance
();
BasicGridAcceptance
basicGridAcceptance
=
new
BasicGridAcceptance
();
StandardDto
standardDto
=
new
StandardDto
();
if
(
PowerStationNodeEnum
.
设计上传图纸
.
getCode
().
equals
(
nodeCode
)||
PowerStationNodeEnum
.
经销商上传图纸
.
getCode
().
equals
(
nodeCode
))
{
StandardDto
standardDto
=
new
StandardDto
();
standardDto
.
setComment
(
String
.
valueOf
(
kv
.
get
(
"approveInfo"
)));
standardDto
.
setComment
(
String
.
valueOf
(
kv
.
get
(
"approveInfo"
)));
standardDto
.
setResult
(
String
.
valueOf
(
kv
.
get
(
"approvalStatus"
)));
standardDto
.
setResult
(
String
.
valueOf
(
kv
.
get
(
"approvalStatus"
)));
standardDto
.
setTaskId
(
powerStation
.
getFlowTaskId
());
standardDto
.
setTaskId
(
powerStation
.
getFlowTaskId
());
...
@@ -297,6 +298,21 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
...
@@ -297,6 +298,21 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
variable
.
setOperationTime
(
String
.
valueOf
(
kv
.
get
(
"approveDate"
)));
variable
.
setOperationTime
(
String
.
valueOf
(
kv
.
get
(
"approveDate"
)));
variable
.
setOperator
(
String
.
valueOf
(
kv
.
get
(
"approveName"
)));
variable
.
setOperator
(
String
.
valueOf
(
kv
.
get
(
"approveName"
)));
standardDto
.
setVariable
(
variable
);
standardDto
.
setVariable
(
variable
);
}
else
{
standardDto
.
setComment
(
String
.
valueOf
(
kv
.
get
(
"approveInfo"
)));
standardDto
.
setResult
(
String
.
valueOf
(
kv
.
get
(
"approvalStatus"
)));
standardDto
.
setTaskId
(
powerStation
.
getFlowTaskId
());
VariableDto
variable
=
new
VariableDto
();
variable
.
setApprovalStatus
(
String
.
valueOf
(
kv
.
get
(
"approvalStatus"
)));
variable
.
setComment
(
String
.
valueOf
(
kv
.
get
(
"approveInfo"
)));
variable
.
setOperationTime
(
String
.
valueOf
(
kv
.
get
(
"approveDate"
)));
variable
.
setOperator
(
String
.
valueOf
(
kv
.
get
(
"approveName"
)));
standardDto
.
setVariable
(
variable
);
}
BasicGridAcceptance
workBasicGridAcceptance
=
workflow
.
standard
(
basicGridAcceptance
,
standardDto
,
requestContext
.
getUserId
());
BasicGridAcceptance
workBasicGridAcceptance
=
workflow
.
standard
(
basicGridAcceptance
,
standardDto
,
requestContext
.
getUserId
());
powerStation
.
setFlowTaskId
(
basicGridAcceptance
.
getNextTaskId
());
powerStation
.
setFlowTaskId
(
basicGridAcceptance
.
getNextTaskId
());
...
...
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