| 
					
				 | 
			
			
				@@ -5,31 +5,32 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <id column="GBSJ" jdbcType="VARCHAR" property="gbsj" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <id column="CINVCCODE" jdbcType="VARCHAR" property="cinvccode" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <id column="CINVCODE" jdbcType="VARCHAR" property="cinvcode" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="CINVSTD" jdbcType="VARCHAR" property="cinvstd" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <id column="CWHCODE" jdbcType="VARCHAR" property="cwhcode" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="TAB" jdbcType="VARCHAR" property="tab" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="DJLX" jdbcType="VARCHAR" property="djlx" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="PZDL" jdbcType="VARCHAR" property="pzdl" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="PLACE" jdbcType="VARCHAR" property="place" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="CINVCNAME" jdbcType="VARCHAR" property="cinvcname" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="CINVNAME" jdbcType="VARCHAR" property="cinvname" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <result column="CINVSTD" jdbcType="VARCHAR" property="cinvstd" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="CWHNAME" jdbcType="VARCHAR" property="cwhname" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="MZ" jdbcType="DECIMAL" property="mz" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="PZ" jdbcType="DECIMAL" property="pz" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="JZ" jdbcType="DECIMAL" property="jz" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <result column="TAB" jdbcType="VARCHAR" property="tab" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="CREATEMAN" jdbcType="VARCHAR" property="createman" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="CREATETIME" jdbcType="VARCHAR" property="createtime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="UPDATEMAN" jdbcType="VARCHAR" property="updateman" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="UPDATETIME" jdbcType="VARCHAR" property="updatetime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="READTIME" jdbcType="VARCHAR" property="readtime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <result column="DJLX" jdbcType="VARCHAR" property="djlx" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <result column="PZDL" jdbcType="VARCHAR" property="pzdl" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="columns"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    GBSJ, CINVCCODE, CINVCODE, CWHCODE, CINVCNAME, CINVNAME, CINVSTD, CWHNAME, MZ, PZ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    JZ, TAB, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME, DJLX, PZDL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    GBSJ, CINVCCODE, CINVCODE, CINVSTD, CWHCODE, TAB, DJLX, PZDL, PLACE, CINVCNAME, CINVNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CWHNAME, MZ, PZ, JZ, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="columns_alias"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    t.GBSJ, t.CINVCCODE, t.CINVCODE, t.CWHCODE, t.CINVCNAME, t.CINVNAME, t.CINVSTD, t.CWHNAME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    t.MZ, t.PZ, t.JZ, t.TAB, t.CREATEMAN, t.CREATETIME, t.UPDATEMAN, t.UPDATETIME, t.READTIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    t.DJLX, t.PZDL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.GBSJ, t.CINVCCODE, t.CINVCODE, t.CINVSTD, t.CWHCODE, t.TAB, t.DJLX, t.PZDL, t.PLACE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.CINVCNAME, t.CINVNAME, t.CWHNAME, t.MZ, t.PZ, t.JZ, t.CREATEMAN, t.CREATETIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.UPDATEMAN, t.UPDATETIME, t.READTIME 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="select"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     SELECT <include refid="columns"/> FROM DZ_MATERIAL_SF 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,7 +39,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     SELECT <include refid="columns_alias"/> FROM DZ_MATERIAL_SF t 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="where"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <where>  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="gbsj != null and gbsj != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and GBSJ = #{gbsj} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -48,18 +49,30 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcode != null and cinvcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CINVCODE = #{cinvcode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cinvstd != null and cinvstd != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and CINVSTD = #{cinvstd} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhcode != null and cwhcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CWHCODE = #{cwhcode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="tab != null and tab != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and TAB = #{tab} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="djlx != null and djlx != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and DJLX = #{djlx} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="pzdl != null and pzdl != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and PZDL = #{pzdl} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="place != null and place != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and PLACE = #{place} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcname != null and cinvcname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CINVCNAME = #{cinvcname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvname != null and cinvname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CINVNAME = #{cinvname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvstd != null and cinvstd != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and CINVSTD = #{cinvstd} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhname != null and cwhname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CWHNAME = #{cwhname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -72,9 +85,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and JZ = #{jz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="tab != null and tab != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and TAB = #{tab} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="createman != null and createman != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CREATEMAN = #{createman} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -90,16 +100,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="readtime != null and readtime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and READTIME = #{readtime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="djlx != null and djlx != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and DJLX = #{djlx} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="pzdl != null and pzdl != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and PZDL = #{pzdl} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="whereLike"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <where>  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="gbsj != null and gbsj != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and GBSJ LIKE '%${gbsj}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,18 +113,30 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcode != null and cinvcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CINVCODE LIKE '%${cinvcode}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cinvstd != null and cinvstd != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and CINVSTD LIKE '%${cinvstd}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhcode != null and cwhcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CWHCODE LIKE '%${cwhcode}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="tab != null and tab != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and TAB LIKE '%${tab}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="djlx != null and djlx != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and DJLX LIKE '%${djlx}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="pzdl != null and pzdl != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and PZDL LIKE '%${pzdl}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="place != null and place != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and PLACE LIKE '%${place}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcname != null and cinvcname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CINVCNAME LIKE '%${cinvcname}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvname != null and cinvname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CINVNAME LIKE '%${cinvname}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvstd != null and cinvstd != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and CINVSTD LIKE '%${cinvstd}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhname != null and cwhname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CWHNAME LIKE '%${cwhname}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -133,9 +149,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and JZ = #{jz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="tab != null and tab != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and TAB LIKE '%${tab}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="createman != null and createman != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and CREATEMAN LIKE '%${createman}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -151,94 +164,96 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="readtime != null and readtime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and READTIME LIKE '%${readtime}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="djlx != null and djlx != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and READTIME LIKE '%${djlx}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="pzdl != null and pzdl != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        and PZDL LIKE '%${pzdl}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <delete id="deleteByPrimaryKey" parameterType="map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     delete from DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where GBSJ = #{gbsj,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVSTD = #{cinvstd,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PZDL = #{pzdl,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PLACE = #{place,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     delete from DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    where 1!=1  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvccode != null and cinvccode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CINVCCODE = #{cinvccode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvcode != null and cinvcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CINVCODE = #{cinvcode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cwhcode != null and cwhcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CWHCODE = #{cwhcode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvcname != null and cinvcname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CINVCNAME = #{cinvcname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvname != null and cinvname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CINVNAME = #{cinvname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvstd != null and cinvstd != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CINVSTD = #{cinvstd} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cwhname != null and cwhname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CWHNAME = #{cwhname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="mz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or MZ = #{mz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="pz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or PZ = #{pz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or JZ = #{jz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="tab != null and tab != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or TAB = #{tab} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="createman != null and createman != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CREATEMAN = #{createman} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="createtime != null and createtime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or CREATETIME = #{createtime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="updateman != null and updateman != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or UPDATEMAN = #{updateman} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="updatetime != null and updatetime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or UPDATETIME = #{updatetime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="readtime != null and readtime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        or READTIME = #{readtime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where 1!=1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cinvccode != null and cinvccode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CINVCCODE = #{cinvccode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cinvcode != null and cinvcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CINVCODE = #{cinvcode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cinvstd != null and cinvstd != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CINVSTD = #{cinvstd} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cwhcode != null and cwhcode != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CWHCODE = #{cwhcode} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="tab != null and tab != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or TAB = #{tab} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="djlx != null and djlx != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       or DJLX = #{djlx} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="pzdl != null and pzdl != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       or PZDL = #{pzdl} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="place != null and place != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or PLACE = #{place} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cinvcname != null and cinvcname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CINVCNAME = #{cinvcname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cinvname != null and cinvname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CINVNAME = #{cinvname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="cwhname != null and cwhname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CWHNAME = #{cwhname} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="mz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or MZ = #{mz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="pz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or PZ = #{pz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or JZ = #{jz} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="createman != null and createman != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CREATEMAN = #{createman} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="createtime != null and createtime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or CREATETIME = #{createtime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="updateman != null and updateman != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or UPDATEMAN = #{updateman} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="updatetime != null and updatetime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or UPDATETIME = #{updatetime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="readtime != null and readtime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or READTIME = #{readtime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insert" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    insert into DZ_MATERIAL_SF (GBSJ, CINVCCODE, CINVCODE,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CWHCODE, CINVCNAME, CINVNAME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CINVSTD, CWHNAME, MZ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      PZ, JZ, TAB, CREATEMAN,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CREATETIME, UPDATEMAN, UPDATETIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      READTIME,DJLX,PZDL) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    values (#{gbsj,jdbcType=VARCHAR}, #{cinvccode,jdbcType=VARCHAR}, #{cinvcode,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{cwhcode,jdbcType=VARCHAR}, #{cinvcname,jdbcType=VARCHAR}, #{cinvname,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{cinvstd,jdbcType=VARCHAR}, #{cwhname,jdbcType=VARCHAR}, #{mz,jdbcType=DECIMAL},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{pz,jdbcType=DECIMAL}, #{jz,jdbcType=DECIMAL}, #{tab,jdbcType=VARCHAR}, #{createman,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{createtime,jdbcType=VARCHAR}, #{updateman,jdbcType=VARCHAR}, #{updatetime,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{readtime,jdbcType=VARCHAR},#{djlx,jdbcType=VARCHAR},#{pzdl,jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into DZ_MATERIAL_SF (GBSJ, CINVCCODE, CINVCODE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CINVSTD, CWHCODE, TAB, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    DJLX, PZDL, PLACE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CINVCNAME, CINVNAME, CWHNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    MZ, PZ, JZ, CREATEMAN, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CREATETIME, UPDATEMAN, UPDATETIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    READTIME) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    values (#{gbsj,jdbcType=VARCHAR}, #{cinvccode,jdbcType=VARCHAR}, #{cinvcode,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{cinvstd,jdbcType=VARCHAR}, #{cwhcode,jdbcType=VARCHAR}, #{tab,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{djlx,jdbcType=VARCHAR}, #{pzdl,jdbcType=VARCHAR}, #{place,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{cinvcname,jdbcType=VARCHAR}, #{cinvname,jdbcType=VARCHAR}, #{cwhname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{mz,jdbcType=DECIMAL}, #{pz,jdbcType=DECIMAL}, #{jz,jdbcType=DECIMAL}, #{createman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{createtime,jdbcType=VARCHAR}, #{updateman,jdbcType=VARCHAR}, #{updatetime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{readtime,jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into DZ_MATERIAL_SF 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -252,18 +267,30 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CINVCODE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cinvstd != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CINVSTD, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhcode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CWHCODE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="tab != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        TAB, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="djlx != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        DJLX, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="pzdl != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PZDL, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="place != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PLACE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CINVCNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CINVNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvstd != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        CINVSTD, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CWHNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -276,9 +303,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         JZ, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="tab != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        TAB, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="createman != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CREATEMAN, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -294,12 +318,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="readtime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         READTIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="djlx != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        DJLX, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="pzdl != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        PZDL, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="gbsj != null"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -311,18 +329,30 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{cinvcode,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="cinvstd != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{cinvstd,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhcode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{cwhcode,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="tab != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{tab,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="djlx != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{djlx,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="pzdl != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{pzdl,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="place != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{place,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvcname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{cinvcname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{cinvname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvstd != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{cinvstd,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{cwhname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -335,9 +365,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{jz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="tab != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{tab,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="createman != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{createman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -353,36 +380,30 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="readtime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{readtime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="djlx != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{djlx,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="pzdl != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{pzdl,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKey" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     set CINVCNAME = #{cinvcname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CINVNAME = #{cinvname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CINVSTD = #{cinvstd,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CWHNAME = #{cwhname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      MZ = #{mz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      PZ = #{pz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      JZ = #{jz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      TAB = #{tab,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CREATEMAN = #{createman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CREATETIME = #{createtime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      UPDATEMAN = #{updateman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      UPDATETIME = #{updatetime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      READTIME = #{readtime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CINVNAME = #{cinvname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CWHNAME = #{cwhname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    MZ = #{mz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    PZ = #{pz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    JZ = #{jz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CREATEMAN = #{createman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CREATETIME = #{createtime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    UPDATEMAN = #{updateman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    UPDATETIME = #{updatetime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    READTIME = #{readtime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where GBSJ = #{gbsj,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and djlx = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVSTD = #{cinvstd,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PZDL = #{pzdl,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PLACE = #{place,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update DZ_MATERIAL_SF 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -393,9 +414,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cinvname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CINVNAME = #{cinvname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="cinvstd != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        CINVSTD = #{cinvstd,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="cwhname != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CWHNAME = #{cwhname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -408,9 +426,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="jz != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         JZ = #{jz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="tab != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        TAB = #{tab,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="createman != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CREATEMAN = #{createman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -426,28 +441,28 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="readtime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         READTIME = #{readtime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="djlx != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        DJLX = #{djlx,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="pzdl != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        PZDL = #{pzdl,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where GBSJ = #{gbsj,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVSTD = #{cinvstd,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PZDL = #{pzdl,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PLACE = #{place,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByPrimaryKey" parameterType="map" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <include refid="select"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where GBSJ = #{gbsj,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCCODE = #{cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVCODE = #{cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CINVSTD = #{cinvstd,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and CWHCODE = #{cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and TAB = #{tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and DJLX = #{djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PZDL = #{pzdl,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    and PLACE = #{place,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <include refid="select"/> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -458,128 +473,132 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <include refid="whereLike"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="batchInsert" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    insert into DZ_MATERIAL_SF  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      (GBSJ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CINVCCODE, CINVCODE, CWHCODE,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CINVCNAME, CINVNAME, CINVSTD,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CWHNAME, MZ, PZ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      JZ, TAB, CREATEMAN,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      CREATETIME, UPDATEMAN, UPDATETIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      READTIME,DJLX,PZDL) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ( <foreach collection="list" item="item" separator="union all">  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   select   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.gbsj,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.cinvccode,jdbcType=VARCHAR}, #{item.cinvcode,jdbcType=VARCHAR}, #{item.cwhcode,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.cinvcname,jdbcType=VARCHAR}, #{item.cinvname,jdbcType=VARCHAR}, #{item.cinvstd,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.cwhname,jdbcType=VARCHAR}, #{item.mz,jdbcType=DECIMAL}, #{item.pz,jdbcType=DECIMAL},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.jz,jdbcType=DECIMAL}, #{item.tab,jdbcType=VARCHAR}, #{item.createman,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.createtime,jdbcType=VARCHAR}, #{item.updateman,jdbcType=VARCHAR}, #{item.updatetime,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.readtime,jdbcType=VARCHAR},#{item.djlx,jdbcType=VARCHAR},#{item.pzdl,jdbcType=VARCHAR} from dual 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   </foreach> ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    (GBSJ, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CINVCCODE, CINVCODE, CINVSTD, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CWHCODE, TAB, DJLX, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    PZDL, PLACE, CINVCNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CINVNAME, CWHNAME, MZ, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    PZ, JZ, CREATEMAN, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    CREATETIME, UPDATEMAN, UPDATETIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    READTIME) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ( <foreach collection="list" item="item" separator="union all"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.gbsj,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.cinvccode,jdbcType=VARCHAR}, #{item.cinvcode,jdbcType=VARCHAR}, #{item.cinvstd,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.cwhcode,jdbcType=VARCHAR}, #{item.tab,jdbcType=VARCHAR}, #{item.djlx,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.pzdl,jdbcType=VARCHAR}, #{item.place,jdbcType=VARCHAR}, #{item.cinvcname,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.cinvname,jdbcType=VARCHAR}, #{item.cwhname,jdbcType=VARCHAR}, #{item.mz,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.pz,jdbcType=DECIMAL}, #{item.jz,jdbcType=DECIMAL}, #{item.createman,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.createtime,jdbcType=VARCHAR}, #{item.updateman,jdbcType=VARCHAR}, #{item.updatetime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.readtime,jdbcType=VARCHAR} from dual 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </foreach> ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="batchUpdate" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     update DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     set 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       GBSJ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.gbsj,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CINVCCODE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CINVCODE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CWHCODE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CINVCNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvcname,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CINVNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvname,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CINVSTD= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvstd,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CWHNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.cwhname,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,MZ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.mz,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,PZ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.pz,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,JZ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.jz,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,TAB= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CREATEMAN= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.createman,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,CREATETIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.createtime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,UPDATEMAN= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.updateman,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,UPDATETIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.updatetime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       ,READTIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          when #{item.gbsj,jdbcType=VARCHAR} then #{item.readtime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    set 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    GBSJ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.gbsj,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CINVCCODE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvccode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CINVCODE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CINVSTD= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvstd,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CWHCODE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cwhcode,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,TAB= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.tab,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,DJLX= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.gbsj,jdbcType=VARCHAR} then #{item.djlx,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,PZDL= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.gbsj,jdbcType=VARCHAR} then #{item.pzdl,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    where (GBSJ,CINVCCODE,CINVCODE,CWHCODE,TAB,DJLX) in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,PLACE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.place,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CINVCNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvcname,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CINVNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvname,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CWHNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.cwhname,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,MZ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.mz,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,PZ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.pz,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,JZ= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.jz,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CREATEMAN= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.createman,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,CREATETIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.createtime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,UPDATEMAN= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.updateman,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,UPDATETIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.updatetime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,READTIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.gbsj,jdbcType=VARCHAR} then #{item.readtime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where (GBSJ,CINVCCODE,CINVCODE,CINVSTD,CWHCODE,TAB,DJLX,PZDL,PLACE) in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <foreach collection="list" item="item" open="(" close=")" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     (#{item.gbsj, jdbcType=VARCHAR},#{item.cinvccode, jdbcType=VARCHAR},#{item.cinvcode, jdbcType=VARCHAR},#{item.cwhcode, jdbcType=VARCHAR},#{item.tab, jdbcType=VARCHAR},#{item.djlx, jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      (#{item.gbsj, jdbcType=VARCHAR},#{item.cinvccode, jdbcType=VARCHAR},#{item.cinvcode, jdbcType=VARCHAR},#{item.cinvstd, jdbcType=VARCHAR},#{item.cwhcode, jdbcType=VARCHAR},#{item.tab, jdbcType=VARCHAR},#{item.djlx, jdbcType=VARCHAR},#{item.pzdl, jdbcType=VARCHAR},#{item.place, jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <delete id="batchDelete" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     delete from DZ_MATERIAL_SF 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    where (GBSJ,CINVCCODE,CINVCODE,CWHCODE,TAB,DJLX) in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where (GBSJ,CINVCCODE,CINVCODE,CINVSTD,CWHCODE,TAB,DJLX,PZDL,PLACE) in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <foreach collection="list" item="item" open="(" close=")" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     ( #{item.gbsj, jdbcType=VARCHAR}, #{item.cinvccode, jdbcType=VARCHAR}, #{item.cinvcode, jdbcType=VARCHAR}, #{item.cwhcode, jdbcType=VARCHAR},#{item.tab, jdbcType=VARCHAR},#{item.djlx, jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ( #{item.gbsj, jdbcType=VARCHAR}, #{item.cinvccode, jdbcType=VARCHAR}, #{item.cinvcode, jdbcType=VARCHAR}, #{item.cinvstd, jdbcType=VARCHAR}, #{item.cwhcode, jdbcType=VARCHAR}, #{item.tab, jdbcType=VARCHAR}, #{item.djlx, jdbcType=VARCHAR}, #{item.pzdl, jdbcType=VARCHAR}, #{item.place, jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="getDzMaterialSf" resultMap="BaseResultMap" parameterType="java.lang.String" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select * from ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    SELECT CONVERT(varchar(100), gbsj, 23) as gbsj, cInvCCode, cInvCName, cInvCode, cInvName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    cInvStd, cWhCode, cWhName, sum(mz) as mz, sum(pz) as pz, sum(jz) as jz, djlx, pzdl, 'sh' as tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    FROM v_nyjk_sh where gbsj >= #{gbsj,jdbcType=VARCHAR} and pzdl IS NOT NULL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          SELECT CONVERT(varchar(100), gbsj, 23) as gbsj, cInvCCode, cInvCName, cInvCode, cInvName,cInvStd, cWhCode, cWhName, sum(mz) as mz, sum(pz) as pz, sum(jz) as jz, djlx, ISNULL(pzdl,'无') as pzdl, 'sh' as tab,ISNULL(BFSFCL_FHDD,'无') as place FROM v_nyjk_sh where gbsj >= '2021-11-21' group by cInvCCode, cInvCName, cInvCode, cInvName, cInvStd, cWhCode, cWhName, CONVERT(varchar(100), gbsj, 23),djlx, pzdl,BFSFCL_FHDD) as sh 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     --cInvCName in('合金材料','国内矿粉','过滤材料','进口矿粉','原煤','外购精煤','国内球团','高炉干渣','进口块矿','石料') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    group by cInvCCode, cInvCName, cInvCode, cInvName, cInvStd, cWhCode, cWhName, CONVERT(varchar(100), gbsj, 23),djlx, pzdl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ) as sh union all ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    SELECT CONVERT(varchar(100), gbsj, 23) as gbsj, cInvCCode, cInvCName, cInvCode, cInvName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    cInvStd, cWhCode, cWhName, sum(mz) as mz, sum(pz) as pz, sum(jz) as jz, djlx, pzdl, 'fh' as tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    FROM v_nyjk_fh where gbsj >= #{gbsj,jdbcType=VARCHAR} and pzdl IS NOT NULL 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    union all ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SELECT CONVERT(varchar(100), gbsj, 23) as gbsj, cInvCCode, cInvCName, cInvCode, cInvName,cInvStd, cWhCode, cWhName, sum(mz) as mz, sum(pz) as pz, sum(jz) as jz, djlx, ISNULL(pzdl,'无') as pzdl, 'fh' as tab,ISNULL(BFFHCL_FHDD,'无') as place 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    FROM v_nyjk_fh where gbsj >= '2021-11-21' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     --cInvCName in('合金材料','国内矿粉','过滤材料','进口矿粉','原煤','外购精煤','国内球团','高炉干渣','进口块矿','石料') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    group by cInvCCode, cInvCName, cInvCode, cInvName, cInvStd, cWhCode, cWhName, CONVERT(varchar(100), [gbsj], 23),djlx, pzdl) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    group by cInvCCode, cInvCName, cInvCode, cInvName, cInvStd, cWhCode, cWhName, CONVERT(varchar(100), [gbsj], 23),djlx, pzdl,BFFHCL_FHDD) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |