and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
</if>
...
...
@@ -58,7 +58,7 @@
<!--去年积案-->
<sqlid="qnja-condition">
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1'
and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
</if>
...
...
@@ -68,7 +68,7 @@
<!--超五年积案-->
<sqlid="cwnja-condition">
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
</if>
...
...
@@ -79,7 +79,7 @@
<!--超十年积案-->
<sqlid="csnja-condition">
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
</if>
...
...
@@ -57,7 +57,7 @@
<!--去年积案-->
<sqlid="qnja-condition">
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1'
and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
</if>
...
...
@@ -67,7 +67,7 @@
<!--超五年积案-->
<sqlid="cwnja-condition">
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})
</if>
...
...
@@ -78,7 +78,7 @@
<!--超十年积案-->
<sqlid="csnja-condition">
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and (asjcz.laywsjzt !='05' or asjcz.laywsjzt is null or asjcz.laywsjzt ='' )
where asj.xxsc_pdbz='0' and asj.sfma_pdbz = '1' and asjcz.laywsjzt ='02'
<iftest="unitcode != null and unitcode !=''">
and asj.LADW_GAJGJGDM in (SELECT code FROM code_gxs WHERE CODE_LEV1 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV2 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV3 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV4 =#{unitcode, jdbcType=VARCHAR} or CODE_LEV5 =#{unitcode, jdbcType=VARCHAR})