Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
50412359
Commit
50412359
authored
Jul 28, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
cc7de47c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
ProjectInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
+9
-7
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
View file @
50412359
...
...
@@ -264,6 +264,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
}
}
if
(
null
!=
dataObject
)
{
taskName
=
dataObject
.
getString
(
"name"
);
ProjectInitiation
projectInitiation
=
new
ProjectInitiation
();
projectInitiation
.
setInstanceId
(
instanceId
);
...
...
@@ -332,6 +333,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
e
.
printStackTrace
();
}
}
}
/**
* 获取任务的执行单位id 和 TaskType
...
...
@@ -609,13 +611,13 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
taskName
=
taskName
+
"/"
+
sjStatus
;
}
}
if
(
"流程结束!"
.
equals
(
taskName
)
&&
!
ObjectUtils
.
isEmpty
(
project
.
getStatus
()))
{
if
(
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
设计资料审批
.
getName
()))
{
taskName
=
StringUtils
.
substringBefore
(
project
.
getStatus
(),
"/"
);
}
else
if
(
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
安装资料审批
.
getName
()))
{
taskName
=
StringUtils
.
substringAfter
(
project
.
getStatus
(),
"/"
);
}
}
//
if ("流程结束!".equals(taskName) && !ObjectUtils.isEmpty(project.getStatus())) {
//
if (project.getStatus().contains(ProjectInitiationEnum.设计资料审批.getName())) {
//
taskName = StringUtils.substringBefore(project.getStatus(), "/");
//
} else if (project.getStatus().contains(ProjectInitiationEnum.安装资料审批.getName())) {
//
taskName = StringUtils.substringAfter(project.getStatus(), "/");
//
}
//
}
project
.
setStatus
(
taskName
);
projectService
.
updateById
(
project
);
...
...
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