Commit 5c91e83f by liulianglang

统计报表

parent fb8a9fbf
......@@ -194,7 +194,7 @@
count(1) as num
from tb_xw_zbfzxyr xyr left join TB_ST_ASJ asj
on
asj.ASJBH=xyr.ASJBH where trunc(months_between(asj.ASJFSSJ_ASJFSKSSJ,xyr.ZHFZXYR_CSRQ_RQGZXX) /12)<18
asj.ASJBH=xyr.ASJBH where trunc(months_between(asj.ASJFSSJ_ASJFSKSSJ,xyr.ZHFZXYR_CSRQ_RQGZXX) /12)<![CDATA[<]]>18
and asj.XXSC_PDBZ='0' and xyr.XXSC_PDBZ='0'
<if test="kssj != null and kssj != ''">
AND ASJ.ASJFSSJ_ASJFSKSSJ <![CDATA[>=]]> to_date(#{kssj, jdbcType=VARCHAR},'yyyy-mm-dd')
......
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