from (select RYBH,count(rybh) as ryzpzs from TB_XW_YTHCJ_ZJ where RYBH = #{rybh} and (XXSC_PDBZ ='0' OR XXSC_PDBZ IS NULL) and dbms_lob.getlength(ZJSJ)>0 group by rybh) a,TB_XW_YTHCJ_ZJ b
from (select RYBH,count(rybh) as ryzpzs from TB_XW_YTHCJ_ZJ where RYBH = #{rybh} and (XXSC_PDBZ ='0' OR XXSC_PDBZ IS NULL) and dbms_lob.getlength(ZJSJ)>0 group by rybh) a,TB_XW_YTHCJ_ZJ b
where a.rybh = b.rybh
where a.rybh = b.rybh
...
@@ -278,6 +279,7 @@
...
@@ -278,6 +279,7 @@
XZPP,
XZPP,
XZCM,
XZCM,
SFCJ,
SFCJ,
SFTS,
XXDJRY_XM,
XXDJRY_XM,
DJSJ,
DJSJ,
XXDJDW_GAJGJGDM,
XXDJDW_GAJGJGDM,
...
@@ -307,6 +309,8 @@
...
@@ -307,6 +309,8 @@
<iftest="entity.xzcm == null or entity.xzcm == ''">,NULL </if>
<iftest="entity.xzcm == null or entity.xzcm == ''">,NULL </if>