Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-region-outline
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
cfld-backend
cfld-region-outline
Commits
6b22c1d4
Commit
6b22c1d4
authored
Oct 23, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug统一修改
parent
05583d7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
DevelopmentInfoAllVO.java
src/main/java/com/lyy/admin/VO/DevelopmentInfoAllVO.java
+2
-1
DevelopmentInfoServiceImpl.java
...vice/developmentinfo/impl/DevelopmentInfoServiceImpl.java
+9
-1
No files found.
src/main/java/com/lyy/admin/VO/DevelopmentInfoAllVO.java
View file @
6b22c1d4
...
...
@@ -19,7 +19,8 @@ public class DevelopmentInfoAllVO {
// private List<DevelopmentTrafficInfo> developmentTrafficInfoList = new ArrayList<>();
private
JSONArray
developmentTrafficInfoList
=
new
JSONArray
();
private
JSONArray
developmentPrimaryEnterpriseInfoList
=
new
JSONArray
();
private
List
<
DevelopmentIndustryPolicyInfo
>
developmentIndustryPolicyInfoList
=
new
ArrayList
<>();
// private List<DevelopmentIndustryPolicyInfo> developmentIndustryPolicyInfoList = new ArrayList<>();
private
JSONArray
developmentIndustryPolicyInfoList
=
new
JSONArray
();
private
List
<
DevelopmentIndustryFundInfo
>
developmentIndustryFundInfoList
=
new
ArrayList
<>();
private
List
<
DevelopmentIndustrialLandInfo
>
developmentIndustrialLandInfoList
=
new
ArrayList
<>();
private
List
<
DevelopmentInvestmentDirectionInfo
>
developmentInvestmentDirectionInfoList
=
new
ArrayList
<>();
...
...
src/main/java/com/lyy/admin/service/developmentinfo/impl/DevelopmentInfoServiceImpl.java
View file @
6b22c1d4
...
...
@@ -196,6 +196,14 @@ public class DevelopmentInfoServiceImpl extends ServiceImpl<DevelopmentInfoMappe
QueryWrapper
<
DevelopmentIndustryPolicyInfo
>
developmentIndustryPolicyInfoQW
=
new
QueryWrapper
<>();
developmentIndustryPolicyInfoQW
.
eq
(
"development_id"
,
id
);
List
<
DevelopmentIndustryPolicyInfo
>
developmentIndustryPolicyInfoList
=
developmentIndustryPolicyInfoService
.
list
(
developmentIndustryPolicyInfoQW
);
Map
<
String
,
List
<
DevelopmentIndustryPolicyInfo
>>
developmentIndustryPolicyInfoListVOs
=
developmentIndustryPolicyInfoList
.
stream
().
collect
(
Collectors
.
groupingBy
(
DevelopmentIndustryPolicyInfo:
:
getType
));
JSONArray
developmentIndustryPolicyInfoJsonArray
=
new
JSONArray
();
for
(
Map
.
Entry
<
String
,
List
<
DevelopmentIndustryPolicyInfo
>>
entry:
developmentIndustryPolicyInfoListVOs
.
entrySet
()){
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
putOpt
(
"typeName"
,
entry
.
getKey
());
jsonObject
.
putOpt
(
"info"
,
entry
.
getValue
());
developmentIndustryPolicyInfoJsonArray
.
add
(
jsonObject
);
}
//招商方向
QueryWrapper
<
DevelopmentInvestmentDirectionInfo
>
developmentInvestmentDirectionInfoQW
=
new
QueryWrapper
<>();
...
...
@@ -228,7 +236,7 @@ public class DevelopmentInfoServiceImpl extends ServiceImpl<DevelopmentInfoMappe
developmentInfoAllVO
.
setDevelopmentInfoVO
(
developmentInfoVO
);
developmentInfoAllVO
.
setDevelopmentTrafficInfoList
(
developmentTrafficInfoJsonArray
);
developmentInfoAllVO
.
setDevelopmentPrimaryEnterpriseInfoList
(
developmentPrimaryEnterpriseInfoJsonArray
);
developmentInfoAllVO
.
setDevelopmentIndustryPolicyInfoList
(
developmentIndustryPolicyInfo
List
);
developmentInfoAllVO
.
setDevelopmentIndustryPolicyInfoList
(
developmentIndustryPolicyInfo
JsonArray
);
developmentInfoAllVO
.
setDevelopmentIndustryFundInfoList
(
developmentIndustryFundInfoList
);
developmentInfoAllVO
.
setDevelopmentIndustrialLandInfoList
(
developmentIndustrialLandInfoList
);
developmentInfoAllVO
.
setDevelopmentInvestmentDirectionInfoList
(
developmentInvestmentDirectionInfoList
);
...
...
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