GBSJ, CINVCCODE, CINVCODE, CWHCODE, CINVCNAME, CINVNAME, CINVSTD, CWHNAME, MZ, PZ, JZ, TAB, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME, DJLX, PZDL 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 SELECT FROM DZ_MATERIAL_SF SELECT FROM DZ_MATERIAL_SF t and GBSJ = #{gbsj} and CINVCCODE = #{cinvccode} and CINVCODE = #{cinvcode} and CWHCODE = #{cwhcode} and CINVCNAME = #{cinvcname} and CINVNAME = #{cinvname} and CINVSTD = #{cinvstd} and CWHNAME = #{cwhname} and MZ = #{mz} and PZ = #{pz} and JZ = #{jz} and TAB = #{tab} and CREATEMAN = #{createman} and CREATETIME = #{createtime} and UPDATEMAN = #{updateman} and UPDATETIME = #{updatetime} and READTIME = #{readtime} and DJLX = #{djlx} and PZDL = #{pzdl} and GBSJ LIKE '%${gbsj}%' and CINVCCODE LIKE '%${cinvccode}%' and CINVCODE LIKE '%${cinvcode}%' and CWHCODE LIKE '%${cwhcode}%' and CINVCNAME LIKE '%${cinvcname}%' and CINVNAME LIKE '%${cinvname}%' and CINVSTD LIKE '%${cinvstd}%' and CWHNAME LIKE '%${cwhname}%' and MZ = #{mz} and PZ = #{pz} and JZ = #{jz} and TAB LIKE '%${tab}%' and CREATEMAN LIKE '%${createman}%' and CREATETIME LIKE '%${createtime}%' and UPDATEMAN LIKE '%${updateman}%' and UPDATETIME LIKE '%${updatetime}%' and READTIME LIKE '%${readtime}%' and READTIME LIKE '%${djlx}%' and PZDL LIKE '%${pzdl}%' 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} delete from DZ_MATERIAL_SF where 1!=1 or CINVCCODE = #{cinvccode} or CINVCODE = #{cinvcode} or CWHCODE = #{cwhcode} or CINVCNAME = #{cinvcname} or CINVNAME = #{cinvname} or CINVSTD = #{cinvstd} or CWHNAME = #{cwhname} or MZ = #{mz} or PZ = #{pz} or JZ = #{jz} or TAB = #{tab} or CREATEMAN = #{createman} or CREATETIME = #{createtime} or UPDATEMAN = #{updateman} or UPDATETIME = #{updatetime} or READTIME = #{readtime} or DJLX = #{djlx} or PZDL = #{pzdl} 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, CWHCODE, CINVCNAME, CINVNAME, CINVSTD, CWHNAME, MZ, PZ, JZ, TAB, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME, DJLX, PZDL, #{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}, 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} 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} update DZ_MATERIAL_SF 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}, PZDL = #{pzdl,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} insert into DZ_MATERIAL_SF (GBSJ, CINVCCODE, CINVCODE, CWHCODE, CINVCNAME, CINVNAME, CINVSTD, CWHNAME, MZ, PZ, JZ, TAB, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME,DJLX,PZDL) ( 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 ) update DZ_MATERIAL_SF set GBSJ= when #{item.gbsj,jdbcType=VARCHAR} then #{item.gbsj,jdbcType=VARCHAR} ,CINVCCODE= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvccode,jdbcType=VARCHAR} ,CINVCODE= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvcode,jdbcType=VARCHAR} ,CWHCODE= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cwhcode,jdbcType=VARCHAR} ,CINVCNAME= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvcname,jdbcType=VARCHAR} ,CINVNAME= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvname,jdbcType=VARCHAR} ,CINVSTD= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cinvstd,jdbcType=VARCHAR} ,CWHNAME= when #{item.gbsj,jdbcType=VARCHAR} then #{item.cwhname,jdbcType=VARCHAR} ,MZ= when #{item.gbsj,jdbcType=VARCHAR} then #{item.mz,jdbcType=DECIMAL} ,PZ= when #{item.gbsj,jdbcType=VARCHAR} then #{item.pz,jdbcType=DECIMAL} ,JZ= when #{item.gbsj,jdbcType=VARCHAR} then #{item.jz,jdbcType=DECIMAL} ,TAB= when #{item.gbsj,jdbcType=VARCHAR} then #{item.tab,jdbcType=VARCHAR} ,CREATEMAN= when #{item.gbsj,jdbcType=VARCHAR} then #{item.createman,jdbcType=VARCHAR} ,CREATETIME= when #{item.gbsj,jdbcType=VARCHAR} then #{item.createtime,jdbcType=VARCHAR} ,UPDATEMAN= when #{item.gbsj,jdbcType=VARCHAR} then #{item.updateman,jdbcType=VARCHAR} ,UPDATETIME= when #{item.gbsj,jdbcType=VARCHAR} then #{item.updatetime,jdbcType=VARCHAR} ,READTIME= when #{item.gbsj,jdbcType=VARCHAR} then #{item.readtime,jdbcType=VARCHAR} when #{item.gbsj,jdbcType=VARCHAR} then #{item.djlx,jdbcType=VARCHAR} when #{item.gbsj,jdbcType=VARCHAR} then #{item.pzdl,jdbcType=VARCHAR} where (GBSJ,CINVCCODE,CINVCODE,CWHCODE,TAB,DJLX) in (#{item.gbsj, jdbcType=VARCHAR},#{item.cinvccode, jdbcType=VARCHAR},#{item.cinvcode, jdbcType=VARCHAR},#{item.cwhcode, jdbcType=VARCHAR},#{item.tab, jdbcType=VARCHAR},#{item.djlx, jdbcType=VARCHAR}) delete from DZ_MATERIAL_SF where (GBSJ,CINVCCODE,CINVCODE,CWHCODE,TAB,DJLX) in ( #{item.gbsj, jdbcType=VARCHAR}, #{item.cinvccode, jdbcType=VARCHAR}, #{item.cinvcode, jdbcType=VARCHAR}, #{item.cwhcode, jdbcType=VARCHAR},#{item.tab, jdbcType=VARCHAR},#{item.djlx, jdbcType=VARCHAR})