|  | @@ -20,10 +20,11 @@
 | 
	
		
			
				|  |  |          <result property="updateBy" column="update_by"/>
 | 
	
		
			
				|  |  |          <result property="updateTime" column="update_time"/>
 | 
	
		
			
				|  |  |          <result property="remark" column="remark"/>
 | 
	
		
			
				|  |  | +        <result property="tPackages" column="t_packages"/>
 | 
	
		
			
				|  |  |      </resultMap>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <sql id="selectTWarehouseAgreementitemsVo">
 | 
	
		
			
				|  |  | -        select f_id, f_pid, f_lineno, f_feeid, f_feeUnitid, f_fromdays, f_endays, f_price, f_status, del_flag, create_by, create_time, update_by, update_time, remark from t_warehouse_agreementitems
 | 
	
		
			
				|  |  | +        select f_id, f_pid, f_lineno, f_feeid, f_feeUnitid, f_fromdays, f_endays, f_price, f_status, del_flag, create_by, create_time, update_by, update_time, remark,t_packages from t_warehouse_agreementitems
 | 
	
		
			
				|  |  |      </sql>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="selectTWarehouseAgreementitemsList" parameterType="TWarehouseAgreementitems"
 | 
	
	
		
			
				|  | @@ -165,6 +166,9 @@
 | 
	
		
			
				|  |  |              <if test="fBilltype != null  and fBilltype != ''">
 | 
	
		
			
				|  |  |                  and agre.f_billtype  like concat('%', #{fBilltype}, '%')
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | +            <if test="tPackages != null  and tPackages != ''">
 | 
	
		
			
				|  |  | +                and itme.t_packages  = #{tPackages}
 | 
	
		
			
				|  |  | +            </if>
 | 
	
		
			
				|  |  |              and agre.f_billstatus = 6
 | 
	
		
			
				|  |  |              and agre.f_status = 0
 | 
	
		
			
				|  |  |              and agre.f_feetypeid = 1
 | 
	
	
		
			
				|  | @@ -189,6 +193,7 @@
 | 
	
		
			
				|  |  |              <if test="updateBy != null">update_by,</if>
 | 
	
		
			
				|  |  |              <if test="updateTime != null">update_time,</if>
 | 
	
		
			
				|  |  |              <if test="remark != null">remark,</if>
 | 
	
		
			
				|  |  | +            <if test="tPackages != null">t_packages,</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="fPid != null">#{fPid},</if>
 | 
	
	
		
			
				|  | @@ -205,6 +210,7 @@
 | 
	
		
			
				|  |  |              <if test="updateBy != null">#{updateBy},</if>
 | 
	
		
			
				|  |  |              <if test="updateTime != null">#{updateTime},</if>
 | 
	
		
			
				|  |  |              <if test="remark != null">#{remark},</if>
 | 
	
		
			
				|  |  | +            <if test="tPackages != null">#{tPackages},</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |      </insert>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -225,6 +231,7 @@
 | 
	
		
			
				|  |  |              <if test="updateBy != null">update_by = #{updateBy},</if>
 | 
	
		
			
				|  |  |              <if test="updateTime != null">update_time = #{updateTime},</if>
 | 
	
		
			
				|  |  |              <if test="remark != null">remark = #{remark},</if>
 | 
	
		
			
				|  |  | +            <if test="tPackages != null">t_packages = #{tPackages},</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |          where f_id = #{fId}
 | 
	
		
			
				|  |  |      </update>
 |