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
12d39434
Commit
12d39434
authored
Feb 07, 2023
by
liulianglang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抓获作案人数和提请批捕人数修改
parent
386673d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
13 deletions
+49
-13
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.java
+1
-0
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.xml
+48
-13
No files found.
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.java
View file @
12d39434
...
...
@@ -84,6 +84,7 @@ public interface AjtjMapper {
List
<
TbXwZbfzxyr
>
getZaryList
(
AjtjParam
ajtjParam
);
int
getZaryListCount
(
AjtjParam
ajtjParam
);
String
getCodeLevByCode
(
String
unitcode
);
List
<
String
>
getDwdmList
(
Map
<
String
,
Object
>
map
);
...
...
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.xml
View file @
12d39434
...
...
@@ -319,10 +319,14 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
</select>
<select
id=
"getAjZarsyuest"
resultType=
"org.springblade.founder.tjfx.entity.AjtjResult"
>
select asj.larq as monthName,sum(asj.rs) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq,asj.zary_rs as rs
FROM tb_st_asj asj
where asj.xxsc_pdbz='0'
select asj.larq as monthName,count(1) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
and (select count(1) from tb_st_asj_flws flws where flws.xxsc_pdbz='0'
and flws.asjxgrybh=xyr.zhfzxyr_asjxgrybh and flws.asjbh=xyr.asjbh and flws.flws_asjflwsdm in ('030600',
'030601','030602','030603','030604','030605','030606','030607','030608','030609',
'030610','030611') ) >0
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -347,7 +351,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
select asj.larq as monthName,count(1) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
and (xyr.ZHFZXYR_FZXYRDAZTDM='1' or xyr.zhrq is not null)
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -417,9 +421,14 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
</select>
<select
id=
"getqnrqZarsCount"
resultType=
"java.lang.Integer"
>
SELECT sum(zary_rs)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
SELECT count(1)
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
and (select count(1) from tb_st_asj_flws flws where flws.xxsc_pdbz='0'
and flws.asjxgrybh=xyr.zhfzxyr_asjxgrybh and flws.asjbh=xyr.asjbh and flws.flws_asjflwsdm in ('030600',
'030601','030602','030603','030604','030605','030606','030607','030608','030609',
'030610','030611') ) >0
and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
<if
test=
"unitcodeList != null and unitcodeList.size() > 0"
>
and
<foreach
collection=
"unitcodeList"
item=
"dws"
open=
"("
close=
")"
separator=
" or "
>
...
...
@@ -435,7 +444,9 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
and (xyr.ZHFZXYR_FZXYRDAZTDM='1' or xyr.zhrq is not null)
and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
<if
test=
"unitcodeList != null and unitcodeList.size() > 0"
>
and
<foreach
collection=
"unitcodeList"
item=
"dws"
open=
"("
close=
")"
separator=
" or "
>
...
...
@@ -548,9 +559,14 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
<select
id=
"getAjZars"
resultType=
"java.lang.Integer"
>
SELECT sum(zary_rs)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
and (select count(1) from tb_st_asj_flws flws where flws.xxsc_pdbz='0'
and flws.asjxgrybh=xyr.zhfzxyr_asjxgrybh and flws.asjbh=xyr.asjbh and flws.flws_asjflwsdm in ('030600',
'030601','030602','030603','030604','030605','030606','030607','030608','030609',
'030610','030611') ) >0
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -573,7 +589,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
and (xyr.ZHFZXYR_FZXYRDAZTDM='1' or xyr.zhrq is not null)
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -747,6 +763,15 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
to_char(xyr.ZHRQ,'yyyy-mm-dd') zhrqstr
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
<if
test=
"xyrlx != null and xyrlx != '' and xyrlx == 'yzh'.toString() "
>
and (xyr.ZHFZXYR_FZXYRDAZTDM='1' or xyr.zhrq is not null)
</if>
<if
test=
"xyrlx != null and xyrlx != '' and xyrlx == 'tqdp'.toString() "
>
and (select count(1) from tb_st_asj_flws flws where flws.xxsc_pdbz='0'
and flws.asjxgrybh=xyr.zhfzxyr_asjxgrybh and flws.asjbh=xyr.asjbh and flws.flws_asjflwsdm in ('030600',
'030601','030602','030603','030604','030605','030606','030607','030608','030609',
'030610','030611') ) >0
</if>
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -773,6 +798,16 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and xyr.xxsc_pdbz='0'
<if
test=
"xyrlx != null and xyrlx != '' and xyrlx == 'yzh'.toString() "
>
and (xyr.ZHFZXYR_FZXYRDAZTDM='1' or xyr.zhrq is not null)
</if>
<if
test=
"xyrlx != null and xyrlx != '' and xyrlx == 'tqdp'.toString() "
>
and (select count(1) from tb_st_asj_flws flws where flws.xxsc_pdbz='0'
and flws.asjxgrybh=xyr.zhfzxyr_asjxgrybh and flws.asjbh=xyr.asjbh and flws.flws_asjflwsdm in ('030600',
'030601','030602','030603','030604','030605','030606','030607','030608','030609',
'030610','030611') ) >0
</if>
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
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