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
76658a23
Commit
76658a23
authored
Dec 14, 2022
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5f123bd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
+6
-16
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+6
-16
No files found.
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 @
76658a23
...
...
@@ -406,29 +406,19 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
JSONObject
object
=
new
JSONObject
();
ArrayList
<
String
>
axisData
=
Lists
.
newArrayList
();
ArrayList
<
Integer
>
seriesData
=
Lists
.
newArrayList
();
ReginParams
R
eginParams
=
orgService
.
getReginParams
();
String
companyType
=
ReginParams
.
getBusinessInfo
().
getCompanyTyp
e
();
Long
companyId
=
R
eginParams
.
getBusinessInfo
().
getCompanySequenceNbr
();
ReginParams
r
eginParams
=
orgService
.
getReginParams
();
String
roleName
=
reginParams
.
getRole
().
getRoleNam
e
();
Long
companyId
=
r
eginParams
.
getBusinessInfo
().
getCompanySequenceNbr
();
LambdaQueryWrapper
<
SuperviseRule
>
wrapper
=
new
LambdaQueryWrapper
<>(
);
LambdaQueryWrapper
<
Project
>
wrapper1
=
new
LambdaQueryWrapper
<>();
if
(
OrgEnum
.
监察部门
.
getKey
().
equals
(
companyType
))
{
wrapper
.
eq
(!
ValidationUtil
.
isEmpty
(
companyId
),
SuperviseRule:
:
getSuperviseDeptId
,
companyId
);
}
else
if
(
OrgEnum
.
监检机构
.
getKey
().
equals
(
companyType
))
{
wrapper
.
eq
(!
ValidationUtil
.
isEmpty
(
companyId
),
SuperviseRule:
:
getInspectionUnitId
,
companyId
);
}
if
(!
ValidationUtil
.
isEmpty
(
wrapper
))
{
List
<
SuperviseRule
>
superviseRulesList
=
superviseRuleMapper
.
selectList
(
wrapper
);
for
(
SuperviseRule
superviseRule
:
superviseRulesList
)
{
wrapper1
.
eq
(!
ValidationUtil
.
isEmpty
(
superviseRule
.
getAdminRegionCode
()),
Project:
:
getInstallRegionCode
,
superviseRule
.
getAdminRegionCode
().
toString
());
List
<
Project
>
projectList
=
projectMapper
.
selectList
(
wrapper1
);
for
(
Project
project
:
projectList
)
{
List
<
Project
>
list
=
projectResourceService
.
getProjectList
();
for
(
Project
project
:
list
)
{
ProjectProcessDto
projectProcessDto
=
projectMapper
.
getProjectProcessDto
(
project
.
getSequenceNbr
());
axisData
.
add
(
projectProcessDto
.
getProjectName
());
seriesData
.
add
(
getProjectProcess
(
projectProcessDto
));
}
}
}
object
.
put
(
"axisData"
,
axisData
);
object
.
put
(
"seriesData"
,
seriesData
);
return
object
;
...
...
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