|
@@ -59,10 +59,19 @@
|
|
|
<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" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTWarehousebillsVo">
|
|
|
- select f_id, f_billno, f_customsdeclartion, f_originalbillno, f_deptid, f_bsdeptid, f_contacts, f_tel, f_corpid, f_tocorpid, f_stltypeid, f_bscorpno, f_warehouseid, f_storekeeper, f_chargedate, f_bsdate, f_planqty, f_plangrossweight, f_plannetweight, f_planvolumn, f_qty, f_grossweight, f_netweight, f_volumn, f_trademodeid, f_billingway, f_sbu, f_feetunit, f_mblno, f_vslvoy, f_marks, f_eta, f_customno, f_ifweigh, f_ifpledge, f_ifdamage, f_bankcorpid, f_billtype, f_billstatus, del_flag, create_by, create_time, f_items_status, 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 from t_warehousebills
|
|
|
+ select f_id, f_billno, f_customsdeclartion, f_originalbillno, f_deptid, f_bsdeptid,
|
|
|
+ f_contacts, f_tel, f_corpid, f_tocorpid, f_stltypeid, f_bscorpno, f_warehouseid,
|
|
|
+ f_storekeeper, f_chargedate, f_bsdate, f_planqty, f_plangrossweight, f_plannetweight,
|
|
|
+ f_planvolumn, f_qty, f_grossweight, f_netweight, f_volumn, f_trademodeid, f_billingway,
|
|
|
+ f_sbu, f_feetunit, f_mblno, f_vslvoy, f_marks, f_eta, f_customno, f_ifweigh, f_ifpledge,
|
|
|
+ f_ifdamage, f_bankcorpid, f_billtype, f_billstatus, del_flag, create_by, create_time,
|
|
|
+ f_items_status, 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 from t_warehousebills
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWarehousebillsList" parameterType="TWarehousebills" resultMap="TWarehousebillsResult">
|
|
@@ -360,6 +369,8 @@
|
|
|
<if test="fDriverTel != null">f_driver_tel,</if>
|
|
|
<if test="fDriverIdCar != null">f_driver_id_car,</if>
|
|
|
<if test="fBusinessType != null">f_business_type,</if>
|
|
|
+ <if test="fLabour != null">f_labour,</if>
|
|
|
+ <if test="fFleet != null">f_fleet,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fBillno != null">#{fBillno},</if>
|
|
@@ -415,6 +426,8 @@
|
|
|
<if test="fDriverTel != null">#{fDriverTel},</if>
|
|
|
<if test="fDriverIdCar != null">#{fDriverIdCar},</if>
|
|
|
<if test="fBusinessType != null">#{fBusinessType},</if>
|
|
|
+ <if test="fLabour != null">#{fLabour},</if>
|
|
|
+ <if test="fFleet != null">#{fFleet},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -475,6 +488,8 @@
|
|
|
<if test="fDriverIdCar != null">f_driver_id_car = #{fDriverIdCar},</if>
|
|
|
<if test="fBusinessType != null">f_business_type = #{fBusinessType},</if>
|
|
|
<if test="fReviewDate == null">f_review_date = null,</if>
|
|
|
+ <if test="fLabour != null">f_labour = #{fLabour },</if>
|
|
|
+ <if test="fFleet != null">f_fleet = #{fFleet},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|