|  | @@ -53,11 +53,12 @@
 | 
	
		
			
				|  |  |          <result property="fIsPass" column="f_is_pass"/>
 | 
	
		
			
				|  |  |          <result property="fBilltype" column="f_billtype"/>
 | 
	
		
			
				|  |  |          <result property="fBillingQty" column="f_billing_qty"/>
 | 
	
		
			
				|  |  | +        <result property="fBusinessType" column="f_business_type"/>
 | 
	
		
			
				|  |  |          <result property="fBillingDeadline" column="f_billing_deadline"/>
 | 
	
		
			
				|  |  |      </resultMap>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <sql id="selectTWarehousebillsitemsVo">
 | 
	
		
			
				|  |  | -        select f_id, f_pid, f_srcid, f_lineno, f_billno, f_goodsid, f_warehouselocid, f_mblno, f_bsdate, f_originalbillno, f_boxno, f_cntqty, f_goodsval, f_cntrtype, f_billingway, f_transfer_warehouselocid, f_planvolumn, f_planqty, f_originalbilldate, f_plangrossweight, f_packagespecs, 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
 | 
	
		
			
				|  |  | +        select f_id, f_pid, f_lineno, f_srcid, f_goodsid, f_billno, f_warehouselocid, f_mblno, f_originalbillno, f_bsdate, f_boxno, f_cntqty, f_goodsval, f_cntrtype, f_planvolumn, f_originalbilldate, f_transfer_warehouselocid, f_planqty, f_billingway, f_plangrossweight, f_packagespecs, f_chargedate, f_plannetweight, f_qty, f_grossweight, f_volumn, 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, f_business_type from t_warehousebillsitems
 | 
	
		
			
				|  |  |      </sql>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="selectTWarehousebillsitemsList" parameterType="TWarehousebillsitems"
 | 
	
	
		
			
				|  | @@ -82,6 +83,7 @@
 | 
	
		
			
				|  |  |              <if test="fPlanqty != null ">and f_planqty = #{fPlanqty}</if>
 | 
	
		
			
				|  |  |              <if test="fPlanvolumn != null ">and f_planvolumn = #{fPlanvolumn}</if>
 | 
	
		
			
				|  |  |              <if test="fChargedate != null ">and f_chargedate = #{fChargedate}</if>
 | 
	
		
			
				|  |  | +            <if test="fBusinessType != null "> and f_business_type = #{fBusinessType}</if>
 | 
	
		
			
				|  |  |              <if test="fPackagespecs != null ">and f_packagespecs = #{fPackagespecs}</if>
 | 
	
		
			
				|  |  |              <if test="fPlangrossweight != null ">and f_plangrossweight = #{fPlangrossweight}</if>
 | 
	
		
			
				|  |  |              <if test="fPlannetweight != null ">and f_plannetweight = #{fPlannetweight}</if>
 | 
	
	
		
			
				|  | @@ -143,6 +145,7 @@
 | 
	
		
			
				|  |  |              item.f_serial_number AS fSerialNumber,
 | 
	
		
			
				|  |  |              item.f_marks AS fMarks,
 | 
	
		
			
				|  |  |              item.f_grossweight AS fGrossweight,
 | 
	
		
			
				|  |  | +            item.f_business_type AS fBusinessType,
 | 
	
		
			
				|  |  |              item.f_netweight AS fNetweight,
 | 
	
		
			
				|  |  |              item.f_cntrno AS fCntrno,
 | 
	
		
			
				|  |  |              item.f_truckno AS fTruckno,
 | 
	
	
		
			
				|  | @@ -167,30 +170,30 @@
 | 
	
		
			
				|  |  |          insert into t_warehousebillsitems
 | 
	
		
			
				|  |  |          <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="fPid != null">f_pid,</if>
 | 
	
		
			
				|  |  | -            <if test="fSrcid != null">f_srcid,</if>
 | 
	
		
			
				|  |  |              <if test="fLineno != null">f_lineno,</if>
 | 
	
		
			
				|  |  | -            <if test="fBillno != null">f_billno,</if>
 | 
	
		
			
				|  |  | +            <if test="fSrcid != null">f_srcid,</if>
 | 
	
		
			
				|  |  |              <if test="fGoodsid != null">f_goodsid,</if>
 | 
	
		
			
				|  |  | +            <if test="fBillno != null">f_billno,</if>
 | 
	
		
			
				|  |  |              <if test="fWarehouselocid != null">f_warehouselocid,</if>
 | 
	
		
			
				|  |  |              <if test="fMblno != null">f_mblno,</if>
 | 
	
		
			
				|  |  | -            <if test="fBsdate != null">f_bsdate,</if>
 | 
	
		
			
				|  |  |              <if test="fOriginalbillno != null">f_originalbillno,</if>
 | 
	
		
			
				|  |  | +            <if test="fBsdate != null">f_bsdate,</if>
 | 
	
		
			
				|  |  |              <if test="fBoxno != null">f_boxno,</if>
 | 
	
		
			
				|  |  |              <if test="fCntqty != null">f_cntqty,</if>
 | 
	
		
			
				|  |  |              <if test="fGoodsval != null">f_goodsval,</if>
 | 
	
		
			
				|  |  |              <if test="fCntrtype != null">f_cntrtype,</if>
 | 
	
		
			
				|  |  | -            <if test="fBillingway != null">f_billingway,</if>
 | 
	
		
			
				|  |  | -            <if test="fTransferWarehouselocid != null">f_transfer_warehouselocid,</if>
 | 
	
		
			
				|  |  |              <if test="fPlanvolumn != null">f_planvolumn,</if>
 | 
	
		
			
				|  |  | -            <if test="fPlanqty != null">f_planqty,</if>
 | 
	
		
			
				|  |  |              <if test="fOriginalbilldate != null">f_originalbilldate,</if>
 | 
	
		
			
				|  |  | +            <if test="fTransferWarehouselocid != null">f_transfer_warehouselocid,</if>
 | 
	
		
			
				|  |  | +            <if test="fPlanqty != null">f_planqty,</if>
 | 
	
		
			
				|  |  | +            <if test="fBillingway != null">f_billingway,</if>
 | 
	
		
			
				|  |  |              <if test="fPlangrossweight != null">f_plangrossweight,</if>
 | 
	
		
			
				|  |  |              <if test="fPackagespecs != null">f_packagespecs,</if>
 | 
	
		
			
				|  |  |              <if test="fChargedate != null">f_chargedate,</if>
 | 
	
		
			
				|  |  |              <if test="fPlannetweight != null">f_plannetweight,</if>
 | 
	
		
			
				|  |  |              <if test="fQty != null">f_qty,</if>
 | 
	
		
			
				|  |  | -            <if test="fVolumn != null">f_volumn,</if>
 | 
	
		
			
				|  |  |              <if test="fGrossweight != null">f_grossweight,</if>
 | 
	
		
			
				|  |  | +            <if test="fVolumn != null">f_volumn,</if>
 | 
	
		
			
				|  |  |              <if test="fNetweight != null">f_netweight,</if>
 | 
	
		
			
				|  |  |              <if test="fCntrno != null">f_cntrno,</if>
 | 
	
		
			
				|  |  |              <if test="fTruckno != null">f_truckno,</if>
 | 
	
	
		
			
				|  | @@ -214,33 +217,34 @@
 | 
	
		
			
				|  |  |              <if test="fBilltype != null">f_billtype,</if>
 | 
	
		
			
				|  |  |              <if test="fBillingQty != null">f_billing_qty,</if>
 | 
	
		
			
				|  |  |              <if test="fBillingDeadline != null">f_billing_deadline,</if>
 | 
	
		
			
				|  |  | +            <if test="fBusinessType != null">f_business_type,</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="fPid != null">#{fPid},</if>
 | 
	
		
			
				|  |  | -            <if test="fSrcid != null">#{fSrcid},</if>
 | 
	
		
			
				|  |  |              <if test="fLineno != null">#{fLineno},</if>
 | 
	
		
			
				|  |  | -            <if test="fBillno != null">#{fBillno},</if>
 | 
	
		
			
				|  |  | +            <if test="fSrcid != null">#{fSrcid},</if>
 | 
	
		
			
				|  |  |              <if test="fGoodsid != null">#{fGoodsid},</if>
 | 
	
		
			
				|  |  | +            <if test="fBillno != null">#{fBillno},</if>
 | 
	
		
			
				|  |  |              <if test="fWarehouselocid != null">#{fWarehouselocid},</if>
 | 
	
		
			
				|  |  |              <if test="fMblno != null">#{fMblno},</if>
 | 
	
		
			
				|  |  | -            <if test="fBsdate != null">#{fBsdate},</if>
 | 
	
		
			
				|  |  |              <if test="fOriginalbillno != null">#{fOriginalbillno},</if>
 | 
	
		
			
				|  |  | +            <if test="fBsdate != null">#{fBsdate},</if>
 | 
	
		
			
				|  |  |              <if test="fBoxno != null">#{fBoxno},</if>
 | 
	
		
			
				|  |  |              <if test="fCntqty != null">#{fCntqty},</if>
 | 
	
		
			
				|  |  |              <if test="fGoodsval != null">#{fGoodsval},</if>
 | 
	
		
			
				|  |  |              <if test="fCntrtype != null">#{fCntrtype},</if>
 | 
	
		
			
				|  |  | -            <if test="fBillingway != null">#{fBillingway},</if>
 | 
	
		
			
				|  |  | -            <if test="fTransferWarehouselocid != null">#{fTransferWarehouselocid},</if>
 | 
	
		
			
				|  |  |              <if test="fPlanvolumn != null">#{fPlanvolumn},</if>
 | 
	
		
			
				|  |  | -            <if test="fPlanqty != null">#{fPlanqty},</if>
 | 
	
		
			
				|  |  |              <if test="fOriginalbilldate != null">#{fOriginalbilldate},</if>
 | 
	
		
			
				|  |  | +            <if test="fTransferWarehouselocid != null">#{fTransferWarehouselocid},</if>
 | 
	
		
			
				|  |  | +            <if test="fPlanqty != null">#{fPlanqty},</if>
 | 
	
		
			
				|  |  | +            <if test="fBillingway != null">#{fBillingway},</if>
 | 
	
		
			
				|  |  |              <if test="fPlangrossweight != null">#{fPlangrossweight},</if>
 | 
	
		
			
				|  |  |              <if test="fPackagespecs != null">#{fPackagespecs},</if>
 | 
	
		
			
				|  |  |              <if test="fChargedate != null">#{fChargedate},</if>
 | 
	
		
			
				|  |  |              <if test="fPlannetweight != null">#{fPlannetweight},</if>
 | 
	
		
			
				|  |  |              <if test="fQty != null">#{fQty},</if>
 | 
	
		
			
				|  |  | -            <if test="fVolumn != null">#{fVolumn},</if>
 | 
	
		
			
				|  |  |              <if test="fGrossweight != null">#{fGrossweight},</if>
 | 
	
		
			
				|  |  | +            <if test="fVolumn != null">#{fVolumn},</if>
 | 
	
		
			
				|  |  |              <if test="fNetweight != null">#{fNetweight},</if>
 | 
	
		
			
				|  |  |              <if test="fCntrno != null">#{fCntrno},</if>
 | 
	
		
			
				|  |  |              <if test="fTruckno != null">#{fTruckno},</if>
 | 
	
	
		
			
				|  | @@ -264,6 +268,7 @@
 | 
	
		
			
				|  |  |              <if test="fBilltype != null">#{fBilltype},</if>
 | 
	
		
			
				|  |  |              <if test="fBillingQty != null">#{fBillingQty},</if>
 | 
	
		
			
				|  |  |              <if test="fBillingDeadline != null">#{fBillingDeadline},</if>
 | 
	
		
			
				|  |  | +            <if test="fBusinessType != null">#{fBusinessType},</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |      </insert>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -271,30 +276,30 @@
 | 
	
		
			
				|  |  |          update t_warehousebillsitems
 | 
	
		
			
				|  |  |          <trim prefix="SET" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="fPid != null">f_pid = #{fPid},</if>
 | 
	
		
			
				|  |  | -            <if test="fSrcid != null">f_srcid = #{fSrcid},</if>
 | 
	
		
			
				|  |  |              <if test="fLineno != null">f_lineno = #{fLineno},</if>
 | 
	
		
			
				|  |  | -            <if test="fBillno != null">f_billno = #{fBillno},</if>
 | 
	
		
			
				|  |  | +            <if test="fSrcid != null">f_srcid = #{fSrcid},</if>
 | 
	
		
			
				|  |  |              <if test="fGoodsid != null">f_goodsid = #{fGoodsid},</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="fBsdate != null">f_bsdate = #{fBsdate},</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="fCntqty != null">f_cntqty = #{fCntqty},</if>
 | 
	
		
			
				|  |  |              <if test="fGoodsval != null">f_goodsval = #{fGoodsval},</if>
 | 
	
		
			
				|  |  |              <if test="fCntrtype != null">f_cntrtype = #{fCntrtype},</if>
 | 
	
		
			
				|  |  | -            <if test="fBillingway != null">f_billingway = #{fBillingway},</if>
 | 
	
		
			
				|  |  | -            <if test="fTransferWarehouselocid != null">f_transfer_warehouselocid = #{fTransferWarehouselocid},</if>
 | 
	
		
			
				|  |  |              <if test="fPlanvolumn != null">f_planvolumn = #{fPlanvolumn},</if>
 | 
	
		
			
				|  |  | -            <if test="fPlanqty != null">f_planqty = #{fPlanqty},</if>
 | 
	
		
			
				|  |  |              <if test="fOriginalbilldate != null">f_originalbilldate = #{fOriginalbilldate},</if>
 | 
	
		
			
				|  |  | +            <if test="fTransferWarehouselocid != null">f_transfer_warehouselocid = #{fTransferWarehouselocid},</if>
 | 
	
		
			
				|  |  | +            <if test="fPlanqty != null">f_planqty = #{fPlanqty},</if>
 | 
	
		
			
				|  |  | +            <if test="fBillingway != null">f_billingway = #{fBillingway},</if>
 | 
	
		
			
				|  |  |              <if test="fPlangrossweight != null">f_plangrossweight = #{fPlangrossweight},</if>
 | 
	
		
			
				|  |  |              <if test="fPackagespecs != null">f_packagespecs = #{fPackagespecs},</if>
 | 
	
		
			
				|  |  |              <if test="fChargedate != null">f_chargedate = #{fChargedate},</if>
 | 
	
		
			
				|  |  |              <if test="fPlannetweight != null">f_plannetweight = #{fPlannetweight},</if>
 | 
	
		
			
				|  |  |              <if test="fQty != null">f_qty = #{fQty},</if>
 | 
	
		
			
				|  |  | -            <if test="fVolumn != null">f_volumn = #{fVolumn},</if>
 | 
	
		
			
				|  |  |              <if test="fGrossweight != null">f_grossweight = #{fGrossweight},</if>
 | 
	
		
			
				|  |  | +            <if test="fVolumn != null">f_volumn = #{fVolumn},</if>
 | 
	
		
			
				|  |  |              <if test="fNetweight != null">f_netweight = #{fNetweight},</if>
 | 
	
		
			
				|  |  |              <if test="fCntrno != null">f_cntrno = #{fCntrno},</if>
 | 
	
		
			
				|  |  |              <if test="fTruckno != null">f_truckno = #{fTruckno},</if>
 | 
	
	
		
			
				|  | @@ -318,6 +323,7 @@
 | 
	
		
			
				|  |  |              <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>
 | 
	
		
			
				|  |  | +            <if test="fBusinessType != null">f_business_type = #{fBusinessType},</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |          where f_id = #{fId}
 | 
	
		
			
				|  |  |      </update>
 |