|
@@ -5,90 +5,104 @@
|
|
|
<mapper namespace="com.ruoyi.warehouseBusiness.mapper.TWarehouseBillsMapper">
|
|
|
|
|
|
<resultMap type="TWarehousebills" id="TWarehousebillsResult">
|
|
|
- <result property="fId" column="f_id"/>
|
|
|
- <result property="fBillno" column="f_billno"/>
|
|
|
- <result property="fCustomsdeclartion" column="f_customsdeclartion"/>
|
|
|
- <result property="fOriginalbillno" column="f_originalbillno"/>
|
|
|
- <result property="fDeptid" column="f_deptid"/>
|
|
|
- <result property="fBsdeptid" column="f_bsdeptid"/>
|
|
|
- <result property="fContacts" column="f_contacts"/>
|
|
|
- <result property="fTel" column="f_tel"/>
|
|
|
- <result property="fCorpid" column="f_corpid"/>
|
|
|
- <result property="fTocorpid" column="f_tocorpid"/>
|
|
|
- <result property="fStltypeid" column="f_stltypeid"/>
|
|
|
- <result property="fBscorpno" column="f_bscorpno"/>
|
|
|
- <result property="fWarehouseid" column="f_warehouseid"/>
|
|
|
- <result property="fStorekeeper" column="f_storekeeper"/>
|
|
|
- <result property="fChargedate" column="f_chargedate"/>
|
|
|
- <result property="fBsdate" column="f_bsdate"/>
|
|
|
- <result property="fPlanqty" column="f_planqty"/>
|
|
|
- <result property="fPlangrossweight" column="f_plangrossweight"/>
|
|
|
- <result property="fPlannetweight" column="f_plannetweight"/>
|
|
|
- <result property="fPlanvolumn" column="f_planvolumn"/>
|
|
|
- <result property="fQty" column="f_qty"/>
|
|
|
- <result property="fGrossweight" column="f_grossweight"/>
|
|
|
- <result property="fNetweight" column="f_netweight"/>
|
|
|
- <result property="fVolumn" column="f_volumn"/>
|
|
|
- <result property="fBillingway" column="f_billingway"/>
|
|
|
- <result property="fTrademodeid" column="f_trademodeid"/>
|
|
|
- <result property="fSbu" column="f_sbu"/>
|
|
|
- <result property="fFeetunit" column="f_feetunit"/>
|
|
|
- <result property="fMblno" column="f_mblno"/>
|
|
|
- <result property="fMarks" column="f_marks"/>
|
|
|
- <result property="fVslvoy" column="f_vslvoy"/>
|
|
|
- <result property="fEta" column="f_eta"/>
|
|
|
- <result property="fCustomno" column="f_customno"/>
|
|
|
- <result property="fIfweigh" column="f_ifweigh"/>
|
|
|
- <result property="fIfpledge" column="f_ifpledge"/>
|
|
|
- <result property="fIfdamage" column="f_ifdamage"/>
|
|
|
- <result property="fBankcorpid" column="f_bankcorpid"/>
|
|
|
- <result property="fBilltype" column="f_billtype"/>
|
|
|
- <result property="fBillstatus" column="f_billstatus"/>
|
|
|
- <result property="fItemsStatus" column="f_items_status"/>
|
|
|
- <result property="delFlag" column="del_flag"/>
|
|
|
- <result property="createBy" column="create_by"/>
|
|
|
- <result property="createTime" column="create_time"/>
|
|
|
- <result property="updateBy" column="update_by"/>
|
|
|
- <result property="updateTime" column="update_time"/>
|
|
|
- <result property="remark" column="remark"/>
|
|
|
- <result property="fBillingDeadline" column="f_billing_deadline"/>
|
|
|
- <result property="fProductName" column="f_product_name"/>
|
|
|
- <result property="fReviewDate" column="f_review_date"/>
|
|
|
- <result property="fTruckno" column="f_truckno"/>
|
|
|
- <result property="fDriverName" column="f_driver_name"/>
|
|
|
- <result property="fDriverTel" column="f_driver_tel"/>
|
|
|
- <result property="fDriverIdCar" column="f_driver_id_car"/>
|
|
|
- <result property="fBusinessType" column="f_business_type"/>
|
|
|
- <result property="fLabour" column="f_labour"/>
|
|
|
- <result property="fFleet" column="f_fleet"/>
|
|
|
- <result property="fInwarehouseid" column="f_inwarehouseid"/>
|
|
|
- <result property="fBstime" column="f_bstime"/>
|
|
|
- <result property="fCartype" column="f_cartype"/>
|
|
|
- <result property="fGoodsid" column="f_goodsid"/>
|
|
|
- <result property="fNewTrademodeid" column="f_new_trademodeid"/>
|
|
|
- <result property="fLoadportid" column="f_loadportid"/>
|
|
|
- <result property="fDestportid" column="f_destportid"/>
|
|
|
- <result property="fServiceitems" column="f_serviceitems"/>
|
|
|
- <result property="fInvoceobj" column="f_invoceobj"/>
|
|
|
- <result property="fSign" column="f_sign"/>
|
|
|
- <result property="fDetentioncargo" column="f_detentioncargo"/>
|
|
|
- <result property="fBooksmarks" column="f_booksmarks"/>
|
|
|
- <result property="fShippername" column="f_shippername"/>
|
|
|
- <result property="fShipperattn" column="f_shipperattn"/>
|
|
|
- <result property="fShippertel" column="f_shippertel"/>
|
|
|
- <result property="fConsigneername" column="f_consigneername"/>
|
|
|
- <result property="fConsigneeattn" column="f_consigneeattn"/>
|
|
|
- <result property="fConsigneetel" column="f_consigneetel"/>
|
|
|
- <result property="fInsurance" column="f_insurance"/>
|
|
|
- <result property="fInsuranceamt" column="f_insuranceamt"/>
|
|
|
- <result property="fClosedate" column="f_closedate"/>
|
|
|
- <result property="fDocmentdate" column="f_docmentdate"/>
|
|
|
- <result property="fVslid" column="f_vslid"/>
|
|
|
- <result property="fVoyid" column="f_voyid"/>
|
|
|
- <result property="fTypeid" column="f_typeid"/>
|
|
|
- <result property="fPaymode" column="f_paymode"/>
|
|
|
- <result property="fLaneid" column="f_laneid"/>
|
|
|
- <result property="fCntval" column="f_cntval"/>
|
|
|
+ <result property="fId" column="f_id" />
|
|
|
+ <result property="fBillno" column="f_billno" />
|
|
|
+ <result property="fCustomsdeclartion" column="f_customsdeclartion" />
|
|
|
+ <result property="fOriginalbillno" column="f_originalbillno" />
|
|
|
+ <result property="fDeptid" column="f_deptid" />
|
|
|
+ <result property="fBsdeptid" column="f_bsdeptid" />
|
|
|
+ <result property="fContacts" column="f_contacts" />
|
|
|
+ <result property="fTel" column="f_tel" />
|
|
|
+ <result property="fCorpid" column="f_corpid" />
|
|
|
+ <result property="fTocorpid" column="f_tocorpid" />
|
|
|
+ <result property="fStltypeid" column="f_stltypeid" />
|
|
|
+ <result property="fBscorpno" column="f_bscorpno" />
|
|
|
+ <result property="fWarehouseid" column="f_warehouseid" />
|
|
|
+ <result property="fStorekeeper" column="f_storekeeper" />
|
|
|
+ <result property="fChargedate" column="f_chargedate" />
|
|
|
+ <result property="fBsdate" column="f_bsdate" />
|
|
|
+ <result property="fPlanqty" column="f_planqty" />
|
|
|
+ <result property="fPlangrossweight" column="f_plangrossweight" />
|
|
|
+ <result property="fPlannetweight" column="f_plannetweight" />
|
|
|
+ <result property="fPlanvolumn" column="f_planvolumn" />
|
|
|
+ <result property="fQty" column="f_qty" />
|
|
|
+ <result property="fGrossweight" column="f_grossweight" />
|
|
|
+ <result property="fNetweight" column="f_netweight" />
|
|
|
+ <result property="fVolumn" column="f_volumn" />
|
|
|
+ <result property="fTrademodeid" column="f_trademodeid" />
|
|
|
+ <result property="fBillingway" column="f_billingway" />
|
|
|
+ <result property="fSbu" column="f_sbu" />
|
|
|
+ <result property="fFeetunit" column="f_feetunit" />
|
|
|
+ <result property="fMblno" column="f_mblno" />
|
|
|
+ <result property="fVslvoy" column="f_vslvoy" />
|
|
|
+ <result property="fEta" column="f_eta" />
|
|
|
+ <result property="fMarks" column="f_marks" />
|
|
|
+ <result property="fCustomno" column="f_customno" />
|
|
|
+ <result property="fIfweigh" column="f_ifweigh" />
|
|
|
+ <result property="fIfpledge" column="f_ifpledge" />
|
|
|
+ <result property="fIfdamage" column="f_ifdamage" />
|
|
|
+ <result property="fBankcorpid" column="f_bankcorpid" />
|
|
|
+ <result property="fBilltype" column="f_billtype" />
|
|
|
+ <result property="fBillstatus" column="f_billstatus" />
|
|
|
+ <result property="delFlag" column="del_flag" />
|
|
|
+ <result property="createBy" column="create_by" />
|
|
|
+ <result property="createTime" column="create_time" />
|
|
|
+ <result property="fItemsStatus" column="f_items_status" />
|
|
|
+ <result property="updateBy" column="update_by" />
|
|
|
+ <result property="updateTime" column="update_time" />
|
|
|
+ <result property="remark" column="remark" />
|
|
|
+ <result property="fBillingDeadline" column="f_billing_deadline" />
|
|
|
+ <result property="fProductName" column="f_product_name" />
|
|
|
+ <result property="fReviewDate" column="f_review_date" />
|
|
|
+ <result property="fTruckno" column="f_truckno" />
|
|
|
+ <result property="fDriverName" column="f_driver_name" />
|
|
|
+ <result property="fDriverTel" column="f_driver_tel" />
|
|
|
+ <result property="fDriverIdCar" column="f_driver_id_car" />
|
|
|
+ <result property="fBusinessType" column="f_business_type" />
|
|
|
+ <result property="fLabour" column="f_labour" />
|
|
|
+ <result property="fFleet" column="f_fleet" />
|
|
|
+ <result property="fInwarehouseid" column="f_inwarehouseid" />
|
|
|
+ <result property="fBstime" column="f_bstime" />
|
|
|
+ <result property="fCartype" column="f_cartype" />
|
|
|
+ <result property="fGoodsid" column="f_goodsid" />
|
|
|
+ <result property="fNewTrademodeid" column="f_new_trademodeid" />
|
|
|
+ <result property="fLoadportid" column="f_loadportid" />
|
|
|
+ <result property="fDestportid" column="f_destportid" />
|
|
|
+ <result property="fServiceitems" column="f_serviceitems" />
|
|
|
+ <result property="fInvoceobj" column="f_invoceobj" />
|
|
|
+ <result property="fSign" column="f_sign" />
|
|
|
+ <result property="fDetentioncargo" column="f_detentioncargo" />
|
|
|
+ <result property="fBooksmarks" column="f_booksmarks" />
|
|
|
+ <result property="fShippername" column="f_shippername" />
|
|
|
+ <result property="fShipperattn" column="f_shipperattn" />
|
|
|
+ <result property="fShippertel" column="f_shippertel" />
|
|
|
+ <result property="fConsigneername" column="f_consigneername" />
|
|
|
+ <result property="fConsigneeattn" column="f_consigneeattn" />
|
|
|
+ <result property="fConsigneetel" column="f_consigneetel" />
|
|
|
+ <result property="fInsurance" column="f_insurance" />
|
|
|
+ <result property="fInsuranceamt" column="f_insuranceamt" />
|
|
|
+ <result property="fClosedate" column="f_closedate" />
|
|
|
+ <result property="fDocmentdate" column="f_docmentdate" />
|
|
|
+ <result property="fVslid" column="f_vslid" />
|
|
|
+ <result property="fVoyid" column="f_voyid" />
|
|
|
+ <result property="fTypeid" column="f_typeid" />
|
|
|
+ <result property="fPaymode" column="f_paymode" />
|
|
|
+ <result property="fLaneid" column="f_laneid" />
|
|
|
+ <result property="fCntval" column="f_cntval" />
|
|
|
+ <result property="freeContainerDate" column="free_container_date" />
|
|
|
+ <result property="fBusinessAttribution" column="f_business_attribution" />
|
|
|
+ <result property="fSupervisionUnit" column="f_supervision_unit" />
|
|
|
+ <result property="fDeclarationElements" column="f_declaration_elements" />
|
|
|
+ <result property="fPartNumber" column="f_part_number" />
|
|
|
+ <result property="fIfinspection" column="f_ifinspection" />
|
|
|
+ <result property="fValue" column="f_value" />
|
|
|
+ <result property="fWeighingDate" column="f_weighing_date" />
|
|
|
+ <result property="fIfsampling" column="f_ifsampling" />
|
|
|
+ <result property="sendSampleDate" column="send_sample_date" />
|
|
|
+ <result property="fIfweightRecovery" column="f_ifweight_recovery" />
|
|
|
+ <result property="weightRecoveryDate" column="weight_recovery_date" />
|
|
|
+ <result property="warehouseStatus" column="warehouse_status" />
|
|
|
+ <result property="fTimes" column="f_times" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTWarehousebillsVo">
|
|
@@ -98,8 +112,9 @@
|
|
|
f_billtype, f_billstatus, f_items_status, del_flag, create_by, create_time, update_by, update_time, remark, f_billing_deadline, f_product_name, f_review_date,
|
|
|
f_truckno, f_driver_name, f_driver_tel, f_driver_id_car, f_business_type, f_labour, f_fleet, f_inwarehouseid, f_bstime, f_cartype, f_goodsid, f_new_trademodeid,
|
|
|
f_loadportid, f_destportid, f_serviceitems, f_invoceobj, f_sign, f_detentioncargo, f_booksmarks, f_shippername, f_shipperattn, f_shippertel, f_consigneername,
|
|
|
- f_consigneeattn, f_consigneetel, f_insurance, f_insuranceamt, f_closedate, f_docmentdate, f_vslid, f_voyid, f_typeid, f_paymode, f_laneid, f_cntval
|
|
|
- from t_warehousebills
|
|
|
+ f_consigneeattn, f_consigneetel, f_insurance, f_insuranceamt, f_closedate, f_docmentdate, f_vslid, f_voyid, f_typeid, f_paymode, f_laneid, f_cntval,
|
|
|
+ free_container_date, f_business_attribution, f_supervision_unit, f_declaration_elements, f_part_number, f_ifinspection, f_value, f_weighing_date,
|
|
|
+ f_ifsampling, send_sample_date, f_ifweight_recovery, weight_recovery_date, warehouse_status, f_times from t_warehousebills
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWarehousebillsList" parameterType="TWarehousebills" resultMap="TWarehousebillsResult">
|
|
@@ -198,7 +213,8 @@
|
|
|
bill.f_grossweight AS fGrossweight,
|
|
|
bill.f_product_name AS fProductName,
|
|
|
bill.f_billing_deadline AS fBillingDeadline,
|
|
|
- CASE WHEN bill.f_billstatus = '1' THEN '录入'
|
|
|
+ bill.free_container_date AS freeContainerDate,
|
|
|
+ CASE WHEN bill.f_billstatus = '1' THEN '录入'
|
|
|
WHEN bill.f_billstatus = '2' THEN '暂存'
|
|
|
WHEN bill.f_billstatus = '3' THEN '驳回'
|
|
|
WHEN bill.f_billstatus = '4' THEN '请核'
|
|
@@ -291,6 +307,12 @@
|
|
|
<if test='timeInterval != null and timeInterval[1] != null and timeInterval[1]!= ""'>
|
|
|
and bill.f_bsdate <= #{timeInterval[1]}
|
|
|
</if>
|
|
|
+ <if test='freeContainerList != null and freeContainerList[0] != null and freeContainerList[0]!= ""'>
|
|
|
+ and bill.free_container_date >= #{freeContainerList[0]}
|
|
|
+ </if>
|
|
|
+ <if test='freeContainerList != null and freeContainerList[1] != null and freeContainerList[1]!= ""'>
|
|
|
+ and bill.free_container_date <= #{freeContainerList[1]}
|
|
|
+ </if>
|
|
|
<if test="fGoodsid != null and fGoodsid != ''">and item.f_goodsid = #{fGoodsid}</if>
|
|
|
<if test="fContacts != null and fContacts != ''">and bill.f_contacts = #{fContacts}</if>
|
|
|
<if test="fTel != null and fTel != ''">and bill.f_tel = #{fTel}</if>
|
|
@@ -380,6 +402,7 @@
|
|
|
bill.f_grossweight AS fGrossweight,
|
|
|
bill.f_product_name AS fProductName,
|
|
|
bill.f_billing_deadline AS fBillingDeadline,
|
|
|
+ bill.free_container_date AS freeContainerDate,
|
|
|
CASE
|
|
|
WHEN bill.f_billtype = 'HQZY' AND bill.f_billstatus = '1' THEN '录入'
|
|
|
WHEN bill.f_billtype = 'HQZY' AND bill.f_billstatus = '2' THEN '暂存'
|
|
@@ -447,6 +470,12 @@
|
|
|
<if test='timeInterval != null and timeInterval[1] != null and timeInterval[1]!= ""'>
|
|
|
and bill.f_bsdate <= #{timeInterval[1]}
|
|
|
</if>
|
|
|
+ <if test='freeContainerList != null and freeContainerList[0] != null and freeContainerList[0]!= ""'>
|
|
|
+ and bill.free_container_date >= #{freeContainerList[0]}
|
|
|
+ </if>
|
|
|
+ <if test='freeContainerList != null and freeContainerList[1] != null and freeContainerList[1]!= ""'>
|
|
|
+ and bill.free_container_date <= #{freeContainerList[1]}
|
|
|
+ </if>
|
|
|
<if test="fGoodsid != null and fGoodsid != ''">and item.f_goodsid = #{fGoodsid}</if>
|
|
|
<if test="fContacts != null and fContacts != ''">and bill.f_contacts = #{fContacts}</if>
|
|
|
<if test="fTel != null and fTel != ''">and bill.f_tel = #{fTel}</if>
|
|
@@ -757,14 +786,14 @@
|
|
|
<if test="fGrossweight != null">f_grossweight,</if>
|
|
|
<if test="fNetweight != null">f_netweight,</if>
|
|
|
<if test="fVolumn != null">f_volumn,</if>
|
|
|
- <if test="fBillingway != null">f_billingway,</if>
|
|
|
<if test="fTrademodeid != null">f_trademodeid,</if>
|
|
|
+ <if test="fBillingway != null">f_billingway,</if>
|
|
|
<if test="fSbu != null">f_sbu,</if>
|
|
|
<if test="fFeetunit != null">f_feetunit,</if>
|
|
|
<if test="fMblno != null">f_mblno,</if>
|
|
|
- <if test="fMarks != null">f_marks,</if>
|
|
|
<if test="fVslvoy != null">f_vslvoy,</if>
|
|
|
<if test="fEta != null">f_eta,</if>
|
|
|
+ <if test="fMarks != null">f_marks,</if>
|
|
|
<if test="fCustomno != null">f_customno,</if>
|
|
|
<if test="fIfweigh != null">f_ifweigh,</if>
|
|
|
<if test="fIfpledge != null">f_ifpledge,</if>
|
|
@@ -772,10 +801,10 @@
|
|
|
<if test="fBankcorpid != null">f_bankcorpid,</if>
|
|
|
<if test="fBilltype != null">f_billtype,</if>
|
|
|
<if test="fBillstatus != null">f_billstatus,</if>
|
|
|
- <if test="fItemsStatus != null">f_items_status,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
+ <if test="fItemsStatus != null">f_items_status,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
@@ -817,6 +846,20 @@
|
|
|
<if test="fPaymode != null">f_paymode,</if>
|
|
|
<if test="fLaneid != null">f_laneid,</if>
|
|
|
<if test="fCntval != null">f_cntval,</if>
|
|
|
+ <if test="freeContainerDate != null">free_container_date,</if>
|
|
|
+ <if test="fBusinessAttribution != null">f_business_attribution,</if>
|
|
|
+ <if test="fSupervisionUnit != null">f_supervision_unit,</if>
|
|
|
+ <if test="fDeclarationElements != null">f_declaration_elements,</if>
|
|
|
+ <if test="fPartNumber != null">f_part_number,</if>
|
|
|
+ <if test="fIfinspection != null">f_ifinspection,</if>
|
|
|
+ <if test="fValue != null">f_value,</if>
|
|
|
+ <if test="fWeighingDate != null">f_weighing_date,</if>
|
|
|
+ <if test="fIfsampling != null">f_ifsampling,</if>
|
|
|
+ <if test="sendSampleDate != null">send_sample_date,</if>
|
|
|
+ <if test="fIfweightRecovery != null">f_ifweight_recovery,</if>
|
|
|
+ <if test="weightRecoveryDate != null">weight_recovery_date,</if>
|
|
|
+ <if test="warehouseStatus != null">warehouse_status,</if>
|
|
|
+ <if test="fTimes != null">f_times,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fBillno != null">#{fBillno},</if>
|
|
@@ -842,14 +885,14 @@
|
|
|
<if test="fGrossweight != null">#{fGrossweight},</if>
|
|
|
<if test="fNetweight != null">#{fNetweight},</if>
|
|
|
<if test="fVolumn != null">#{fVolumn},</if>
|
|
|
- <if test="fBillingway != null">#{fBillingway},</if>
|
|
|
<if test="fTrademodeid != null">#{fTrademodeid},</if>
|
|
|
+ <if test="fBillingway != null">#{fBillingway},</if>
|
|
|
<if test="fSbu != null">#{fSbu},</if>
|
|
|
<if test="fFeetunit != null">#{fFeetunit},</if>
|
|
|
<if test="fMblno != null">#{fMblno},</if>
|
|
|
- <if test="fMarks != null">#{fMarks},</if>
|
|
|
<if test="fVslvoy != null">#{fVslvoy},</if>
|
|
|
<if test="fEta != null">#{fEta},</if>
|
|
|
+ <if test="fMarks != null">#{fMarks},</if>
|
|
|
<if test="fCustomno != null">#{fCustomno},</if>
|
|
|
<if test="fIfweigh != null">#{fIfweigh},</if>
|
|
|
<if test="fIfpledge != null">#{fIfpledge},</if>
|
|
@@ -857,10 +900,10 @@
|
|
|
<if test="fBankcorpid != null">#{fBankcorpid},</if>
|
|
|
<if test="fBilltype != null">#{fBilltype},</if>
|
|
|
<if test="fBillstatus != null">#{fBillstatus},</if>
|
|
|
- <if test="fItemsStatus != null">#{fItemsStatus},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
+ <if test="fItemsStatus != null">#{fItemsStatus},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
@@ -902,6 +945,20 @@
|
|
|
<if test="fPaymode != null">#{fPaymode},</if>
|
|
|
<if test="fLaneid != null">#{fLaneid},</if>
|
|
|
<if test="fCntval != null">#{fCntval},</if>
|
|
|
+ <if test="freeContainerDate != null">#{freeContainerDate},</if>
|
|
|
+ <if test="fBusinessAttribution != null">#{fBusinessAttribution},</if>
|
|
|
+ <if test="fSupervisionUnit != null">#{fSupervisionUnit},</if>
|
|
|
+ <if test="fDeclarationElements != null">#{fDeclarationElements},</if>
|
|
|
+ <if test="fPartNumber != null">#{fPartNumber},</if>
|
|
|
+ <if test="fIfinspection != null">#{fIfinspection},</if>
|
|
|
+ <if test="fValue != null">#{fValue},</if>
|
|
|
+ <if test="fWeighingDate != null">#{fWeighingDate},</if>
|
|
|
+ <if test="fIfsampling != null">#{fIfsampling},</if>
|
|
|
+ <if test="sendSampleDate != null">#{sendSampleDate},</if>
|
|
|
+ <if test="fIfweightRecovery != null">#{fIfweightRecovery},</if>
|
|
|
+ <if test="weightRecoveryDate != null">#{weightRecoveryDate},</if>
|
|
|
+ <if test="warehouseStatus != null">#{warehouseStatus},</if>
|
|
|
+ <if test="fTimes != null">#{fTimes},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -921,8 +978,8 @@
|
|
|
<if test="fBscorpno != null">f_bscorpno = #{fBscorpno},</if>
|
|
|
<if test="fWarehouseid != null">f_warehouseid = #{fWarehouseid},</if>
|
|
|
<if test="fStorekeeper != null">f_storekeeper = #{fStorekeeper},</if>
|
|
|
- <if test="fChargedate != null">f_chargedate = #{fChargedate},</if>
|
|
|
<if test="fBsdate != null">f_bsdate = #{fBsdate},</if>
|
|
|
+ <if test="fChargedate != null">f_chargedate = #{fChargedate},</if>
|
|
|
<if test="fPlanqty != null">f_planqty = #{fPlanqty},</if>
|
|
|
<if test="fPlangrossweight != null">f_plangrossweight = #{fPlangrossweight},</if>
|
|
|
<if test="fPlannetweight != null">f_plannetweight = #{fPlannetweight},</if>
|
|
@@ -931,14 +988,14 @@
|
|
|
<if test="fGrossweight != null">f_grossweight = #{fGrossweight},</if>
|
|
|
<if test="fNetweight != null">f_netweight = #{fNetweight},</if>
|
|
|
<if test="fVolumn != null">f_volumn = #{fVolumn},</if>
|
|
|
- <if test="fBillingway != null">f_billingway = #{fBillingway},</if>
|
|
|
<if test="fTrademodeid != null">f_trademodeid = #{fTrademodeid},</if>
|
|
|
+ <if test="fBillingway != null">f_billingway = #{fBillingway},</if>
|
|
|
<if test="fSbu != null">f_sbu = #{fSbu},</if>
|
|
|
<if test="fFeetunit != null">f_feetunit = #{fFeetunit},</if>
|
|
|
<if test="fMblno != null">f_mblno = #{fMblno},</if>
|
|
|
- <if test="fMarks != null">f_marks = #{fMarks},</if>
|
|
|
<if test="fVslvoy != null">f_vslvoy = #{fVslvoy},</if>
|
|
|
<if test="fEta != null">f_eta = #{fEta},</if>
|
|
|
+ <if test="fMarks != null">f_marks = #{fMarks},</if>
|
|
|
<if test="fCustomno != null">f_customno = #{fCustomno},</if>
|
|
|
<if test="fIfweigh != null">f_ifweigh = #{fIfweigh},</if>
|
|
|
<if test="fIfpledge != null">f_ifpledge = #{fIfpledge},</if>
|
|
@@ -946,10 +1003,10 @@
|
|
|
<if test="fBankcorpid != null">f_bankcorpid = #{fBankcorpid},</if>
|
|
|
<if test="fBilltype != null">f_billtype = #{fBilltype},</if>
|
|
|
<if test="fBillstatus != null">f_billstatus = #{fBillstatus},</if>
|
|
|
- <if test="fItemsStatus != null">f_items_status = #{fItemsStatus},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
+ <if test="fItemsStatus != null">f_items_status = #{fItemsStatus},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
@@ -991,9 +1048,24 @@
|
|
|
<if test="fPaymode != null">f_paymode = #{fPaymode},</if>
|
|
|
<if test="fLaneid != null">f_laneid = #{fLaneid},</if>
|
|
|
<if test="fCntval != null">f_cntval = #{fCntval},</if>
|
|
|
+ <if test="freeContainerDate != null">free_container_date = #{freeContainerDate},</if>
|
|
|
+ <if test="fBusinessAttribution != null">f_business_attribution = #{fBusinessAttribution},</if>
|
|
|
+ <if test="fSupervisionUnit != null">f_supervision_unit = #{fSupervisionUnit},</if>
|
|
|
+ <if test="fDeclarationElements != null">f_declaration_elements = #{fDeclarationElements},</if>
|
|
|
+ <if test="fPartNumber != null">f_part_number = #{fPartNumber},</if>
|
|
|
+ <if test="fIfinspection != null">f_ifinspection = #{fIfinspection},</if>
|
|
|
+ <if test="fValue != null">f_value = #{fValue},</if>
|
|
|
+ <if test="fWeighingDate != null">f_weighing_date = #{fWeighingDate},</if>
|
|
|
+ <if test="fIfsampling != null">f_ifsampling = #{fIfsampling},</if>
|
|
|
+ <if test="sendSampleDate != null">send_sample_date = #{sendSampleDate},</if>
|
|
|
+ <if test="fIfweightRecovery != null">f_ifweight_recovery = #{fIfweightRecovery},</if>
|
|
|
+ <if test="weightRecoveryDate != null">weight_recovery_date = #{weightRecoveryDate},</if>
|
|
|
+ <if test="warehouseStatus != null">warehouse_status = #{warehouseStatus},</if>
|
|
|
+ <if test="fTimes != null">f_times = #{fTimes},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|
|
|
+
|
|
|
<update id="updateKaHeOrder" parameterType="TWarehousebills">
|
|
|
update t_warehousebills
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
@@ -1081,6 +1153,20 @@
|
|
|
<if test="fPaymode != null">f_paymode = #{fPaymode},</if>
|
|
|
<if test="fLaneid != null">f_laneid = #{fLaneid},</if>
|
|
|
<if test="fTypeid != null">f_typeid = #{fTypeid},</if>
|
|
|
+ <if test="freeContainerDate != null">free_container_date = #{freeContainerDate},</if>
|
|
|
+ <if test="fBusinessAttribution != null">f_business_attribution = #{fBusinessAttribution},</if>
|
|
|
+ <if test="fSupervisionUnit != null">f_supervision_unit = #{fSupervisionUnit},</if>
|
|
|
+ <if test="fDeclarationElements != null">f_declaration_elements = #{fDeclarationElements},</if>
|
|
|
+ <if test="fPartNumber != null">f_part_number = #{fPartNumber},</if>
|
|
|
+ <if test="fIfinspection != null">f_ifinspection = #{fIfinspection},</if>
|
|
|
+ <if test="fValue != null">f_value = #{fValue},</if>
|
|
|
+ <if test="fWeighingDate != null">f_weighing_date = #{fWeighingDate},</if>
|
|
|
+ <if test="fIfsampling != null">f_ifsampling = #{fIfsampling},</if>
|
|
|
+ <if test="sendSampleDate != null">send_sample_date = #{sendSampleDate},</if>
|
|
|
+ <if test="fIfweightRecovery != null">f_ifweight_recovery = #{fIfweightRecovery},</if>
|
|
|
+ <if test="weightRecoveryDate != null">weight_recovery_date = #{weightRecoveryDate},</if>
|
|
|
+ <if test="warehouseStatus != null">warehouse_status = #{warehouseStatus},</if>
|
|
|
+ <if test="fTimes != null">f_times = #{fTimes},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|