Commit 8589eb75 by wuchengwu

统计分析透视

parent 5c89d99e
...@@ -763,6 +763,26 @@ public class TjfxController { ...@@ -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());
}
}
} }
...@@ -16,15 +16,19 @@ ...@@ -16,15 +16,19 @@
<if test="jabz!=null and jabz!='' and jabz == '1'.toString()"><!--破现案查询--> <if test="jabz!=null and jabz!='' and jabz == '1'.toString()"><!--破现案查询-->
and to_char(asj.LARQ,'yyyy')=to_char(asj.ZCZJ_ZXSJ01,'yyyy') and to_char(asj.LARQ,'yyyy')=to_char(asj.ZCZJ_ZXSJ01,'yyyy')
</if> </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!=''"> <if test="month!=null and month!=''">
AND to_char(asj.LARQ,'yyyy-MM')=#{month} AND to_char(asj.LARQ,'yyyy-MM')=#{month}
</if> </if>
</sql> </sql>
<sql id="aj-condition"> <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()"><!--文物--> <if test="type!=null and type!='' and type == 'ww'.toString()"><!--文物-->
and asj.ajlbdm in ('06040100','06040200','06040300','06040400','06040500','06040600','06040700') and asj.ajlbdm in ('06040100','06040200','06040300','06040400','06040500','06040600','06040700')
</if> </if>
......
...@@ -28,7 +28,7 @@ public interface TjfxService { ...@@ -28,7 +28,7 @@ public interface TjfxService {
//案件破案分月分析 //案件破案分月分析
R getPats(AjtjParam ajtjParam); R getPats(AjtjParam ajtjParam);
//破案透视 //破案透视
R getPxats(AjtjParam ajtjParam); R getPxats(AjtjParam ajtjParam);
//损失金额透视 //损失金额透视
R getSsjeTs(AjtjParam ajtjParam); R getSsjeTs(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