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
78944699
Commit
78944699
authored
Jul 24, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全追溯大屏提交
parent
aa6eccaf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
287 additions
and
14 deletions
+287
-14
IssueProblemLevelEnum.java
...s/boot/module/common/api/enums/IssueProblemLevelEnum.java
+36
-0
DPStatisticsMapper.java
...s/boot/module/cylinder/api/mapper/DPStatisticsMapper.java
+12
-0
DPStatisticsMapper.xml
...nder-api/src/main/resources/mapper/DPStatisticsMapper.xml
+83
-9
CylinderStatisticsController.java
...nder/flc/biz/controller/CylinderStatisticsController.java
+60
-0
CylinderAreaDataServiceImpl.java
...der/flc/biz/service/impl/CylinderAreaDataServiceImpl.java
+96
-5
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/enums/IssueProblemLevelEnum.java
0 → 100644
View file @
78944699
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
enums
;
import
lombok.Getter
;
import
java.util.ArrayList
;
import
java.util.EnumSet
;
import
java.util.HashMap
;
import
java.util.List
;
@Getter
public
enum
IssueProblemLevelEnum
{
LEVEL_ONE
(
"一级"
,
"1"
),
LEVEL_TWO
(
"二级"
,
"2"
),
LEVEL_THREE
(
"三级"
,
"3"
),
;
String
name
;
String
code
;
private
IssueProblemLevelEnum
(
String
name
,
String
code
)
{
this
.
name
=
name
;
this
.
code
=
code
;
}
public
static
List
<
HashMap
<
String
,
String
>>
getEnumList
()
{
List
<
HashMap
<
String
,
String
>>
list
=
new
ArrayList
<>();
for
(
IssueProblemLevelEnum
testEnum
:
EnumSet
.
allOf
(
IssueProblemLevelEnum
.
class
))
{
HashMap
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
testEnum
.
name
,
testEnum
.
code
.
toString
());
list
.
add
(
map
);
}
return
list
;
}
}
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/java/com/yeejoin/amos/boot/module/cylinder/api/mapper/DPStatisticsMapper.java
View file @
78944699
...
...
@@ -19,4 +19,16 @@ public interface DPStatisticsMapper {
List
<
Map
<
String
,
Object
>>
getIssueCountByMonth
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"year"
)
String
year
,
@Param
(
"status"
)
String
status
);
List
<
Map
<
String
,
Object
>>
getIssueCountByDate
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"year"
)
String
year
,
@Param
(
"status"
)
String
status
);
int
countByOrgCode
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"now"
)
String
now
);
List
<
Map
<
String
,
String
>>
getOrgCodeAndCompanyCodesByCompanyCodes
(
@Param
(
"regionCodes"
)
List
<
Integer
>
regionCodes
);
List
<
Map
<
String
,
Object
>>
countByOrgCodes
(
@Param
(
"orgCodes"
)
List
<
String
>
orgCodes
,
@Param
(
"now"
)
String
now
);
List
<
Map
<
String
,
Object
>>
issueMonthList
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"time"
)
String
time
);
List
<
Map
<
String
,
Object
>>
issueProblemLevelCount
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"time"
)
String
time
);
List
<
Map
<
String
,
Object
>>
issueCompanyTop
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"time"
)
String
time
);
}
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/resources/mapper/DPStatisticsMapper.xml
View file @
78944699
...
...
@@ -14,7 +14,7 @@
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND
create_dat
e
>
= #{startDate}
AND
problem_tim
e
>
= #{startDate}
AND source_type IN
<foreach
collection=
"mainBodyNameList"
item=
"item"
separator=
","
open=
"("
close=
")"
>
#{item}
...
...
@@ -33,7 +33,7 @@
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND
create_dat
e
>
= #{startDate}
AND
problem_tim
e
>
= #{startDate}
AND source_type = #{sourceType}
AND problem_type IN
<foreach
collection=
"enumNameList"
item=
"item"
separator=
","
open=
"("
close=
")"
>
...
...
@@ -46,35 +46,109 @@
<select
id=
"getIssueCountByMonth"
resultType=
"java.util.Map"
>
SELECT COUNT
( 1 ),
DATE_FORMAT(
create_dat
e,'%Y-%m') AS time
DATE_FORMAT(
problem_tim
e,'%Y-%m') AS time
FROM
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT(
create_dat
e,'%Y') = #{year}
AND DATE_FORMAT(
problem_tim
e,'%Y') = #{year}
<if
test=
"null != status"
>
AND problem_status_code = #{status}
</if>
GROUP BY
DATE_FORMAT(
create_dat
e,'%Y-%m')
DATE_FORMAT(
problem_tim
e,'%Y-%m')
</select>
<select
id=
"getIssueCountByDate"
resultType=
"java.util.Map"
>
SELECT COUNT
( 1 ),
DATE_FORMAT(
create_dat
e,'%Y-%m-%d') AS time
DATE_FORMAT(
problem_tim
e,'%Y-%m-%d') AS time
FROM
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT(
create_dat
e,'%Y-%m-%d')
>
= #{year}
AND DATE_FORMAT(
problem_tim
e,'%Y-%m-%d')
>
= #{year}
<if
test=
"null != status"
>
AND problem_status_code = #{status}
</if>
GROUP BY
DATE_FORMAT(create_date,'%Y-%m-%d')
DATE_FORMAT(problem_time,'%Y-%m-%d')
</select>
<select
id=
"countByOrgCode"
resultType=
"java.lang.Integer"
>
SELECT COUNT
( 1 )
FROM
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT(problem_time,'%Y-%m')
>
= #{now}
</select>
<select
id=
"getOrgCodeAndCompanyCodesByCompanyCodes"
resultType=
"java.util.Map"
>
select org_code AS orgCode,company_code AS companyCode from privilege_company where company_code in
<foreach
collection=
"regionCodes"
item=
"regionCode"
separator=
","
open=
"("
close=
")"
>
#{regionCode} :: VARCHAR
</foreach>
</select>
<select
id=
"countByOrgCodes"
resultType=
"java.util.Map"
>
SELECT COUNT
( 1 ),
governing_body_org_code AS orgCode
FROM
tzs_safety_problem_tracing
WHERE
DATE_FORMAT(problem_time,'%Y-%m')
>
= #{now}
AND
<foreach
collection=
"orgCodes"
item=
"orgCode"
separator=
"OR"
open=
"("
close=
")"
>
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
</foreach>
GROUP BY
governing_body_org_code
</select>
<select
id=
"issueMonthList"
resultType=
"java.util.Map"
>
SELECT
sequence_nbr AS sequenceNbr,
source_type AS sourceType,
problem_type AS problemType,
problem_time AS problemTime
FROM
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT ( problem_time, '%Y-%m' ) = #{time}
</select>
<select
id=
"issueProblemLevelCount"
resultType=
"java.util.Map"
>
SELECT
COUNT
( 1 ),
problem_level AS problemLevel
FROM
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT(problem_time,'%Y') = #{time}
AND problem_level IS NOT NULL
GROUP BY
problem_level
ORDER BY
problem_level_code
</select>
<select
id=
"issueCompanyTop"
resultType=
"java.util.Map"
>
SELECT COUNT
( 1 ),
principal_unit AS principalUnit,
governing_body AS governingBody
FROM
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT ( problem_time, '%Y' ) = #{time}
AND problem_level IS NOT NULL
GROUP BY
principal_unit_code
ORDER BY
COUNT DESC
LIMIT 10
</select>
</mapper>
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/controller/CylinderStatisticsController.java
View file @
78944699
...
...
@@ -158,4 +158,64 @@ public class CylinderStatisticsController {
Map
<
String
,
Object
>
result
=
service
.
issueCountByDay
(
regionCode
.
toString
());
return
ResponseHelper
.
buildResponse
(
result
);
};
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"当前区域数据统计"
)
@PostMapping
(
value
=
"/issueCountByCityCode"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
issueCountByCityCode
(
@RequestBody
Map
<
String
,
Object
>
map
)
throws
Exception
{
Object
regionCode
=
map
.
get
(
"cityCode"
);
if
(
ObjectUtils
.
isEmpty
(
regionCode
))
{
regionCode
=
"610000"
;
}
Map
<
String
,
Object
>
result
=
service
.
issueCountByCityCode
(
regionCode
.
toString
());
return
ResponseHelper
.
buildResponse
(
result
);
};
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"当前区域子区域数据统计"
)
@PostMapping
(
value
=
"/issueChildrenCityCount"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
issueChildrenCityCount
(
@RequestBody
Map
<
String
,
Object
>
map
)
throws
Exception
{
Object
regionCode
=
map
.
get
(
"cityCode"
);
if
(
ObjectUtils
.
isEmpty
(
regionCode
))
{
regionCode
=
"610000"
;
}
List
<
Map
<
String
,
Object
>>
result
=
service
.
issueChildrenCityCount
(
regionCode
.
toString
());
return
ResponseHelper
.
buildResponse
(
result
);
};
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"当月问题列表(主体类型、问题类型、问题时间、操作)"
)
@PostMapping
(
value
=
"/issueMonthList"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
issueMonthList
(
@RequestBody
Map
<
String
,
Object
>
map
)
throws
Exception
{
Object
regionCode
=
map
.
get
(
"cityCode"
);
if
(
ObjectUtils
.
isEmpty
(
regionCode
))
{
regionCode
=
"610000"
;
}
List
<
Map
<
String
,
Object
>>
result
=
service
.
issueMonthList
(
regionCode
.
toString
());
return
ResponseHelper
.
buildResponse
(
result
);
};
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"当年问题等级分类统计"
)
@PostMapping
(
value
=
"/issueProblemLevelCount"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
issueProblemLevelCount
(
@RequestBody
Map
<
String
,
Object
>
map
)
throws
Exception
{
Object
regionCode
=
map
.
get
(
"cityCode"
);
if
(
ObjectUtils
.
isEmpty
(
regionCode
))
{
regionCode
=
"610000"
;
}
Map
<
String
,
Object
>
result
=
service
.
issueProblemLevelCount
(
regionCode
.
toString
());
return
ResponseHelper
.
buildResponse
(
result
);
};
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"按问题类型排名top 10"
)
@PostMapping
(
value
=
"/issueCompanyTop"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
issueCompanyTop
(
@RequestBody
Map
<
String
,
Object
>
map
)
throws
Exception
{
Object
regionCode
=
map
.
get
(
"cityCode"
);
if
(
ObjectUtils
.
isEmpty
(
regionCode
))
{
regionCode
=
"610000"
;
}
List
<
Map
<
String
,
Object
>>
result
=
service
.
issueCompanyTop
(
regionCode
.
toString
());
return
ResponseHelper
.
buildResponse
(
result
);
};
}
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/CylinderAreaDataServiceImpl.java
View file @
78944699
...
...
@@ -23,6 +23,7 @@ import com.yeejoin.amos.feign.privilege.model.CompanyModel;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
com.yeejoin.amos.feign.systemctl.model.RegionModel
;
import
joptsimple.internal.Strings
;
import
org.apache.commons.lang3.StringUtils
;
import
org.elasticsearch.action.search.SearchRequest
;
import
org.elasticsearch.action.search.SearchResponse
;
import
org.elasticsearch.client.RequestOptions
;
...
...
@@ -50,6 +51,7 @@ import java.time.LocalDate;
import
java.time.format.DateTimeFormatter
;
import
java.util.*
;
import
java.util.concurrent.ConcurrentHashMap
;
import
java.util.concurrent.atomic.AtomicInteger
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -834,7 +836,7 @@ public class CylinderAreaDataServiceImpl extends BaseService<CylinderAreaDataDto
list1
.
add
(
mainBodyNameList
.
get
(
i
));
List
<
Map
<
String
,
Object
>>
maps
=
statisticsMapper
.
selectByOrgAndMainBody
(
orgCode
,
list1
,
startDate
,
"1"
);
if
(
maps
.
size
()
>
0
){
problemRate
.
add
(
new
DecimalFormat
(
"0.00"
).
format
(
Double
.
parseDouble
(
dataMap
.
get
(
mainBodyNameList
.
get
(
i
)).
toString
())
/
Double
.
parseDouble
(
maps
.
get
(
0
).
get
(
"count"
).
toString
())));
problemRate
.
add
(
new
DecimalFormat
(
"0.00"
).
format
(
Double
.
parseDouble
(
maps
.
get
(
0
).
get
(
"count"
).
toString
())
/
Double
.
parseDouble
(
dataMap
.
get
(
mainBodyNameList
.
get
(
i
)
).
toString
())));
}
else
{
problemRate
.
add
(
"0"
);
}
...
...
@@ -985,9 +987,9 @@ public class CylinderAreaDataServiceImpl extends BaseService<CylinderAreaDataDto
List
<
Object
>
problemCount
=
new
ArrayList
<>();
List
<
Object
>
processedRate
=
new
ArrayList
<>();
List
<
Object
>
xdata
=
new
ArrayList
<>();
for
(
int
i
=
1
;
i
<=
12
;
i
++){
xdata
.
add
(
i
+
"月"
);
for
(
int
i
=
0
;
i
<
12
;
i
++){
String
time
=
LocalDate
.
now
().
minusMonths
(
i
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
));
xdata
.
add
(
time
);
if
(
allIssueMap
.
get
(
time
)
==
null
){
problemCount
.
add
(
"0"
);
processedRate
.
add
(
"0"
);
...
...
@@ -1000,6 +1002,7 @@ public class CylinderAreaDataServiceImpl extends BaseService<CylinderAreaDataDto
}
}
}
Collections
.
reverse
(
xdata
);
Collections
.
reverse
(
problemCount
);
Collections
.
reverse
(
processedRate
);
resultMap
.
put
(
"xdata"
,
xdata
);
...
...
@@ -1039,8 +1042,8 @@ public class CylinderAreaDataServiceImpl extends BaseService<CylinderAreaDataDto
List
<
Object
>
processedRate
=
new
ArrayList
<>();
List
<
Object
>
xdata
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
29
;
i
++){
xdata
.
add
(
LocalDate
.
now
().
minusDays
(
i
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
)
));
String
time
=
LocalDate
.
now
().
minusMonths
(
i
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
)
);
String
time
=
LocalDate
.
now
().
minusDays
(
i
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
));
xdata
.
add
(
time
);
if
(
allIssueMap
.
get
(
time
)
==
null
){
problemCount
.
add
(
"0"
);
processedRate
.
add
(
"0"
);
...
...
@@ -1061,4 +1064,91 @@ public class CylinderAreaDataServiceImpl extends BaseService<CylinderAreaDataDto
resultMap
.
put
(
"processedRate"
,
processedRate
);
return
resultMap
;
}
public
Map
<
String
,
Object
>
issueCountByCityCode
(
String
cityCode
)
{
String
orgCode
=
getAndSetOrgCode
(
cityCode
);
String
now
=
LocalDate
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
));
int
count
=
statisticsMapper
.
countByOrgCode
(
orgCode
,
now
);
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
resultMap
.
put
(
"issueCount"
,
count
);
return
resultMap
;
}
public
List
<
Map
<
String
,
Object
>>
issueChildrenCityCount
(
String
cityCode
)
throws
Exception
{
List
<
RegionModel
>
regionModels
=
setRegionIfRootParent
(
cityCode
);
List
<
Integer
>
regionCodeList
=
regionModels
.
stream
().
map
(
m
->
m
.
getRegionCode
()).
collect
(
Collectors
.
toList
());
List
<
Map
<
String
,
String
>>
orgCodeAndCompanyCodesByCompanyCodes
=
statisticsMapper
.
getOrgCodeAndCompanyCodesByCompanyCodes
(
regionCodeList
);
List
<
String
>
orgCodes
=
orgCodeAndCompanyCodesByCompanyCodes
.
stream
().
map
(
m
->
m
.
get
(
"orgCode"
)).
collect
(
Collectors
.
toList
());
String
now
=
LocalDate
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
));
Map
<
String
,
String
>
orgCodeAndCompanyCodesMap
=
new
HashMap
<>();
orgCodeAndCompanyCodesByCompanyCodes
.
stream
().
forEach
(
t
->{
orgCodeAndCompanyCodesMap
.
put
(
t
.
get
(
"companyCode"
),
t
.
get
(
"orgCode"
));
});
List
<
Map
<
String
,
Object
>>
list
=
statisticsMapper
.
countByOrgCodes
(
orgCodes
,
now
);
Map
<
String
,
Object
>
dataMap
=
new
HashMap
<>();
list
.
stream
().
forEach
(
t
->{
dataMap
.
put
(
t
.
get
(
"orgCode"
).
toString
(),
t
.
get
(
"count"
));
});
List
<
Map
<
String
,
Object
>>
resultList
=
new
ArrayList
<>();
for
(
RegionModel
regionModel
:
regionModels
){
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
AtomicInteger
count
=
new
AtomicInteger
();
map
.
put
(
"regionCode"
,
regionModel
.
getRegionCode
());
map
.
put
(
"regionName"
,
regionModel
.
getRegionName
());
if
(
StringUtils
.
isNotBlank
(
orgCodeAndCompanyCodesMap
.
get
(
regionModel
.
getRegionCode
()+
""
))){
dataMap
.
forEach
((
k
,
v
)->{
if
(
k
.
startsWith
(
orgCodeAndCompanyCodesMap
.
get
(
regionModel
.
getRegionCode
()+
""
))){
if
(
null
!=
v
){
count
.
addAndGet
(
Integer
.
valueOf
(
v
+
""
));
}
}
});
}
map
.
put
(
"issueCount"
,
count
);
resultList
.
add
(
map
);
}
return
resultList
;
}
public
List
<
Map
<
String
,
Object
>>
issueMonthList
(
String
cityCode
)
{
String
orgCode
=
getAndSetOrgCode
(
cityCode
);
String
time
=
LocalDate
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
));
List
<
Map
<
String
,
Object
>>
list
=
statisticsMapper
.
issueMonthList
(
orgCode
,
time
);
return
list
;
}
public
Map
<
String
,
Object
>
issueProblemLevelCount
(
String
cityCode
)
{
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
String
orgCode
=
getAndSetOrgCode
(
cityCode
);
String
time
=
LocalDate
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy"
));
List
<
Map
<
String
,
Object
>>
list
=
statisticsMapper
.
issueProblemLevelCount
(
orgCode
,
time
);
List
<
Object
>
xdata
=
new
ArrayList
<>();
List
<
Object
>
ydata
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++){
xdata
.
add
(
list
.
get
(
i
).
get
(
"problemLevel"
));
ydata
.
add
(
list
.
get
(
i
).
get
(
"count"
));
}
resultMap
.
put
(
"xdata"
,
xdata
);
resultMap
.
put
(
"ydata"
,
ydata
);
return
resultMap
;
}
public
List
<
Map
<
String
,
Object
>>
issueCompanyTop
(
String
cityCode
)
{
List
<
Map
<
String
,
Object
>>
resultList
=
new
ArrayList
<>();
String
orgCode
=
getAndSetOrgCode
(
cityCode
);
String
time
=
LocalDate
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy"
));
List
<
Map
<
String
,
Object
>>
list
=
statisticsMapper
.
issueCompanyTop
(
orgCode
,
time
);
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++){
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"sequenceNbr"
,(
i
+
1
)+
""
);
map
.
put
(
"region"
,
list
.
get
(
i
).
get
(
"governingBody"
));
map
.
put
(
"company"
,
list
.
get
(
i
).
get
(
"principalUnit"
));
map
.
put
(
"count"
,
list
.
get
(
i
).
get
(
"count"
));
resultList
.
add
(
map
);
}
return
resultList
;
}
}
\ No newline at end of file
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