Commit 6235c767 by liulianglang

透视破案修改

parent 81b3f1ab
...@@ -213,7 +213,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0' ...@@ -213,7 +213,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
<!--各月份破案数分析--> <!--各月份破案数分析-->
<select id="getPayuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult"> <select id="getPayuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
select asj.larq as monthName,count(*) faNum from ( select asj.larq as monthName,count(*) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq SELECT to_char(asj.ZCZJ_ZXSJ01,'yyyy-mm') as larq
FROM tb_st_asj asj FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM in ('0600','0700','0800') and asj.ZCZJ_ZXSJ01 is not null where asj.xxsc_pdbz='0' and asj.ZCJDDM in ('0600','0700','0800') and asj.ZCZJ_ZXSJ01 is not null
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询--> <if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
...@@ -238,7 +238,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0' ...@@ -238,7 +238,7 @@ from tb_st_asj asj where asj.xxsc_pdbz='0'
<select id="getGmrsqlPayuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult"> <select id="getGmrsqlPayuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
select asj.larq as monthName,count(*) faNum from ( select asj.larq as monthName,count(*) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq SELECT to_char(asj.ZCZJ_ZXSJ01,'yyyy-mm') as larq
FROM tb_st_asj asj FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM in ('0600','0700','0800') and asj.ZCZJ_ZXSJ01 is not null where asj.xxsc_pdbz='0' and asj.ZCJDDM in ('0600','0700','0800') and asj.ZCZJ_ZXSJ01 is not null
<if test="ajlbsql !=null and ajlbsql!=''"> <if test="ajlbsql !=null and ajlbsql!=''">
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<!--案件破案分月分析--> <!--案件破案分月分析-->
<select id="getPafyuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult"> <select id="getPafyuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
select asj.larq as monthName,count(*) faNum from ( select asj.larq as monthName,count(*) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq SELECT to_char(asj.ZCZJ_ZXSJ01,'yyyy-mm') as larq
FROM tb_st_asj asj FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM in ('0600','0700','0800') and asj.ZCZJ_ZXSJ01 is not null where asj.xxsc_pdbz='0' and asj.ZCJDDM in ('0600','0700','0800') and asj.ZCZJ_ZXSJ01 is not null
<include refid="aj-condition"/> <include refid="aj-condition"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment