ソースを参照

git-svn-id: https://192.168.57.71/svn/jsgkj@1898 931142cf-59ea-a443-aa0e-51397b428577

ld_jiangxf 8 年 前
コミット
735fc515c3

+ 1 - 0
znjg/trunk/src/com/jsjty/aqjgwhtj/xml/AqjgwhtjMapper.xml

@@ -32,6 +32,7 @@
 			TRUNC(#{endDate}+1, 'dd')
 			]]>
 			</if>
+			AND w.RECORD_STATUS = 2
           group by substr(W.Szd, 0, 5)) x
    		 on g.id = x.szdid
    		 where g.fid = 900

+ 9 - 0
znjg/trunk/src/com/jsjty/dcttlcx/xml/DcttlcxMapper.xml

@@ -158,6 +158,15 @@
 		<if test="bh!=null and bh!=''">  
 			AND D.BH LIKE CONCAT(CONCAT('%', '${bh}'),'%')  
 		</if>
+		<if test="bgstart!=null and bgstart!=''">  
+			AND D.BGSJ >=
+				TRUNC(#{bgstart}, 'dd')
+		</if>
+		<if test="bgend!=null and bgend!=''">  
+			<![CDATA[AND D.BGSJ <=
+				TRUNC(#{bgend}+1, 'dd')
+				]]>
+		</if>
 		ORDER BY D.BGSJ DESC
    		<![CDATA[
    		) tt WHERE ROWNUM <= ${dataend} ) table_alias WHERE table_alias.rowno >= ${datafrom} 

+ 1 - 1
znjg/trunk/src/com/jsjty/dcttltj/xml/DcttltjMapper.xml

@@ -13,7 +13,7 @@
 		   from GK_OPERATION_JSJY_DCSB tw
 		   left join GK_OPERATION_JSJY_CODE tg
 		     on tw.szd = tg.id
-		    where tg.RECORD_STATUS !=9
+		    where tw.RECORD_STATUS <> 9
 		]]>
 		<if test="startDate!=null and startDate!=''">  
 			<![CDATA[