|  | @@ -22,15 +22,19 @@
 | 
	
		
			
				|  |  |      <result column="UPDATEMAN" jdbcType="VARCHAR" property="updateman" />
 | 
	
		
			
				|  |  |      <result column="UPDATETIME" jdbcType="VARCHAR" property="updatetime" />
 | 
	
		
			
				|  |  |      <result column="READTIME" jdbcType="VARCHAR" property="readtime" />
 | 
	
		
			
				|  |  | +    <result column="BFSFCL_WATER" jdbcType="DECIMAL" property="bfsfclWater" />
 | 
	
		
			
				|  |  | +    <result column="BFSFCL_ZAZHI" jdbcType="DECIMAL" property="bfsfclZazhi" />
 | 
	
		
			
				|  |  | +    <result column="BFSFCL_KZ" jdbcType="DECIMAL" property="bfsfclKz" />
 | 
	
		
			
				|  |  |    </resultMap>
 | 
	
		
			
				|  |  |    <sql id="columns">
 | 
	
		
			
				|  |  |      GBSJ, CINVCCODE, CINVCODE, CINVSTD, CWHCODE, TAB, DJLX, PZDL, PLACE, CINVCNAME, CINVNAME,
 | 
	
		
			
				|  |  | -    CWHNAME, MZ, PZ, JZ, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME
 | 
	
		
			
				|  |  | +    CWHNAME, MZ, PZ, JZ, CREATEMAN, CREATETIME, UPDATEMAN, UPDATETIME, READTIME, BFSFCL_WATER,
 | 
	
		
			
				|  |  | +    BFSFCL_ZAZHI, BFSFCL_KZ
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <sql id="columns_alias">
 | 
	
		
			
				|  |  |      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
 | 
	
		
			
				|  |  | +    t.UPDATEMAN, t.UPDATETIME, t.READTIME, t.BFSFCL_WATER, t.BFSFCL_ZAZHI, t.BFSFCL_KZ
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <sql id="select">
 | 
	
		
			
				|  |  |      SELECT <include refid="columns"/> FROM DZ_MATERIAL_SF
 | 
	
	
		
			
				|  | @@ -100,6 +104,15 @@
 | 
	
		
			
				|  |  |        <if test="readtime != null and readtime != ''">
 | 
	
		
			
				|  |  |          and READTIME = #{readtime}
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclWater != null">
 | 
	
		
			
				|  |  | +        and BFSFCL_WATER = #{bfsfclWater}
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclZazhi != null">
 | 
	
		
			
				|  |  | +        and BFSFCL_ZAZHI = #{bfsfclZazhi}
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclKz != null">
 | 
	
		
			
				|  |  | +        and BFSFCL_KZ = #{bfsfclKz}
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </where>
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <sql id="whereLike">
 | 
	
	
		
			
				|  | @@ -164,6 +177,15 @@
 | 
	
		
			
				|  |  |        <if test="readtime != null and readtime != ''">
 | 
	
		
			
				|  |  |          and READTIME LIKE '%${readtime}%'
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclWater != null">
 | 
	
		
			
				|  |  | +        and BFSFCL_WATER = #{bfsfclWater}
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclZazhi != null">
 | 
	
		
			
				|  |  | +        and BFSFCL_ZAZHI = #{bfsfclZazhi}
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclKz != null">
 | 
	
		
			
				|  |  | +        and BFSFCL_KZ = #{bfsfclKz}
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </where>
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <delete id="deleteByPrimaryKey" parameterType="map">
 | 
	
	
		
			
				|  | @@ -238,6 +260,15 @@
 | 
	
		
			
				|  |  |      <if test="readtime != null and readtime != ''">
 | 
	
		
			
				|  |  |        or READTIME = #{readtime}
 | 
	
		
			
				|  |  |      </if>
 | 
	
		
			
				|  |  | +    <if test="bfsfclWater != null">
 | 
	
		
			
				|  |  | +      or BFSFCL_WATER = #{bfsfclWater}
 | 
	
		
			
				|  |  | +    </if>
 | 
	
		
			
				|  |  | +    <if test="bfsfclZazhi != null">
 | 
	
		
			
				|  |  | +      or BFSFCL_ZAZHI = #{bfsfclZazhi}
 | 
	
		
			
				|  |  | +    </if>
 | 
	
		
			
				|  |  | +    <if test="bfsfclKz != null">
 | 
	
		
			
				|  |  | +      or BFSFCL_KZ = #{bfsfclKz}
 | 
	
		
			
				|  |  | +    </if>
 | 
	
		
			
				|  |  |    </delete>
 | 
	
		
			
				|  |  |    <insert id="insert" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf">
 | 
	
		
			
				|  |  |      insert into DZ_MATERIAL_SF (GBSJ, CINVCCODE, CINVCODE,
 | 
	
	
		
			
				|  | @@ -246,14 +277,16 @@
 | 
	
		
			
				|  |  |      CINVCNAME, CINVNAME, CWHNAME,
 | 
	
		
			
				|  |  |      MZ, PZ, JZ, CREATEMAN,
 | 
	
		
			
				|  |  |      CREATETIME, UPDATEMAN, UPDATETIME,
 | 
	
		
			
				|  |  | -    READTIME)
 | 
	
		
			
				|  |  | +    READTIME, BFSFCL_WATER, BFSFCL_ZAZHI,
 | 
	
		
			
				|  |  | +    BFSFCL_KZ)
 | 
	
		
			
				|  |  |      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})
 | 
	
		
			
				|  |  | +    #{readtime,jdbcType=VARCHAR}, #{bfsfclWater,jdbcType=DECIMAL}, #{bfsfclZazhi,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +    #{bfsfclKz,jdbcType=DECIMAL})
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <insert id="insertSelective" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf">
 | 
	
		
			
				|  |  |      insert into DZ_MATERIAL_SF
 | 
	
	
		
			
				|  | @@ -318,6 +351,15 @@
 | 
	
		
			
				|  |  |        <if test="readtime != null">
 | 
	
		
			
				|  |  |          READTIME,
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclWater != null">
 | 
	
		
			
				|  |  | +        BFSFCL_WATER,
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclZazhi != null">
 | 
	
		
			
				|  |  | +        BFSFCL_ZAZHI,
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclKz != null">
 | 
	
		
			
				|  |  | +        BFSFCL_KZ,
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </trim>
 | 
	
		
			
				|  |  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |        <if test="gbsj != null">
 | 
	
	
		
			
				|  | @@ -380,6 +422,15 @@
 | 
	
		
			
				|  |  |        <if test="readtime != null">
 | 
	
		
			
				|  |  |          #{readtime,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclWater != null">
 | 
	
		
			
				|  |  | +        #{bfsfclWater,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclZazhi != null">
 | 
	
		
			
				|  |  | +        #{bfsfclZazhi,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclKz != null">
 | 
	
		
			
				|  |  | +        #{bfsfclKz,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </trim>
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <update id="updateByPrimaryKey" parameterType="com.steerinfo.ems.dzmaterialsf.model.DzMaterialSf">
 | 
	
	
		
			
				|  | @@ -394,7 +445,10 @@
 | 
	
		
			
				|  |  |      CREATETIME = #{createtime,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |      UPDATEMAN = #{updateman,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |      UPDATETIME = #{updatetime,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | -    READTIME = #{readtime,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  | +    READTIME = #{readtime,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +    BFSFCL_WATER = #{bfsfclWater,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +    BFSFCL_ZAZHI = #{bfsfclZazhi,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +    BFSFCL_KZ = #{bfsfclKz,jdbcType=DECIMAL}
 | 
	
		
			
				|  |  |      where GBSJ = #{gbsj,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |      and CINVCCODE = #{cinvccode,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |      and CINVCODE = #{cinvcode,jdbcType=VARCHAR}
 | 
	
	
		
			
				|  | @@ -441,6 +495,15 @@
 | 
	
		
			
				|  |  |        <if test="readtime != null">
 | 
	
		
			
				|  |  |          READTIME = #{readtime,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclWater != null">
 | 
	
		
			
				|  |  | +        BFSFCL_WATER = #{bfsfclWater,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclZazhi != null">
 | 
	
		
			
				|  |  | +        BFSFCL_ZAZHI = #{bfsfclZazhi,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  | +      <if test="bfsfclKz != null">
 | 
	
		
			
				|  |  | +        BFSFCL_KZ = #{bfsfclKz,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |      </set>
 | 
	
		
			
				|  |  |      where GBSJ = #{gbsj,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |      and CINVCCODE = #{cinvccode,jdbcType=VARCHAR}
 | 
	
	
		
			
				|  | @@ -481,7 +544,8 @@
 | 
	
		
			
				|  |  |      CINVNAME, CWHNAME, MZ,
 | 
	
		
			
				|  |  |      PZ, JZ, CREATEMAN,
 | 
	
		
			
				|  |  |      CREATETIME, UPDATEMAN, UPDATETIME,
 | 
	
		
			
				|  |  | -    READTIME)
 | 
	
		
			
				|  |  | +    READTIME, BFSFCL_WATER, BFSFCL_ZAZHI,
 | 
	
		
			
				|  |  | +    BFSFCL_KZ)
 | 
	
		
			
				|  |  |      ( <foreach collection="list" item="item" separator="union all">
 | 
	
		
			
				|  |  |      select
 | 
	
		
			
				|  |  |      #{item.gbsj,jdbcType=VARCHAR},
 | 
	
	
		
			
				|  | @@ -491,7 +555,8 @@
 | 
	
		
			
				|  |  |      #{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
 | 
	
		
			
				|  |  | +    #{item.readtime,jdbcType=VARCHAR}, #{item.bfsfclWater,jdbcType=DECIMAL}, #{item.bfsfclZazhi,jdbcType=DECIMAL},
 | 
	
		
			
				|  |  | +    #{item.bfsfclKz,jdbcType=DECIMAL} from dual
 | 
	
		
			
				|  |  |    </foreach> )
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <update id="batchUpdate" parameterType="java.util.List">
 | 
	
	
		
			
				|  | @@ -577,6 +642,18 @@
 | 
	
		
			
				|  |  |      <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end">
 | 
	
		
			
				|  |  |        when #{item.gbsj,jdbcType=VARCHAR} then #{item.readtime,jdbcType=VARCHAR}
 | 
	
		
			
				|  |  |      </foreach>
 | 
	
		
			
				|  |  | +    ,BFSFCL_WATER=
 | 
	
		
			
				|  |  | +    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end">
 | 
	
		
			
				|  |  | +      when #{item.gbsj,jdbcType=VARCHAR} then #{item.bfsfclWater,jdbcType=DECIMAL}
 | 
	
		
			
				|  |  | +    </foreach>
 | 
	
		
			
				|  |  | +    ,BFSFCL_ZAZHI=
 | 
	
		
			
				|  |  | +    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end">
 | 
	
		
			
				|  |  | +      when #{item.gbsj,jdbcType=VARCHAR} then #{item.bfsfclZazhi,jdbcType=DECIMAL}
 | 
	
		
			
				|  |  | +    </foreach>
 | 
	
		
			
				|  |  | +    ,BFSFCL_KZ=
 | 
	
		
			
				|  |  | +    <foreach collection="list" item="item" index="index" separator=" " open="case GBSJ" close="end">
 | 
	
		
			
				|  |  | +      when #{item.gbsj,jdbcType=VARCHAR} then #{item.bfsfclKz,jdbcType=DECIMAL}
 | 
	
		
			
				|  |  | +    </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.cinvstd, jdbcType=VARCHAR},#{item.cwhcode, jdbcType=VARCHAR},#{item.tab, jdbcType=VARCHAR},#{item.djlx, jdbcType=VARCHAR},#{item.pzdl, jdbcType=VARCHAR},#{item.place, jdbcType=VARCHAR})
 |