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
a75f0ea2
Commit
a75f0ea2
authored
Jul 31, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
833c1127
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
TaskController.java
...n/amos/boot/module/ugp/biz/controller/TaskController.java
+1
-1
ProjectInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
+11
-7
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/TaskController.java
View file @
a75f0ea2
...
@@ -195,7 +195,7 @@ public class TaskController {
...
@@ -195,7 +195,7 @@ public class TaskController {
List
<
Task
>
list
=
page
.
getRecords
();
List
<
Task
>
list
=
page
.
getRecords
();
for
(
Task
task
:
list
){
for
(
Task
task
:
list
){
task
.
setLabel
(
task
.
getContent
());
task
.
setLabel
(
task
.
getContent
());
task
.
setValue
(
task
.
getExtend
()+
"&sequenceNbr="
+
task
.
getSourceId
());
task
.
setValue
(
task
.
getExtend
()+
"&sequenceNbr="
+
task
.
getSourceId
()
+
"&projectId="
+
task
.
getSourceId
()
);
if
(
task
.
getStatus
()
==
1
){
if
(
task
.
getStatus
()
==
1
){
if
(!
ValidationUtil
.
isEmpty
(
task
.
getExtendId
())){
if
(!
ValidationUtil
.
isEmpty
(
task
.
getExtendId
())){
if
(
task
.
getExtendId
()!=-
1L
)
{
if
(
task
.
getExtendId
()!=-
1L
)
{
...
...
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 @
a75f0ea2
...
@@ -346,6 +346,10 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
...
@@ -346,6 +346,10 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
unitIds
.
add
(
project
.
getConstructionUnitId
());
unitIds
.
add
(
project
.
getConstructionUnitId
());
taskType
=
TaskTypeEnum
.
填报
.
getKey
();
taskType
=
TaskTypeEnum
.
填报
.
getKey
();
}
}
if
(
ProjectInitiationEnum
.
建设负责人指定项目负责人
.
getName
().
equals
(
project
.
getStatus
())
||
ProjectInitiationEnum
.
建设负责人指定项目资料员
.
getName
().
equals
(
project
.
getStatus
()))
{
unitIds
.
add
(
project
.
getConstructionUnitId
());
taskType
=
TaskTypeEnum
.
填报
.
getKey
();
}
if
(
ProjectInitiationEnum
.
设计负责人指定项目负责人
.
getName
().
equals
(
project
.
getStatus
())
||
if
(
ProjectInitiationEnum
.
设计负责人指定项目负责人
.
getName
().
equals
(
project
.
getStatus
())
||
ProjectInitiationEnum
.
安装负责人指定项目负责人
.
getName
().
equals
(
project
.
getStatus
())
)
{
ProjectInitiationEnum
.
安装负责人指定项目负责人
.
getName
().
equals
(
project
.
getStatus
())
)
{
if
(
OrgEnum
.
安装单位
.
getKey
().
equals
(
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanyType
())){
if
(
OrgEnum
.
安装单位
.
getKey
().
equals
(
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanyType
())){
...
@@ -611,13 +615,13 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
...
@@ -611,13 +615,13 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
taskName
=
taskName
+
"/"
+
sjStatus
;
taskName
=
taskName
+
"/"
+
sjStatus
;
}
}
}
}
//
if ("流程结束!".equals(taskName) && !ObjectUtils.isEmpty(project.getStatus())) {
if
(
"流程结束!"
.
equals
(
taskName
)
&&
!
ObjectUtils
.
isEmpty
(
project
.
getStatus
()))
{
//
if (project.getStatus().contains(ProjectInitiationEnum.设计资料审批.getName())) {
if
(
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
设计资料审批
.
getName
()))
{
//
taskName = StringUtils.substringBefore(project.getStatus(), "/");
taskName
=
StringUtils
.
substringBefore
(
project
.
getStatus
(),
"/"
);
//
} else if (project.getStatus().contains(ProjectInitiationEnum.安装资料审批.getName())) {
}
else
if
(
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
安装资料审批
.
getName
()))
{
//
taskName = StringUtils.substringAfter(project.getStatus(), "/");
taskName
=
StringUtils
.
substringAfter
(
project
.
getStatus
(),
"/"
);
//
}
}
//
}
}
project
.
setStatus
(
taskName
);
project
.
setStatus
(
taskName
);
projectService
.
updateById
(
project
);
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