Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-qyxzpt-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
刘良浪
xzxt-qyxzpt-report
Commits
ab883daf
Commit
ab883daf
authored
Jan 10, 2023
by
liulianglang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提请逮捕统计暂时注释
parent
d7d2638c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
src/main/java/org/springblade/founder/tjfx/controller/AjTjController.java
+3
-2
src/main/java/org/springblade/founder/tjfx/controller/TjfxController.java
+2
-2
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.xml
+3
-3
src/main/java/org/springblade/founder/tjfx/service/impl/AjtjServiceImpl.java
+7
-6
No files found.
src/main/java/org/springblade/founder/tjfx/controller/AjTjController.java
View file @
ab883daf
...
...
@@ -203,7 +203,7 @@ public class AjTjController {
return
R
.
error
(
e
.
getMessage
());
}
}
@PostMapping
(
"/getAj
Za
rsyuest"
)
@PostMapping
(
"/getAj
Pb
rsyuest"
)
@ApiOperation
(
value
=
"各月份作案人数分月走势图"
,
notes
=
"各月份立破案分月走势图"
)
public
R
getAjZarsyuest
(
AjtjParam
ajtjParam
){
try
{
...
...
@@ -214,10 +214,11 @@ public class AjTjController {
return
R
.
error
(
e
.
getMessage
());
}
}
@PostMapping
(
"/getAj
Pb
rsyuest"
)
@PostMapping
(
"/getAj
Za
rsyuest"
)
@ApiOperation
(
value
=
"各月份提请批捕人数分月走势图"
,
notes
=
"各月份提请批捕人数分月走势图"
)
public
R
getAjPbrsyuest
(
AjtjParam
ajtjParam
){
try
{
//暂时先计算抓捕犯罪嫌疑人为作案人数,提请审批为0
List
<
AjtjResult
>
result
=
ajtjService
.
getAjPbrsyuest
(
ajtjParam
);
return
R
.
ok
().
data
(
"result"
,
result
);
}
catch
(
Exception
e
)
{
...
...
src/main/java/org/springblade/founder/tjfx/controller/TjfxController.java
View file @
ab883daf
...
...
@@ -106,7 +106,7 @@ public class TjfxController {
public
R
getQdpafyuest
(
AjtjParam
ajtjParam
)
{
try
{
ajtjService
.
setDwxx
(
ajtjParam
);
return
tjfxService
.
getPafyuest
(
ajtjParam
,
"
ww
"
);
return
tjfxService
.
getPafyuest
(
ajtjParam
,
"
qd
"
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
R
.
error
(
e
.
getMessage
());
...
...
@@ -125,7 +125,7 @@ public class TjfxController {
try
{
ajtjService
.
setDwxx
(
ajtjParam
);
List
<
LianTj
>
result
=
tjfxService
.
getPaqk
(
ajtjParam
,
"
ww
"
);
List
<
LianTj
>
result
=
tjfxService
.
getPaqk
(
ajtjParam
,
"
qd
"
);
return
R
.
ok
().
data
(
"result"
,
result
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.xml
View file @
ab883daf
...
...
@@ -132,7 +132,7 @@
) then 1 else 0 end) ]]>
as dqcount,
<![CDATA[ sum( case when asj.ajlbdm in (
'05000300'
) and
asj.zatz_jyqk !='050003000200'
then 1 else 0 end)]]>
as btzpcount,
) and
(asj.zatz_jyqk !='050003000200' or asj.zatz_jyqk is null )
then 1 else 0 end)]]>
as btzpcount,
<![CDATA[ sum(case when asj.ajlbdm in (
'05000300'
...
...
@@ -178,7 +178,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
) then 1 else 0 end) ]]>
as dqcount,
<![CDATA[ sum( case when asj.ajlbdm in (
'05000300'
) and
asj.zatz_jyqk !='050003000200'
then 1 else 0 end)]]>
as btzpcount,
) and
(asj.zatz_jyqk !='050003000200' or asj.zatz_jyqk is null )
then 1 else 0 end)]]>
as btzpcount,
<![CDATA[ sum(case when asj.ajlbdm in (
'05000300'
...
...
@@ -804,7 +804,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
<if
test=
"type!=null and type!='' and type == 'btzp'.toString()"
>
<!--普通诈骗-->
and asj.ajlbdm in (
'05000300'
) and
asj.zatz_jyqk !='050003000200'
) and
(asj.zatz_jyqk !='050003000200' or asj.zatz_jyqk is null )
</if>
<if
test=
"type!=null and type!='' and type == 'dxzp'.toString()"
>
<!--电信诈骗-->
and asj.ajlbdm in (
...
...
src/main/java/org/springblade/founder/tjfx/service/impl/AjtjServiceImpl.java
View file @
ab883daf
...
...
@@ -558,9 +558,9 @@ public class AjtjServiceImpl implements AjtjService {
@Override
public
List
<
AjtjResult
>
getAjZarsyuest
(
AjtjParam
ajtjParam
)
{
setDwxx
(
ajtjParam
);
List
<
AjtjResult
>
poans
=
ajtjMapper
.
getAjZarsyuest
(
ajtjParam
);
List
<
AjtjResult
>
poan
=
NumberUtil
.
listToMap
(
poans
,
ajtjParam
);
//
setDwxx(ajtjParam);
//
List<AjtjResult> poans = ajtjMapper.getAjZarsyuest(ajtjParam);
List
<
AjtjResult
>
poan
=
NumberUtil
.
listToMap
(
null
,
ajtjParam
);
try
{
if
(
poan
.
size
()
>=
2
)
{
AjtjResult
lastnum
=
poan
.
get
(
poan
.
size
()
-
1
);
...
...
@@ -585,7 +585,8 @@ public class AjtjServiceImpl implements AjtjService {
String
rq
=
lastnum
.
getMonthName
();
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM"
);
String
qnrq
=
sdf
.
format
(
DateUtil
.
getDateBeforeToYear
(
sdf
.
parse
(
rq
),
1
));
Integer
qnfa
=
ajtjMapper
.
getqnrqZarsCount
(
qnrq
,
ajtjParam
.
getUnitcodeList
());
// Integer qnfa = ajtjMapper.getqnrqZarsCount(qnrq,ajtjParam.getUnitcodeList());
Integer
qnfa
=
0
;
//计算百分百
poan
.
get
(
poan
.
size
()
-
1
).
setTb
(
"同比"
+
NumberUtil
.
getTbhb
(
lastfanum
.
intValue
(),
qnfa
));
// if (qnfa > lastfanum) {
...
...
@@ -609,8 +610,8 @@ public class AjtjServiceImpl implements AjtjService {
setDwxx
(
ajtjParam
);
//提请批捕暂时未知怎么计算先为0
//
List<AjtjResult> poans = ajtjMapper.getAjPbrsyuest(ajtjParam);
List
<
AjtjResult
>
poan
=
NumberUtil
.
listToMap
(
null
,
ajtjParam
);
List
<
AjtjResult
>
poans
=
ajtjMapper
.
getAjPbrsyuest
(
ajtjParam
);
List
<
AjtjResult
>
poan
=
NumberUtil
.
listToMap
(
poans
,
ajtjParam
);
try
{
if
(
poan
.
size
()
>=
2
)
{
AjtjResult
lastnum
=
poan
.
get
(
poan
.
size
()
-
1
);
...
...
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