|  | @@ -8,23 +8,23 @@
 | 
											
												
													
														|  |          <result property="fId" column="f_id"/>
 |  |          <result property="fId" column="f_id"/>
 | 
											
												
													
														|  |          <result property="fPid" column="f_pid"/>
 |  |          <result property="fPid" column="f_pid"/>
 | 
											
												
													
														|  |          <result property="fLineno" column="f_lineno"/>
 |  |          <result property="fLineno" column="f_lineno"/>
 | 
											
												
													
														|  | -        <result property="fBillno" column="f_billno"/>
 |  | 
 | 
											
												
													
														|  |          <result property="fGoodsid" column="f_goodsid"/>
 |  |          <result property="fGoodsid" column="f_goodsid"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fBillno" column="f_billno"/>
 | 
											
												
													
														|  |          <result property="fMblno" column="f_mblno"/>
 |  |          <result property="fMblno" column="f_mblno"/>
 | 
											
												
													
														|  |          <result property="fWarehouselocid" column="f_warehouselocid"/>
 |  |          <result property="fWarehouselocid" column="f_warehouselocid"/>
 | 
											
												
													
														|  | -        <result property="fBsdate" column="f_bsdate"/>
 |  | 
 | 
											
												
													
														|  |          <result property="fOriginalbillno" column="f_originalbillno"/>
 |  |          <result property="fOriginalbillno" column="f_originalbillno"/>
 | 
											
												
													
														|  | -        <result property="fOriginalbilldate" column="f_originalbilldate"/>
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <result property="fBsdate" column="f_bsdate"/>
 | 
											
												
													
														|  |          <result property="fBoxno" column="f_boxno"/>
 |  |          <result property="fBoxno" column="f_boxno"/>
 | 
											
												
													
														|  |          <result property="fCntqty" column="f_cntqty"/>
 |  |          <result property="fCntqty" column="f_cntqty"/>
 | 
											
												
													
														|  |          <result property="fGoodsval" column="f_goodsval"/>
 |  |          <result property="fGoodsval" column="f_goodsval"/>
 | 
											
												
													
														|  |          <result property="fCntrtype" column="f_cntrtype"/>
 |  |          <result property="fCntrtype" column="f_cntrtype"/>
 | 
											
												
													
														|  | -        <result property="fChargedate" column="f_chargedate"/>
 |  | 
 | 
											
												
													
														|  | -        <result property="fBillingway" column="f_billingway"/>
 |  | 
 | 
											
												
													
														|  |          <result property="fPlanqty" column="f_planqty"/>
 |  |          <result property="fPlanqty" column="f_planqty"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fBillingway" column="f_billingway"/>
 | 
											
												
													
														|  |          <result property="fPlanvolumn" column="f_planvolumn"/>
 |  |          <result property="fPlanvolumn" column="f_planvolumn"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fOriginalbilldate" column="f_originalbilldate"/>
 | 
											
												
													
														|  |          <result property="fPackagespecs" column="f_packagespecs"/>
 |  |          <result property="fPackagespecs" column="f_packagespecs"/>
 | 
											
												
													
														|  |          <result property="fPlangrossweight" column="f_plangrossweight"/>
 |  |          <result property="fPlangrossweight" column="f_plangrossweight"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fChargedate" column="f_chargedate"/>
 | 
											
												
													
														|  |          <result property="fPlannetweight" column="f_plannetweight"/>
 |  |          <result property="fPlannetweight" column="f_plannetweight"/>
 | 
											
												
													
														|  |          <result property="fQty" column="f_qty"/>
 |  |          <result property="fQty" column="f_qty"/>
 | 
											
												
													
														|  |          <result property="fVolumn" column="f_volumn"/>
 |  |          <result property="fVolumn" column="f_volumn"/>
 | 
											
										
											
												
													
														|  | @@ -49,10 +49,13 @@
 | 
											
												
													
														|  |          <result property="fDriverIdCar" column="f_driver_id_car"/>
 |  |          <result property="fDriverIdCar" column="f_driver_id_car"/>
 | 
											
												
													
														|  |          <result property="fSerialNumber" column="f_serial_number"/>
 |  |          <result property="fSerialNumber" column="f_serial_number"/>
 | 
											
												
													
														|  |          <result property="fIsPass" column="f_is_pass"/>
 |  |          <result property="fIsPass" column="f_is_pass"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fBilltype" column="f_billtype"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fBillingQty" column="f_billing_qty"/>
 | 
											
												
													
														|  | 
 |  | +        <result property="fBillingDeadline" column="f_billing_deadline"/>
 | 
											
												
													
														|  |      </resultMap>
 |  |      </resultMap>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <sql id="selectTWarehousebillsitemsVo">
 |  |      <sql id="selectTWarehousebillsitemsVo">
 | 
											
												
													
														|  | -        select f_id, f_pid, f_lineno, f_billno, f_goodsid, f_mblno, f_warehouselocid, f_bsdate, f_originalbillno, f_boxno, f_originalbilldate, f_cntqty, f_goodsval, f_cntrtype, f_chargedate, f_billingway, f_planqty, f_planvolumn, f_packagespecs, f_plangrossweight, f_plannetweight, f_qty, f_volumn, f_grossweight, f_netweight, f_cntrno, f_truckno, f_billstatus, del_flag, create_by, create_time, update_by, update_time, remark, f_marks,f_inventory_days, f_storage_fee_deadline, f_amt, f_billing_days, f_driver_name, f_driver_tel, f_driver_id_car, f_serial_number, f_is_pass from t_warehousebillsitems
 |  | 
 | 
											
												
													
														|  | 
 |  | +        select f_id, f_pid, f_lineno, f_goodsid, f_billno, f_mblno, f_warehouselocid, f_originalbillno, f_bsdate, f_boxno, f_cntqty, f_goodsval, f_cntrtype, f_planqty, f_billingway, f_planvolumn, f_originalbilldate, f_packagespecs, f_plangrossweight, f_chargedate, f_plannetweight, f_qty, f_volumn, f_grossweight, f_netweight, f_cntrno, f_truckno, f_billstatus, del_flag, create_by, create_time, update_by, update_time, remark, f_marks, f_inventory_days, f_storage_fee_deadline, f_amt, f_billing_days, f_driver_name, f_driver_tel, f_driver_id_car, f_serial_number, f_is_pass, f_billtype, f_billing_qty, f_billing_deadline from t_warehousebillsitems
 | 
											
												
													
														|  |      </sql>
 |  |      </sql>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <select id="selectTWarehousebillsitemsList" parameterType="TWarehousebillsitems"
 |  |      <select id="selectTWarehousebillsitemsList" parameterType="TWarehousebillsitems"
 | 
											
										
											
												
													
														|  | @@ -90,7 +93,9 @@
 | 
											
												
													
														|  |              <if test="fStorageFeeDeadline != null ">and f_storage_fee_deadline = #{fStorageFeeDeadline}</if>
 |  |              <if test="fStorageFeeDeadline != null ">and f_storage_fee_deadline = #{fStorageFeeDeadline}</if>
 | 
											
												
													
														|  |              <if test="fAmt != null ">and f_amt = #{fAmt}</if>
 |  |              <if test="fAmt != null ">and f_amt = #{fAmt}</if>
 | 
											
												
													
														|  |              <if test="fBillingDays != null ">and f_billing_days = #{fBillingDays}</if>
 |  |              <if test="fBillingDays != null ">and f_billing_days = #{fBillingDays}</if>
 | 
											
												
													
														|  | -            <if test="fDriverName != null  and fDriverName != ''">and f_driver_name like concat('%', #{fDriverName},'%')</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fDriverName != null  and fDriverName != ''">and f_driver_name like concat('%',
 | 
											
												
													
														|  | 
 |  | +                #{fDriverName},'%')
 | 
											
												
													
														|  | 
 |  | +            </if>
 | 
											
												
													
														|  |              <if test="fDriverTel != null  and fDriverTel != ''">and f_driver_tel = #{fDriverTel}</if>
 |  |              <if test="fDriverTel != null  and fDriverTel != ''">and f_driver_tel = #{fDriverTel}</if>
 | 
											
												
													
														|  |              <if test="fDriverIdCar != null  and fDriverIdCar != ''">and f_driver_id_car = #{fDriverIdCar}</if>
 |  |              <if test="fDriverIdCar != null  and fDriverIdCar != ''">and f_driver_id_car = #{fDriverIdCar}</if>
 | 
											
												
													
														|  |              <if test="fSerialNumber != null  and fSerialNumber != ''">and f_serial_number = #{fSerialNumber}</if>
 |  |              <if test="fSerialNumber != null  and fSerialNumber != ''">and f_serial_number = #{fSerialNumber}</if>
 | 
											
										
											
												
													
														|  | @@ -153,25 +158,25 @@
 | 
											
												
													
														|  |              <if test="fLineno != null">f_lineno,</if>
 |  |              <if test="fLineno != null">f_lineno,</if>
 | 
											
												
													
														|  |              <if test="fGoodsid != null">f_goodsid,</if>
 |  |              <if test="fGoodsid != null">f_goodsid,</if>
 | 
											
												
													
														|  |              <if test="fBillno != null">f_billno,</if>
 |  |              <if test="fBillno != null">f_billno,</if>
 | 
											
												
													
														|  | -            <if test="fWarehouselocid != null">f_warehouselocid,</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fMblno != null">f_mblno,</if>
 |  |              <if test="fMblno != null">f_mblno,</if>
 | 
											
												
													
														|  | -            <if test="fBsdate != null">f_bsdate,</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fWarehouselocid != null">f_warehouselocid,</if>
 | 
											
												
													
														|  |              <if test="fOriginalbillno != null">f_originalbillno,</if>
 |  |              <if test="fOriginalbillno != null">f_originalbillno,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBsdate != null">f_bsdate,</if>
 | 
											
												
													
														|  |              <if test="fBoxno != null">f_boxno,</if>
 |  |              <if test="fBoxno != null">f_boxno,</if>
 | 
											
												
													
														|  |              <if test="fCntqty != null">f_cntqty,</if>
 |  |              <if test="fCntqty != null">f_cntqty,</if>
 | 
											
												
													
														|  |              <if test="fGoodsval != null">f_goodsval,</if>
 |  |              <if test="fGoodsval != null">f_goodsval,</if>
 | 
											
												
													
														|  |              <if test="fCntrtype != null">f_cntrtype,</if>
 |  |              <if test="fCntrtype != null">f_cntrtype,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fPlanqty != null">f_planqty,</if>
 | 
											
												
													
														|  |              <if test="fBillingway != null">f_billingway,</if>
 |  |              <if test="fBillingway != null">f_billingway,</if>
 | 
											
												
													
														|  | -            <if test="fOriginalbilldate != null">f_originalbilldate,</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fPlanvolumn != null">f_planvolumn,</if>
 |  |              <if test="fPlanvolumn != null">f_planvolumn,</if>
 | 
											
												
													
														|  | -            <if test="fPlanqty != null">f_planqty,</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fChargedate != null">f_chargedate,</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fPlangrossweight != null">f_plangrossweight,</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fOriginalbilldate != null">f_originalbilldate,</if>
 | 
											
												
													
														|  |              <if test="fPackagespecs != null">f_packagespecs,</if>
 |  |              <if test="fPackagespecs != null">f_packagespecs,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fPlangrossweight != null">f_plangrossweight,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fChargedate != null">f_chargedate,</if>
 | 
											
												
													
														|  |              <if test="fPlannetweight != null">f_plannetweight,</if>
 |  |              <if test="fPlannetweight != null">f_plannetweight,</if>
 | 
											
												
													
														|  |              <if test="fQty != null">f_qty,</if>
 |  |              <if test="fQty != null">f_qty,</if>
 | 
											
												
													
														|  | -            <if test="fGrossweight != null">f_grossweight,</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fVolumn != null">f_volumn,</if>
 |  |              <if test="fVolumn != null">f_volumn,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fGrossweight != null">f_grossweight,</if>
 | 
											
												
													
														|  |              <if test="fNetweight != null">f_netweight,</if>
 |  |              <if test="fNetweight != null">f_netweight,</if>
 | 
											
												
													
														|  |              <if test="fCntrno != null">f_cntrno,</if>
 |  |              <if test="fCntrno != null">f_cntrno,</if>
 | 
											
												
													
														|  |              <if test="fTruckno != null">f_truckno,</if>
 |  |              <if test="fTruckno != null">f_truckno,</if>
 | 
											
										
											
												
													
														|  | @@ -192,31 +197,34 @@
 | 
											
												
													
														|  |              <if test="fDriverIdCar != null">f_driver_id_car,</if>
 |  |              <if test="fDriverIdCar != null">f_driver_id_car,</if>
 | 
											
												
													
														|  |              <if test="fSerialNumber != null">f_serial_number,</if>
 |  |              <if test="fSerialNumber != null">f_serial_number,</if>
 | 
											
												
													
														|  |              <if test="fIsPass != null">f_is_pass,</if>
 |  |              <if test="fIsPass != null">f_is_pass,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBilltype != null">f_billtype,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBillingQty != null">f_billing_qty,</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBillingDeadline != null">f_billing_deadline,</if>
 | 
											
												
													
														|  |          </trim>
 |  |          </trim>
 | 
											
												
													
														|  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 |  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
											
												
													
														|  |              <if test="fPid != null">#{fPid},</if>
 |  |              <if test="fPid != null">#{fPid},</if>
 | 
											
												
													
														|  |              <if test="fLineno != null">#{fLineno},</if>
 |  |              <if test="fLineno != null">#{fLineno},</if>
 | 
											
												
													
														|  |              <if test="fGoodsid != null">#{fGoodsid},</if>
 |  |              <if test="fGoodsid != null">#{fGoodsid},</if>
 | 
											
												
													
														|  |              <if test="fBillno != null">#{fBillno},</if>
 |  |              <if test="fBillno != null">#{fBillno},</if>
 | 
											
												
													
														|  | -            <if test="fWarehouselocid != null">#{fWarehouselocid},</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fMblno != null">#{fMblno},</if>
 |  |              <if test="fMblno != null">#{fMblno},</if>
 | 
											
												
													
														|  | -            <if test="fBsdate != null">#{fBsdate},</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fWarehouselocid != null">#{fWarehouselocid},</if>
 | 
											
												
													
														|  |              <if test="fOriginalbillno != null">#{fOriginalbillno},</if>
 |  |              <if test="fOriginalbillno != null">#{fOriginalbillno},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBsdate != null">#{fBsdate},</if>
 | 
											
												
													
														|  |              <if test="fBoxno != null">#{fBoxno},</if>
 |  |              <if test="fBoxno != null">#{fBoxno},</if>
 | 
											
												
													
														|  |              <if test="fCntqty != null">#{fCntqty},</if>
 |  |              <if test="fCntqty != null">#{fCntqty},</if>
 | 
											
												
													
														|  |              <if test="fGoodsval != null">#{fGoodsval},</if>
 |  |              <if test="fGoodsval != null">#{fGoodsval},</if>
 | 
											
												
													
														|  |              <if test="fCntrtype != null">#{fCntrtype},</if>
 |  |              <if test="fCntrtype != null">#{fCntrtype},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fPlanqty != null">#{fPlanqty},</if>
 | 
											
												
													
														|  |              <if test="fBillingway != null">#{fBillingway},</if>
 |  |              <if test="fBillingway != null">#{fBillingway},</if>
 | 
											
												
													
														|  | -            <if test="fOriginalbilldate != null">#{fOriginalbilldate},</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fPlanvolumn != null">#{fPlanvolumn},</if>
 |  |              <if test="fPlanvolumn != null">#{fPlanvolumn},</if>
 | 
											
												
													
														|  | -            <if test="fPlanqty != null">#{fPlanqty},</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fChargedate != null">#{fChargedate},</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fPlangrossweight != null">#{fPlangrossweight},</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fOriginalbilldate != null">#{fOriginalbilldate},</if>
 | 
											
												
													
														|  |              <if test="fPackagespecs != null">#{fPackagespecs},</if>
 |  |              <if test="fPackagespecs != null">#{fPackagespecs},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fPlangrossweight != null">#{fPlangrossweight},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fChargedate != null">#{fChargedate},</if>
 | 
											
												
													
														|  |              <if test="fPlannetweight != null">#{fPlannetweight},</if>
 |  |              <if test="fPlannetweight != null">#{fPlannetweight},</if>
 | 
											
												
													
														|  |              <if test="fQty != null">#{fQty},</if>
 |  |              <if test="fQty != null">#{fQty},</if>
 | 
											
												
													
														|  | -            <if test="fGrossweight != null">#{fGrossweight},</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fVolumn != null">#{fVolumn},</if>
 |  |              <if test="fVolumn != null">#{fVolumn},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fGrossweight != null">#{fGrossweight},</if>
 | 
											
												
													
														|  |              <if test="fNetweight != null">#{fNetweight},</if>
 |  |              <if test="fNetweight != null">#{fNetweight},</if>
 | 
											
												
													
														|  |              <if test="fCntrno != null">#{fCntrno},</if>
 |  |              <if test="fCntrno != null">#{fCntrno},</if>
 | 
											
												
													
														|  |              <if test="fTruckno != null">#{fTruckno},</if>
 |  |              <if test="fTruckno != null">#{fTruckno},</if>
 | 
											
										
											
												
													
														|  | @@ -237,6 +245,9 @@
 | 
											
												
													
														|  |              <if test="fDriverIdCar != null">#{fDriverIdCar},</if>
 |  |              <if test="fDriverIdCar != null">#{fDriverIdCar},</if>
 | 
											
												
													
														|  |              <if test="fSerialNumber != null">#{fSerialNumber},</if>
 |  |              <if test="fSerialNumber != null">#{fSerialNumber},</if>
 | 
											
												
													
														|  |              <if test="fIsPass != null">#{fIsPass},</if>
 |  |              <if test="fIsPass != null">#{fIsPass},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBilltype != null">#{fBilltype},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBillingQty != null">#{fBillingQty},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBillingDeadline != null">#{fBillingDeadline},</if>
 | 
											
												
													
														|  |          </trim>
 |  |          </trim>
 | 
											
												
													
														|  |      </insert>
 |  |      </insert>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -247,25 +258,25 @@
 | 
											
												
													
														|  |              <if test="fLineno != null">f_lineno = #{fLineno},</if>
 |  |              <if test="fLineno != null">f_lineno = #{fLineno},</if>
 | 
											
												
													
														|  |              <if test="fGoodsid != null">f_goodsid = #{fGoodsid},</if>
 |  |              <if test="fGoodsid != null">f_goodsid = #{fGoodsid},</if>
 | 
											
												
													
														|  |              <if test="fBillno != null">f_billno = #{fBillno},</if>
 |  |              <if test="fBillno != null">f_billno = #{fBillno},</if>
 | 
											
												
													
														|  | -            <if test="fWarehouselocid != null">f_warehouselocid = #{fWarehouselocid},</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fMblno != null">f_mblno = #{fMblno},</if>
 |  |              <if test="fMblno != null">f_mblno = #{fMblno},</if>
 | 
											
												
													
														|  | -            <if test="fBsdate != null">f_bsdate = #{fBsdate},</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fWarehouselocid != null">f_warehouselocid = #{fWarehouselocid},</if>
 | 
											
												
													
														|  |              <if test="fOriginalbillno != null">f_originalbillno = #{fOriginalbillno},</if>
 |  |              <if test="fOriginalbillno != null">f_originalbillno = #{fOriginalbillno},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBsdate != null">f_bsdate = #{fBsdate},</if>
 | 
											
												
													
														|  |              <if test="fBoxno != null">f_boxno = #{fBoxno},</if>
 |  |              <if test="fBoxno != null">f_boxno = #{fBoxno},</if>
 | 
											
												
													
														|  |              <if test="fCntqty != null">f_cntqty = #{fCntqty},</if>
 |  |              <if test="fCntqty != null">f_cntqty = #{fCntqty},</if>
 | 
											
												
													
														|  |              <if test="fGoodsval != null">f_goodsval = #{fGoodsval},</if>
 |  |              <if test="fGoodsval != null">f_goodsval = #{fGoodsval},</if>
 | 
											
												
													
														|  |              <if test="fCntrtype != null">f_cntrtype = #{fCntrtype},</if>
 |  |              <if test="fCntrtype != null">f_cntrtype = #{fCntrtype},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fPlanqty != null">f_planqty = #{fPlanqty},</if>
 | 
											
												
													
														|  |              <if test="fBillingway != null">f_billingway = #{fBillingway},</if>
 |  |              <if test="fBillingway != null">f_billingway = #{fBillingway},</if>
 | 
											
												
													
														|  | -            <if test="fOriginalbilldate != null">f_originalbilldate = #{fOriginalbilldate},</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fPlanvolumn != null">f_planvolumn = #{fPlanvolumn},</if>
 |  |              <if test="fPlanvolumn != null">f_planvolumn = #{fPlanvolumn},</if>
 | 
											
												
													
														|  | -            <if test="fPlanqty != null">f_planqty = #{fPlanqty},</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fChargedate != null">f_chargedate = #{fChargedate},</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fPlangrossweight != null">f_plangrossweight = #{fPlangrossweight},</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="fOriginalbilldate != null">f_originalbilldate = #{fOriginalbilldate},</if>
 | 
											
												
													
														|  |              <if test="fPackagespecs != null">f_packagespecs = #{fPackagespecs},</if>
 |  |              <if test="fPackagespecs != null">f_packagespecs = #{fPackagespecs},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fPlangrossweight != null">f_plangrossweight = #{fPlangrossweight},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fChargedate != null">f_chargedate = #{fChargedate},</if>
 | 
											
												
													
														|  |              <if test="fPlannetweight != null">f_plannetweight = #{fPlannetweight},</if>
 |  |              <if test="fPlannetweight != null">f_plannetweight = #{fPlannetweight},</if>
 | 
											
												
													
														|  |              <if test="fQty != null">f_qty = #{fQty},</if>
 |  |              <if test="fQty != null">f_qty = #{fQty},</if>
 | 
											
												
													
														|  | -            <if test="fGrossweight != null">f_grossweight = #{fGrossweight},</if>
 |  | 
 | 
											
												
													
														|  |              <if test="fVolumn != null">f_volumn = #{fVolumn},</if>
 |  |              <if test="fVolumn != null">f_volumn = #{fVolumn},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fGrossweight != null">f_grossweight = #{fGrossweight},</if>
 | 
											
												
													
														|  |              <if test="fNetweight != null">f_netweight = #{fNetweight},</if>
 |  |              <if test="fNetweight != null">f_netweight = #{fNetweight},</if>
 | 
											
												
													
														|  |              <if test="fCntrno != null">f_cntrno = #{fCntrno},</if>
 |  |              <if test="fCntrno != null">f_cntrno = #{fCntrno},</if>
 | 
											
												
													
														|  |              <if test="fTruckno != null">f_truckno = #{fTruckno},</if>
 |  |              <if test="fTruckno != null">f_truckno = #{fTruckno},</if>
 | 
											
										
											
												
													
														|  | @@ -286,6 +297,9 @@
 | 
											
												
													
														|  |              <if test="fDriverIdCar != null">f_driver_id_car = #{fDriverIdCar},</if>
 |  |              <if test="fDriverIdCar != null">f_driver_id_car = #{fDriverIdCar},</if>
 | 
											
												
													
														|  |              <if test="fSerialNumber != null">f_serial_number = #{fSerialNumber},</if>
 |  |              <if test="fSerialNumber != null">f_serial_number = #{fSerialNumber},</if>
 | 
											
												
													
														|  |              <if test="fIsPass != null">f_is_pass = #{fIsPass},</if>
 |  |              <if test="fIsPass != null">f_is_pass = #{fIsPass},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBilltype != null">f_billtype = #{fBilltype},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBillingQty != null">f_billing_qty = #{fBillingQty},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="fBillingDeadline != null">f_billing_deadline = #{fBillingDeadline},</if>
 | 
											
												
													
														|  |          </trim>
 |  |          </trim>
 | 
											
												
													
														|  |          where f_id = #{fId}
 |  |          where f_id = #{fId}
 | 
											
												
													
														|  |      </update>
 |  |      </update>
 | 
											
										
											
												
													
														|  | @@ -313,10 +327,11 @@
 | 
											
												
													
														|  |          t_warehousebills ware
 |  |          t_warehousebills ware
 | 
											
												
													
														|  |          LEFT JOIN t_warehousebillsitems item ON item.f_pid = ware.f_id
 |  |          LEFT JOIN t_warehousebillsitems item ON item.f_pid = ware.f_id
 | 
											
												
													
														|  |          <where>
 |  |          <where>
 | 
											
												
													
														|  | -            ware.f_corpid = #{fCorpid}
 |  | 
 | 
											
												
													
														|  | 
 |  | +            ware.f_corpid = #{warehouse.fCorpid}
 | 
											
												
													
														|  |              and ware.f_billtype in ("HQZY", "SJCK")
 |  |              and ware.f_billtype in ("HQZY", "SJCK")
 | 
											
												
													
														|  | -            <if test="fBillno != null">and ware.f_billno = #{fBillno}</if>
 |  | 
 | 
											
												
													
														|  | -            <if test="fMblno != null">and ware.f_mblno = #{fMblno}</if>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="warehouse.fGoodsid != null">and item.f_goodsid = #{warehouse.fGoodsid}</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="warehouse.fBillno != null">and ware.f_billno = #{warehouse.fBillno}</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="warehouse.fMblno != null">and ware.f_mblno = #{warehouse.fMblno}</if>
 | 
											
												
													
														|  |          </where>
 |  |          </where>
 | 
											
												
													
														|  |      </select>
 |  |      </select>
 | 
											
												
													
														|  |  
 |  |  
 |