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
02a6964c
Commit
02a6964c
authored
Jan 10, 2023
by
liulianglang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排除侦查终结时间为null
parent
0a729ca6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.xml
+6
-6
src/main/java/org/springblade/founder/tjfx/mapper/TjfxMapper.xml
+3
-3
No files found.
src/main/java/org/springblade/founder/tjfx/mapper/AjtjMapper.xml
View file @
02a6964c
...
...
@@ -215,7 +215,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
select asj.larq as monthName,count(*) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -240,7 +240,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
select asj.larq as monthName,count(*) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq
FROM tb_st_asj asj
where asj.xxsc_pdbz='0'
and asj.ZCJDDM = '0600'
where asj.xxsc_pdbz='0'
and asj.ZCJDDM = '0600' and asj.ZCZJ_ZXSJ01 is not null
<if
test=
"ajlbsql !=null and ajlbsql!=''"
>
${ajlbsql}
</if>
...
...
@@ -371,7 +371,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
<if
test=
"ajlbsql !=null and ajlbsql!=''"
>
${ajlbsql}
</if>
...
...
@@ -450,7 +450,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
<if
test=
"larqQssj!=null and larqQssj!=''"
>
<!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
...
...
@@ -477,7 +477,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
SELECT count(1)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
<if
test=
"ajlbsql !=null and ajlbsql!=''"
>
${ajlbsql}
</if>
...
...
@@ -885,7 +885,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
</if>
<if
test=
"ajType!=null and ajType!='' and ajType == '2'.toString()"
>
<!--破案查询-->
and asj.ZCJDDM = '0600'
and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
</if>
<if
test=
"unitcodeList != null and unitcodeList.size() > 0"
>
and
...
...
src/main/java/org/springblade/founder/tjfx/mapper/TjfxMapper.xml
View file @
02a6964c
...
...
@@ -22,7 +22,7 @@
</if>
<if
test=
"ajType!=null and ajType!='' and ajType == '2'.toString()"
>
<!--破案查询-->
and asj.ZCJDDM = '0600'
and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
</if>
<if
test=
"month!=null and month!=''"
>
AND to_char(asj.LARQ,'yyyy-MM')=#{month}
...
...
@@ -109,7 +109,7 @@
select asj.larq as monthName,count(*) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
<include
refid=
"aj-condition"
/>
<include
refid=
"common-condition"
/>
) asj
...
...
@@ -121,7 +121,7 @@
SELECT count(1)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
and asj.ZCZJ_ZXSJ01 is not null
<include
refid=
"aj-condition"
/>
<include
refid=
"common-condition"
/>
...
...
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