Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
d9d5c520
Commit
d9d5c520
authored
Apr 01, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
c3316619
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TBoardStatisticServiceImpl.java
...museum/party/service/impl/TBoardStatisticServiceImpl.java
+3
-3
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/TBoardStatisticServiceImpl.java
View file @
d9d5c520
...
@@ -100,8 +100,6 @@ public class TBoardStatisticServiceImpl extends ServiceImpl<TBoardStatisticMappe
...
@@ -100,8 +100,6 @@ public class TBoardStatisticServiceImpl extends ServiceImpl<TBoardStatisticMappe
@Override
@Override
public
Page
<
TDistrictBoardStatistic
>
getBoardDistrictPageList
(
Page
<
TDistrictBoardStatistic
>
page
,
TDistrictBoardStatistic
district
){
public
Page
<
TDistrictBoardStatistic
>
getBoardDistrictPageList
(
Page
<
TDistrictBoardStatistic
>
page
,
TDistrictBoardStatistic
district
){
List
<
TDistrictBoardStatistic
>
list
=
boardStatisticMapper
.
getBoardDistrictPageList
(
page
,
district
);
List
<
TDistrictBoardStatistic
>
list
=
boardStatisticMapper
.
getBoardDistrictPageList
(
page
,
district
);
list
.
stream
().
forEach
(
l
->
l
.
setAreaName
(
l
.
getAreaName
().
replace
(
"省"
,
""
).
replace
(
"市"
,
""
).
replace
(
"自治区"
,
""
).
replace
(
"特别行政区"
,
""
).
replace
(
"壮族"
,
""
).
replace
(
"回族"
,
""
).
replace
(
"维吾尔"
,
""
)));
page
.
setRecords
(
list
);
page
.
setRecords
(
list
);
return
page
;
return
page
;
}
}
...
@@ -131,6 +129,8 @@ public class TBoardStatisticServiceImpl extends ServiceImpl<TBoardStatisticMappe
...
@@ -131,6 +129,8 @@ public class TBoardStatisticServiceImpl extends ServiceImpl<TBoardStatisticMappe
QueryWrapper
qw
=
new
QueryWrapper
();
QueryWrapper
qw
=
new
QueryWrapper
();
qw
.
eq
(
"type"
,
"P"
);
qw
.
eq
(
"type"
,
"P"
);
List
<
TArea
>
provlist
=
areaService
.
list
(
qw
);
List
<
TArea
>
provlist
=
areaService
.
list
(
qw
);
provlist
.
stream
().
forEach
(
l
->
l
.
setName
(
l
.
getName
().
replace
(
"省"
,
""
).
replace
(
"市"
,
""
).
replace
(
"自治区"
,
""
).
replace
(
"特别行政区"
,
""
).
replace
(
"壮族"
,
""
).
replace
(
"回族"
,
""
).
replace
(
"维吾尔"
,
""
)));
// 遍历省份,统计各省播放量
// 遍历省份,统计各省播放量
TBoardSurvey
survey
=
new
TBoardSurvey
();
TBoardSurvey
survey
=
new
TBoardSurvey
();
String
dateStr
=
DateUtil
.
getCurrentDate
(
"yyyyMM"
);
String
dateStr
=
DateUtil
.
getCurrentDate
(
"yyyyMM"
);
...
...
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