Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
huaxin-rq
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
耿迪迪
huaxin-rq
Commits
a3fa35f5
Commit
a3fa35f5
authored
Jun 04, 2026
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏新增工业用户,修改大屏工商业用户地区排序,照片添加翻页
parent
fa52c825
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
14 deletions
+24
-14
TScreenStatisticServiceImpl.java
...hong/system/service/impl/TScreenStatisticServiceImpl.java
+4
-1
TScreenStatisticMapper.xml
...c/main/resources/mapper/system/TScreenStatisticMapper.xml
+4
-1
UserTypeBarChartGy.vue
...src/views/bigWindow/Ind/components/UserTypeBarChartGy.vue
+15
-11
CoverPhotoView.vue
...eb/src/views/checktask/task/components/CoverPhotoView.vue
+1
-1
No files found.
huaxin-system/src/main/java/com/zehong/system/service/impl/TScreenStatisticServiceImpl.java
View file @
a3fa35f5
...
@@ -133,9 +133,12 @@ public class TScreenStatisticServiceImpl implements TScreenStatisticService{
...
@@ -133,9 +133,12 @@ public class TScreenStatisticServiceImpl implements TScreenStatisticService{
List
<
Map
<
String
,
Object
>>
userStatistic
=
screenStatisticMapper
.
userStatistic
(
1
);
List
<
Map
<
String
,
Object
>>
userStatistic
=
screenStatisticMapper
.
userStatistic
(
1
);
result
.
put
(
"categories"
,
userStatistic
.
stream
().
map
(
item
->
item
.
get
(
"areaName"
)).
collect
(
Collectors
.
toList
()));
result
.
put
(
"categories"
,
userStatistic
.
stream
().
map
(
item
->
item
.
get
(
"areaName"
)).
collect
(
Collectors
.
toList
()));
result
.
put
(
"residential"
,
userStatistic
.
stream
().
map
(
item
->
item
.
get
(
"num"
)).
collect
(
Collectors
.
toList
()));
result
.
put
(
"residential"
,
userStatistic
.
stream
().
map
(
item
->
item
.
get
(
"num"
)).
collect
(
Collectors
.
toList
()));
//
工商
用户统计
//
商业
用户统计
List
<
Map
<
String
,
Object
>>
bussinessStatistic
=
screenStatisticMapper
.
userStatistic
(
2
);
List
<
Map
<
String
,
Object
>>
bussinessStatistic
=
screenStatisticMapper
.
userStatistic
(
2
);
result
.
put
(
"commercial"
,
bussinessStatistic
.
stream
().
map
(
item
->
item
.
get
(
"num"
)).
collect
(
Collectors
.
toList
()));
result
.
put
(
"commercial"
,
bussinessStatistic
.
stream
().
map
(
item
->
item
.
get
(
"num"
)).
collect
(
Collectors
.
toList
()));
//工业用户统计
List
<
Map
<
String
,
Object
>>
industryStatistic
=
screenStatisticMapper
.
userStatistic
(
3
);
result
.
put
(
"industry"
,
industryStatistic
.
stream
().
map
(
item
->
item
.
get
(
"num"
)).
collect
(
Collectors
.
toList
()));
return
result
;
return
result
;
}
}
...
...
huaxin-system/src/main/resources/mapper/system/TScreenStatisticMapper.xml
View file @
a3fa35f5
...
@@ -144,9 +144,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -144,9 +144,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"type == 2"
>
<if
test=
"type == 2"
>
LEFT JOIN t_business us ON area.id = us.street
LEFT JOIN t_business us ON area.id = us.street
</if>
</if>
<if
test=
"type == 3"
>
LEFT JOIN t_industry us ON area.id = us.street
</if>
WHERE area.parent_id = 8
WHERE area.parent_id = 8
GROUP BY area.id
GROUP BY area.id
ORDER BY area.
id
ORDER BY area.
sort
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
huaxin-web/src/views/bigWindow/Ind/components/UserTypeBarChartGy.vue
View file @
a3fa35f5
...
@@ -68,6 +68,10 @@ export default {
...
@@ -68,6 +68,10 @@ export default {
this
.
commercial
=
Array
.
isArray
(
res
.
data
.
commercial
)
this
.
commercial
=
Array
.
isArray
(
res
.
data
.
commercial
)
?
res
.
data
.
commercial
?
res
.
data
.
commercial
:
(
res
.
data
.
commercial
||
[]).
map
(
Number
);
:
(
res
.
data
.
commercial
||
[]).
map
(
Number
);
this
.
industry
=
Array
.
isArray
(
res
.
data
.
industry
)
?
res
.
data
.
industry
:
(
res
.
data
.
industry
||
[]).
map
(
Number
);
this
.
updateChart
();
this
.
updateChart
();
}
}
})
})
...
@@ -128,18 +132,18 @@ export default {
...
@@ -128,18 +132,18 @@ export default {
},
},
},
},
series
:
[
series
:
[
// {
// name: "居民用户",
// type: "bar",
// data: this.residential,
// barWidth: 10,
// itemStyle: {
// borderRadius: [2, 2, 0, 0],
// color: "#2fd6ff",
// },
// },
{
{
name
:
"工商业用户"
,
name
:
"工业用户"
,
type
:
"bar"
,
data
:
this
.
industry
,
barWidth
:
10
,
itemStyle
:
{
borderRadius
:
[
2
,
2
,
0
,
0
],
color
:
"#2fd6ff"
,
},
},
{
name
:
"商业用户"
,
type
:
"bar"
,
type
:
"bar"
,
data
:
this
.
commercial
,
data
:
this
.
commercial
,
barWidth
:
10
,
barWidth
:
10
,
...
...
huaxin-web/src/views/checktask/task/components/CoverPhotoView.vue
View file @
a3fa35f5
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
v-if=
"imageList"
v-if=
"imageList"
v-for=
"img in imageList"
v-for=
"img in imageList"
:src=
"img"
:src=
"img"
:preview-src-list=
"
[img]
"
:preview-src-list=
"
imageList
"
:z-index=
"9999"
:z-index=
"9999"
class=
"picture"
class=
"picture"
/>
/>
...
...
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