Commit 441b0584 by liulianglang

统计报表

parent be990e71
...@@ -54,6 +54,178 @@ public class AjTjController { ...@@ -54,6 +54,178 @@ public class AjTjController {
} }
} }
@PostMapping("/getGmrsqlzzt")
@ApiOperation(value = "侵犯公民人身权利柱状图", notes = "侵犯公民人身权利柱状图")
public R getGmrsqlzzt(AjtjParam ajtjParam){
try {
List<LianTj> result = ajtjService.getGmrsqlzzt(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getGmrsqlFapafyuest")
@ApiOperation(value = "各月份侵犯公民人身权利立破案分月走势图", notes = "各月份侵犯公民人身权利立破案分月走势图")
public R getGmrsqlFapafyuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getGmrsqlFapafyuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getGmrsqlPayuest")
@ApiOperation(value = "各月份侵犯公民人身权利破案分月走势图", notes = "各月份侵犯公民人身权利破案分月走势图")
public R getGmrsqlPayuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getGmrsqlPayuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getBlyzblfzzzt")
@ApiOperation(value = "八类严重暴力犯罪柱状图", notes = "八类严重暴力犯罪柱状图")
public R getBlyzblfzzzt(AjtjParam ajtjParam){
try {
List<LianTj> result = ajtjService.getBlyzblfzzzt(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getBlyzblfzFapafyuest")
@ApiOperation(value = "八类严重暴力犯罪立破案分月走势图", notes = "八类严重暴力犯罪立破案分月走势图")
public R getBlyzblfzFapafyuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getBlyzblfzFapafyuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getBlyzblfzPayuest")
@ApiOperation(value = "八类严重暴力犯罪破案分月走势图", notes = "八类严重暴力犯罪破案分月走势图")
public R getBlyzblfzPayuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getBlyzblfzPayuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getXxmazzt")
@ApiOperation(value = "现行命案柱状图", notes = "现行命案柱状图")
public R getXxmazzt(AjtjParam ajtjParam){
try {
List<LianTj> result = ajtjService.getXxmazzt(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getXxmaFapafyuest")
@ApiOperation(value = "现行命案立破案分月走势图", notes = "现行命案立破案分月走势图")
public R getXxmaFapafyuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getXxmaFapafyuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getXxmaPayuest")
@ApiOperation(value = "现行命案破案分月走势图", notes = "现行命案破案分月走势图")
public R getXxmaPayuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getXxmaPayuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getSqajzzt")
@ApiOperation(value = "涉枪案件柱状图", notes = "涉枪案件柱状图")
public R getSqajzzt(AjtjParam ajtjParam){
try {
List<LianTj> result = ajtjService.getSqajzzt(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getSqajFapafyuest")
@ApiOperation(value = "涉枪案件立破案分月走势图", notes = "涉枪案件立破案分月走势图")
public R getSqajFapafyuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getSqajFapafyuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getSqajPayuest")
@ApiOperation(value = "涉枪案件破案分月走势图", notes = "涉枪案件破案分月走势图")
public R getSqajPayuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getSqajPayuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getAjZarszzt")
@ApiOperation(value = "各月份作案人数柱状图", notes = "各月份作案人数柱状图")
public R getAjZarszzt(AjtjParam ajtjParam){
try {
ZztTjResult result = ajtjService.getAjZarszzt(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getAjZarsyuest")
@ApiOperation(value = "各月份作案人数分月走势图", notes = "各月份立破案分月走势图")
public R getAjZarsyuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getAjZarsyuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getAjPbrsyuest")
@ApiOperation(value = "各月份作案人数分月走势图", notes = "各月份立破案分月走势图")
public R getAjPbrsyuest(AjtjParam ajtjParam){
try {
List<AjtjResult> result = ajtjService.getAjPbrsyuest(ajtjParam);
return R.ok().data("result",result);
} catch (Exception e) {
e.printStackTrace();
return R.error(e.getMessage());
}
}
@PostMapping("/getAjjgfbt") @PostMapping("/getAjjgfbt")
@ApiOperation(value = "案件结构分布图", notes = "案件结构分布图") @ApiOperation(value = "案件结构分布图", notes = "案件结构分布图")
public R getAjjgfbt(AjtjParam ajtjParam){ public R getAjjgfbt(AjtjParam ajtjParam){
......
...@@ -6,12 +6,12 @@ import lombok.Data; ...@@ -6,12 +6,12 @@ import lombok.Data;
public class Ajjgfbtj { public class Ajjgfbtj {
private int total; //总数 private int total; //总数
private int dqcount; private int dqcount; //盗窃
private int btzpcount; private int btzpcount; //普通诈骗
private int dxzpcount; private int dxzpcount; //电信诈骗
private int qdcount; private int qdcount;//抢夺
private int jjfzcount; private int jjfzcount; //经济犯罪
private int dpfzajcount; private int dpfzajcount; //毒品犯罪
private int blyzblcount; //八类严重暴力
} }
...@@ -74,6 +74,9 @@ public class AjtjParam extends BaseModel { ...@@ -74,6 +74,9 @@ public class AjtjParam extends BaseModel {
//往年时间 //往年时间
private String wnsj; private String wnsj;
private String ajlbsql;
@ApiModelProperty(value = "行政区划列表") @ApiModelProperty(value = "行政区划列表")
private List<String> xzqhList; private List<String> xzqhList;
public void setUser(XzxtUser user){ public void setUser(XzxtUser user){
......
This source diff could not be displayed because it is too large. You can view the blob instead.
package org.springblade.founder.tjfx.entity;
import lombok.Data;
@Data
public class ZztTjResult {
private Integer oneoneCount;
private Integer onetwoCount;
private Integer twooneCount;
private Integer twotwoCount;
private String onetbbfb;
private String twotbbfb;
private String type;
}
package org.springblade.founder.tjfx.mapper; package org.springblade.founder.tjfx.mapper;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.founder.tjfx.entity.Ajjgfbtj; import org.springblade.founder.tjfx.entity.Ajjgfbtj;
import org.springblade.founder.tjfx.entity.AjtjParam; import org.springblade.founder.tjfx.entity.AjtjParam;
import org.springblade.founder.tjfx.entity.AjtjResult; import org.springblade.founder.tjfx.entity.AjtjResult;
...@@ -15,19 +16,35 @@ public interface AjtjMapper { ...@@ -15,19 +16,35 @@ public interface AjtjMapper {
//各月份发案数分析 //各月份发案数分析
List<AjtjResult> getFapafyuest(AjtjParam ajtjParam); List<AjtjResult> getFapafyuest(AjtjParam ajtjParam);
int getqnrqFaCount(String qnrq); int getqnrqFaCount(@Param("qnrq") String qnrq,@Param("ajlbsql") String ajlbsql);
//各月份破案数分析 //各月份破案数分析
List<AjtjResult> getPayuest(AjtjParam ajtjParam); List<AjtjResult> getPayuest(AjtjParam ajtjParam);
int getqnrqPaCount(String qnrq);
//各月份发案数分析
List<AjtjResult> getGmrsqlFapafyuest(AjtjParam ajtjParam);
List<AjtjResult> getGmrsqlPayuest(AjtjParam ajtjParam);
//单个月份单独统计
int getqnrqPaCount(@Param("qnrq") String qnrq,@Param("ajlbsql") String ajlbsql);
int getqnrqSwrsCount(String qnrq); int getqnrqSwrsCount(String qnrq);
int getqnrqZarsCount(String qnrq);
int getqnrqPbrsCount(String qnrq);
int getFaCount(AjtjParam ajtjParam); int getFaCount(AjtjParam ajtjParam);
int getPaCount(AjtjParam ajtjParam); int getPaCount(AjtjParam ajtjParam);
int getGmrsqlFaCount(AjtjParam ajtjParam);
int getGmrsqlPaCount(AjtjParam ajtjParam);
//死亡人数 //死亡人数
int getAjSwrs(AjtjParam ajtjParam); int getAjSwrs(AjtjParam ajtjParam);
int getAjYsdrCount(AjtjParam ajtjParam);
List<AjtjResult> getAjSwrsyuest(AjtjParam ajtjParam); List<AjtjResult> getAjSwrsyuest(AjtjParam ajtjParam);
//作案人数 //作案人数
...@@ -35,6 +52,10 @@ public interface AjtjMapper { ...@@ -35,6 +52,10 @@ public interface AjtjMapper {
List<AjtjResult> getAjZarsyuest(AjtjParam ajtjParam); List<AjtjResult> getAjZarsyuest(AjtjParam ajtjParam);
//批捕人数
int getAjPbrs(AjtjParam ajtjParam);
List<AjtjResult> getAjPbrsyuest(AjtjParam ajtjParam);
//案件结构分布 //案件结构分布
Ajjgfbtj getFaAjlbCount(AjtjParam ajtjParam); Ajjgfbtj getFaAjlbCount(AjtjParam ajtjParam);
......
...@@ -20,10 +20,32 @@ ...@@ -20,10 +20,32 @@
order by asj.larq order by asj.larq
</select> </select>
<select id="getGmrsqlFapafyuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
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'
<if test="ajlbsql !=null and ajlbsql!=''">
${ajlbsql}
</if>
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
) asj
group by asj.larq
order by asj.larq
</select>
<select id="getqnrqFaCount" resultType="java.lang.Integer"> <select id="getqnrqFaCount" resultType="java.lang.Integer">
SELECT count(1) SELECT count(1)
FROM tb_st_asj asj FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq} where asj.xxsc_pdbz='0' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
<if test="ajlbsql !=null and ajlbsql!=''">
${ajlbsql}
</if>
</select> </select>
<select id="getFaCount" resultType="java.lang.Integer"> <select id="getFaCount" resultType="java.lang.Integer">
...@@ -38,6 +60,26 @@ ...@@ -38,6 +60,26 @@
</if> </if>
</select> </select>
<select id="getGmrsqlFaCount" resultType="java.lang.Integer">
SELECT count(1)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0'
<if test="ajlbsql !=null and ajlbsql!=''">
${ajlbsql}
</if>
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
</select>
<select id="getFaAjlbCount" resultType="org.springblade.founder.tjfx.entity.Ajjgfbtj"> <select id="getFaAjlbCount" resultType="org.springblade.founder.tjfx.entity.Ajjgfbtj">
select count(1) total, select count(1) total,
...@@ -47,11 +89,11 @@ ...@@ -47,11 +89,11 @@
) then 1 else 0 end) ]]> as dqcount, ) then 1 else 0 end) ]]> as dqcount,
<![CDATA[ sum( case when asj.ajlbdm in ( <![CDATA[ sum( case when asj.ajlbdm in (
'05000300' '05000300'
) && asj.zatz_jyqk ='050003000100' then 1 else 0 end)]]> as btzpcount, ) and asj.zatz_jyqk ='050003000100' then 1 else 0 end)]]> as btzpcount,
<![CDATA[ sum(case when asj.ajlbdm in ( <![CDATA[ sum(case when asj.ajlbdm in (
'05000300' '05000300'
) && asj.zatz_jyqk !='050003000100' then 1 else 0 end) ]]> as dxzpcount, ) and asj.zatz_jyqk !='050003000100' then 1 else 0 end) ]]> as dxzpcount,
<![CDATA[ sum(case when asj.ajlbdm in ( <![CDATA[ sum(case when asj.ajlbdm in (
'05000400' '05000400'
...@@ -60,8 +102,12 @@ ...@@ -60,8 +102,12 @@
'03010000','03011000','03020000','03030000','03040000','03050000','03060000','03070000','03080000' '03010000','03011000','03020000','03030000','03040000','03050000','03060000','03070000','03080000'
) then 1 else 0 end) ]]> as jjfzcount, ) then 1 else 0 end) ]]> as jjfzcount,
<![CDATA[ sum(case when asj.ajlbdm in (
'02000100','02000300','02002100','04000100','04000300','04000600','04001000','05000100','02002201'
,'02002202'
) then 1 else 0 end) ]]> as blyzblcount,
<![CDATA[ sum(case when asj.ajlbdm like '0607%' then 1 else 0 end) ]]> as dpfzajcount <![CDATA[ sum(case when asj.ajlbdm like '0607%' then 1 else 0 end) ]]> as dpfzajcount
from tb_st_asj asj from tb_st_asj asj where asj.xxsc_pdbz='0'
</select> </select>
...@@ -82,6 +128,27 @@ from tb_st_asj asj ...@@ -82,6 +128,27 @@ from tb_st_asj asj
order by asj.larq order by asj.larq
</select> </select>
<select id="getGmrsqlPayuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
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'
<if test="ajlbsql !=null and ajlbsql!=''">
${ajlbsql}
</if>
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
) asj
group by asj.larq
order by asj.larq
</select>
<select id="getAjSwrsyuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult"> <select id="getAjSwrsyuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
select asj.larq as monthName,sum(asj.rs) faNum from ( select asj.larq as monthName,sum(asj.rs) faNum from (
SELECT to_char(asj.larq,'yyyy-mm') as larq,asj.asjswry_rs as rs SELECT to_char(asj.larq,'yyyy-mm') as larq,asj.asjswry_rs as rs
...@@ -113,12 +180,29 @@ from tb_st_asj asj ...@@ -113,12 +180,29 @@ from tb_st_asj asj
order by asj.larq order by asj.larq
</select> </select>
<select id="getAjPbrsyuest" resultType="org.springblade.founder.tjfx.entity.AjtjResult">
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'
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
) asj
group by asj.larq
order by asj.larq
</select>
<select id="getqnrqPaCount" resultType="java.lang.Integer"> <select id="getqnrqPaCount" resultType="java.lang.Integer">
SELECT count(1) SELECT count(1)
FROM tb_st_asj asj 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 to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
<if test="ajlbsql !=null and ajlbsql!=''">
${ajlbsql}
</if>
</select> </select>
<select id="getqnrqSwrsCount" resultType="java.lang.Integer"> <select id="getqnrqSwrsCount" resultType="java.lang.Integer">
...@@ -128,6 +212,19 @@ from tb_st_asj asj ...@@ -128,6 +212,19 @@ from tb_st_asj asj
where asj.xxsc_pdbz='0' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq} where asj.xxsc_pdbz='0' and to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
</select> </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>
<select id="getqnrqPbrsCount" resultType="java.lang.Integer">
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 to_char(ASJ.LARQ,'yyyy-MM') =#{qnrq}
</select>
<select id="getPaCount" resultType="java.lang.Integer"> <select id="getPaCount" resultType="java.lang.Integer">
SELECT count(1) SELECT count(1)
...@@ -145,6 +242,29 @@ from tb_st_asj asj ...@@ -145,6 +242,29 @@ from tb_st_asj asj
</select> </select>
<select id="getGmrsqlPaCount" resultType="java.lang.Integer">
SELECT count(1)
FROM tb_st_asj asj
where asj.xxsc_pdbz='0' and asj.ZCJDDM = '0600'
<if test="ajlbsql !=null and ajlbsql!=''">
${ajlbsql}
</if>
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if test="jabz!=null and jabz!='' and jabz == '1'.toString()"><!--破现案查询-->
and to_char(ASJ.LARQ,'yyyy-mm-dd')=to_char(ASJ.ZCZJ_ZXSJ01,'yyyy-mm-dd')
</if>
</select>
<select id="getAjSwrs" resultType="java.lang.Integer"> <select id="getAjSwrs" resultType="java.lang.Integer">
SELECT sum(asjswry_rs) SELECT sum(asjswry_rs)
...@@ -159,6 +279,22 @@ from tb_st_asj asj ...@@ -159,6 +279,22 @@ from tb_st_asj asj
</select> </select>
<select id="getAjYsdrCount" resultType="java.lang.Integer">
select count(1) from (
select asj.asjbh from tb_st_asj asj left join tb_xw_rybh rybh on rybh.asjbh=asj.asjbh
where asj.xxsc_pdbz='0' and rybh.rsshcddm='1' and rybh.xxsc_pdbz='0'
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
group by asj.asjbh
) ss
</select>
<select id="getAjZars" resultType="java.lang.Integer"> <select id="getAjZars" resultType="java.lang.Integer">
SELECT sum(zary_rs) SELECT sum(zary_rs)
...@@ -174,4 +310,18 @@ from tb_st_asj asj ...@@ -174,4 +310,18 @@ from tb_st_asj asj
</select> </select>
<select id="getAjPbrs" resultType="java.lang.Integer">
SELECT count(1)
FROM tb_st_asj asj left join tb_xw_zbfzxyr xyr on xyr.asjbh=asj.asjbh
where asj.xxsc_pdbz='0'
<if test="larqQssj!=null and larqQssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[>=]]> to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if test="larqJssj!=null and larqJssj!=''"><!--时间不为空 根据立案日期选择查询-->
AND ASJ.LARQ <![CDATA[<]]> to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
</select>
</mapper> </mapper>
...@@ -12,11 +12,59 @@ public interface AjtjService { ...@@ -12,11 +12,59 @@ public interface AjtjService {
//各月份破案数分析 //各月份破案数分析
List<AjtjResult> getPayuest(AjtjParam ajtjParam); List<AjtjResult> getPayuest(AjtjParam ajtjParam);
//侵犯公民人身权利各月份发案数分析
List<AjtjResult> getGmrsqlFapafyuest(AjtjParam ajtjParam);
//侵犯公民人身权利各月份破案数分析
List<AjtjResult> getGmrsqlPayuest(AjtjParam ajtjParam);
//八类严重暴力犯罪各月份发案数分析
List<AjtjResult> getBlyzblfzFapafyuest(AjtjParam ajtjParam);
//八类严重暴力犯罪各月份破案数分析
List<AjtjResult> getBlyzblfzPayuest(AjtjParam ajtjParam);
//现行命案各月份发案数分析
List<AjtjResult> getXxmaFapafyuest(AjtjParam ajtjParam);
//现行命案各月份破案数分析
List<AjtjResult> getXxmaPayuest(AjtjParam ajtjParam);
//涉枪案件各月份发案数分析
List<AjtjResult> getSqajFapafyuest(AjtjParam ajtjParam);
//涉枪案件各月份破案数分析
List<AjtjResult> getSqajPayuest(AjtjParam ajtjParam);
//各月份作案人数
List<AjtjResult> getAjZarsyuest(AjtjParam ajtjParam);
//各月份逮捕人数
List<AjtjResult> getAjPbrsyuest(AjtjParam ajtjParam);
//立破案
List<LianTj> getlipoanzzt(AjtjParam ajtjParam); List<LianTj> getlipoanzzt(AjtjParam ajtjParam);
//侵犯公民人身权利
List<LianTj> getGmrsqlzzt(AjtjParam ajtjParam);
//八类严重暴力犯罪
List<LianTj> getBlyzblfzzzt(AjtjParam ajtjParam);
//现行命案
List<LianTj> getXxmazzt(AjtjParam ajtjParam);
//涉枪案件
List<LianTj> getSqajzzt(AjtjParam ajtjParam);
//作案人数
ZztTjResult getAjZarszzt(AjtjParam ajtjParam);
//案件结构分布图 //案件结构分布图
Ajjgfbtj getAjjgfbt(AjtjParam ajtjParam); Ajjgfbtj getAjjgfbt(AjtjParam ajtjParam);
//死亡人数
TbJnQntj getAjSwrstj(AjtjParam ajtjParam); TbJnQntj getAjSwrstj(AjtjParam ajtjParam);
//各月份死亡人数
List<AjtjResult> getAjSwrsyuest(AjtjParam ajtjParam); List<AjtjResult> getAjSwrsyuest(AjtjParam ajtjParam);
} }
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