日期:2014-05-16 浏览次数:20537 次
strGSZhmx = "select count(1) from V_HD where V_HD.HD_JYRQ>='" + vsRqMin + "' and V_HD.HD_JYRQ<='" + vsRqMax + "' and not exists"
+ " (select JYMX.JYMX_NM from [GLink01].GZ.dbo.JYMX where JYMX.JYMX_NM=V_HD.HD_DJNM and JYMX.JYMX_DATE>='" + vsRqMin + "' and JYMX.JYMX_DATE<='" + vsRqMax + "') ";