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
9ad9bd82
Commit
9ad9bd82
authored
Jul 28, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改流程
parent
8cab1e4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ProjectInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
+1
-1
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+5
-5
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 @
9ad9bd82
...
@@ -565,7 +565,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
...
@@ -565,7 +565,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
Project
project
=
projectService
.
getOne
(
wrapper
);
Project
project
=
projectService
.
getOne
(
wrapper
);
String
taskName
=
getFlowTaskName
(
instanceId
);
String
taskName
=
getFlowTaskName
(
instanceId
);
boolean
bool
=
true
;
boolean
bool
=
true
;
if
(
ProjectInitiationEnum
.
提交资料
.
getName
().
equals
(
project
.
getStatus
(
))
&&
"流程结束!"
.
equals
(
taskName
)){
if
(
(
ProjectInitiationEnum
.
提交资料
.
getName
().
equals
(
project
.
getStatus
())
||
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
安装资料审批
.
getName
())
||
project
.
getStatus
().
contains
(
ProjectInitiationEnum
.
设计资料审批
.
getName
()
))
&&
"流程结束!"
.
equals
(
taskName
)){
bool
=
false
;
bool
=
false
;
if
(
OrgEnum
.
安装单位
.
getKey
().
equals
(
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanyType
())){
if
(
OrgEnum
.
安装单位
.
getKey
().
equals
(
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanyType
())){
taskName
=
ProjectInitiationEnum
.
设计开工资料提交
.
getName
();
taskName
=
ProjectInitiationEnum
.
设计开工资料提交
.
getName
();
...
...
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 @
9ad9bd82
...
@@ -504,10 +504,10 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
...
@@ -504,10 +504,10 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
@BusinessIdentify
@BusinessIdentify
@Override
@Override
public
IPage
<
ProjectDto
>
queryProjectPage
(
String
current
,
String
size
,
Project
project
)
{
public
IPage
<
ProjectDto
>
queryProjectPage
(
String
current
,
String
size
,
Project
project
)
{
if
(!
ObjectUtils
.
isEmpty
(
project
.
getInstallRegionCode
())){
//
if (!ObjectUtils.isEmpty(project.getInstallRegionCode())){
Map
<
String
,
String
>
info
=
getInfo
(
""
,
""
,
Long
.
parseLong
(
project
.
getInstallRegionCode
()));
//
Map<String, String> info = getInfo("", "", Long.parseLong(project.getInstallRegionCode()));
project
.
setInstallRegionCode
(
info
.
get
(
"regionCode"
));
//
project.setInstallRegionCode(info.get("regionCode"));
}
//
}
IPage
<
ProjectDto
>
page
=
new
Page
<>();
IPage
<
ProjectDto
>
page
=
new
Page
<>();
page
.
setCurrent
(
Long
.
parseLong
(
current
));
page
.
setCurrent
(
Long
.
parseLong
(
current
));
page
.
setSize
(
Long
.
parseLong
(
size
));
page
.
setSize
(
Long
.
parseLong
(
size
));
...
@@ -534,7 +534,7 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
...
@@ -534,7 +534,7 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
if
(!
ValidationUtil
.
isEmpty
(
codes
)){
if
(!
ValidationUtil
.
isEmpty
(
codes
)){
page
=
projectMapper
.
queryProjectPage
(
page
,
project
,
roleName
,
companyId
,
codes
);
page
=
projectMapper
.
queryProjectPage
(
page
,
project
,
roleName
,
companyId
,
codes
);
}
}
List
<
ProjectDto
>
projects
=
page
.
getRecords
();
List
<
ProjectDto
>
projects
=
page
.
getRecords
();
for
(
ProjectDto
projectDto
:
projects
)
{
for
(
ProjectDto
projectDto
:
projects
)
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
if
(!
ObjectUtils
.
isEmpty
(
projectDto
.
getStartDate
()))
{
if
(!
ObjectUtils
.
isEmpty
(
projectDto
.
getStartDate
()))
{
...
...
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