Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-app-report
Overview
Overview
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
Administrator
xzxt-app-report
Commits
49750488
Commit
49750488
authored
May 17, 2021
by
lilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改命案月度报告
parent
08beddd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/main/java/org/springblade/founder/ypbg/service/impl/YpbgServiceImpl.java
+8
-3
No files found.
src/main/java/org/springblade/founder/ypbg/service/impl/YpbgServiceImpl.java
View file @
49750488
...
...
@@ -306,7 +306,7 @@ public class YpbgServiceImpl implements IYpbgService {
}
fas0Zb
=
NumberUtil
.
getPercent
(
fas0
,
qxs
);
String
fadw
=
""
;
String
fadw
=
"
发生命案较多的有:
"
;
if
(
faList
!=
null
&&
faList
.
size
()>
10
){
for
(
int
i
=
0
;
i
<
10
;
i
++){
fadw
+=
getMapValue
(
faList
.
get
(
i
),
"dwmc"
)+
"、"
;
...
...
@@ -316,9 +316,14 @@ public class YpbgServiceImpl implements IYpbgService {
fadw
+=
getMapValue
(
map
,
"dwmc"
)+
"、"
;
}
}
fadw
=
fadw
.
substring
(
0
,
fadw
.
length
()-
1
)+
"。"
;
if
(
fadw
.
endsWith
(
"、"
)){
fadw
=
fadw
.
substring
(
0
,
fadw
.
length
()-
1
)+
"。"
;
}
else
{
fadw
=
""
;
}
String
resultStr
=
"全国"
+
qxs
+
"个区县中,零发案的有"
+
fas0
+
"个、占"
+
fas0Zb
+
",发生1起命案的"
+
fas1
+
"个,发生2起命案的"
+
fas2
+
"个,发生3起及以上命案的"
+
fas3
+
"个。
发生命案较多的有:
"
+
fadw
;
fas3
+
"个。"
+
fadw
;
return
resultStr
;
}
...
...
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