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
8589eb75
Commit
8589eb75
authored
Jan 09, 2023
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计分析透视
parent
5c89d99e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
src/main/java/org/springblade/founder/tjfx/controller/TjfxController.java
+20
-0
src/main/java/org/springblade/founder/tjfx/mapper/TjfxMapper.xml
+7
-3
src/main/java/org/springblade/founder/tjfx/service/TjfxService.java
+1
-1
No files found.
src/main/java/org/springblade/founder/tjfx/controller/TjfxController.java
View file @
8589eb75
...
...
@@ -763,6 +763,26 @@ public class TjfxController {
}
/**
* 案件透视
*
* @param ajtjParam
* @return
*/
@PostMapping
(
"/getAjtsList"
)
@ApiOperation
(
value
=
"案件透视"
,
notes
=
"案件透视"
)
public
R
getWwfats
(
AjtjParam
ajtjParam
)
{
try
{
if
(
"dxwlzp-ssje"
.
equals
(
ajtjParam
.
getType
())){
return
tjfxService
.
getSsjeTs
(
ajtjParam
);
}
return
tjfxService
.
getFats
(
ajtjParam
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
R
.
error
(
e
.
getMessage
());
}
}
}
src/main/java/org/springblade/founder/tjfx/mapper/TjfxMapper.xml
View file @
8589eb75
...
...
@@ -16,15 +16,19 @@
<if
test=
"jabz!=null and jabz!='' and jabz == '1'.toString()"
>
<!--破现案查询-->
and to_char(asj.LARQ,'yyyy')=to_char(asj.ZCZJ_ZXSJ01,'yyyy')
</if>
<if
test=
"jabz!=null and jabz!='' and jabz == '2'.toString()"
>
<!--破积案查询-->
and to_char(asj.LARQ,'yyyy')!=to_char(asj.ZCZJ_ZXSJ01,'yyyy')
</if>
<if
test=
"ajType!=null and ajType!='' and ajType == '2'.toString()"
>
<!--破案查询-->
and asj.ZCJDDM = '0600'
</if>
<if
test=
"month!=null and month!=''"
>
AND to_char(asj.LARQ,'yyyy-MM')=#{month}
</if>
</sql>
<sql
id=
"aj-condition"
>
<if
test=
"pxzd!=null and pxzd!='' and pxzd == 'pa'.toString()"
>
<!--破案条件-->
and asj.ZCJDDM = '0600'
</if>
<if
test=
"type!=null and type!='' and type == 'ww'.toString()"
>
<!--文物-->
and asj.ajlbdm in ('06040100','06040200','06040300','06040400','06040500','06040600','06040700')
</if>
...
...
src/main/java/org/springblade/founder/tjfx/service/TjfxService.java
View file @
8589eb75
...
...
@@ -28,7 +28,7 @@ public interface TjfxService {
//案件破案分月分析
R
getPats
(
AjtjParam
ajtjParam
);
//破
现
案透视
//破
积
案透视
R
getPxats
(
AjtjParam
ajtjParam
);
//损失金额透视
R
getSsjeTs
(
AjtjParam
ajtjParam
);
...
...
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