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
515658ad
Commit
515658ad
authored
Aug 03, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
2765755a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
ProjectInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
+8
-0
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+4
-4
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 @
515658ad
...
...
@@ -275,6 +275,8 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
projectInitiation
.
setTaskName
(
taskName
);
projectInitiation
.
setType
(
ProcessTypeEnum
.
项目立项
.
getType
());
//项目的管辖区域
String
regionCode
=
project
.
getInstallRegionCode
();
LambdaQueryWrapper
<
SuperviseRule
>
wrapper
=
new
LambdaQueryWrapper
<>();
...
...
@@ -595,6 +597,12 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
LambdaQueryWrapper
<
Project
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
Project:
:
getInstanceId
,
instanceId
);
Project
project
=
projectService
.
getOne
(
wrapper
);
if
(
ProjectInitiationEnum
.
建设负责人指定项目负责人
.
getName
().
equals
(
InitiationStatus
))
{
project
.
setChargePerson
(
orgService
.
getReginParams
().
getBusinessInfo
().
getUserName
());
project
.
setChargePersonId
(
orgService
.
getReginParams
().
getBusinessInfo
().
getUserSequenceNbr
());
}
String
taskName
=
getFlowTaskName
(
project
,
status
,
taskType
,
sendTime
,
sourceId
,
type
,
unitIds
,
extendId
,
instanceId
);
boolean
bool
=
true
;
if
((
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
安装资料审批
.
getName
())
||
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
设计资料审批
.
getName
()))
&&
"流程结束!"
.
equals
(
taskName
)){
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
View file @
515658ad
...
...
@@ -562,13 +562,13 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
ArrayList
<
ProjectDto
>
list
=
Lists
.
newArrayList
();
for
(
ProjectDto
projectDto:
projects
){
if
(
OrgEnum
.
安装单位
.
getKey
().
equals
(
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanyType
())){
if
(
projectDto
.
get
Status
().
contains
(
"/"
))
{
projectDto
.
set
Status
(
StringUtils
.
substringAfter
(
projectDto
.
getStatus
(),
"/"
));
if
(
projectDto
.
get
ExamineProjectState
().
contains
(
"/"
))
{
projectDto
.
set
ExamineProjectState
(
StringUtils
.
substringAfter
(
projectDto
.
getExamineProjectState
(),
"/"
));
}
}
else
if
(
OrgEnum
.
设计单位
.
getKey
().
equals
(
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanyType
())){
if
(
projectDto
.
get
Status
().
contains
(
"/"
))
{
projectDto
.
set
Status
(
StringUtils
.
substringBefore
(
projectDto
.
getStatus
(),
"/"
));
if
(
projectDto
.
get
ExamineProjectState
().
contains
(
"/"
))
{
projectDto
.
set
ExamineProjectState
(
StringUtils
.
substringBefore
(
projectDto
.
getExamineProjectState
(),
"/"
));
}
}
if
(
ProjectInitiationEnum
.
监检员分配
.
getName
().
equals
(
projectDto
.
getStatus
()))
{
...
...
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