|
@@ -1228,7 +1228,7 @@
|
|
<if test="fFeetunit != null">f_feetunit = #{fFeetunit},</if>
|
|
<if test="fFeetunit != null">f_feetunit = #{fFeetunit},</if>
|
|
<if test="fMblno != null">f_mblno = #{fMblno},</if>
|
|
<if test="fMblno != null">f_mblno = #{fMblno},</if>
|
|
<if test="fEmblno != null">f_emblno = #{fEmblno},</if>
|
|
<if test="fEmblno != null">f_emblno = #{fEmblno},</if>
|
|
- <if test="fCompany != null">f_company = #{fCompany},</if>
|
|
|
|
|
|
+ f_company = #{fCompany},
|
|
<if test="fVslvoy != null">f_vslvoy = #{fVslvoy},</if>
|
|
<if test="fVslvoy != null">f_vslvoy = #{fVslvoy},</if>
|
|
<if test="fEta != null">f_eta = #{fEta},</if>
|
|
<if test="fEta != null">f_eta = #{fEta},</if>
|
|
<if test="fMarks != null">f_marks = #{fMarks},</if>
|
|
<if test="fMarks != null">f_marks = #{fMarks},</if>
|
|
@@ -1254,8 +1254,8 @@
|
|
<if test="fDriverTel != null">f_driver_tel = #{fDriverTel},</if>
|
|
<if test="fDriverTel != null">f_driver_tel = #{fDriverTel},</if>
|
|
<if test="fDriverIdCar != null">f_driver_id_car = #{fDriverIdCar},</if>
|
|
<if test="fDriverIdCar != null">f_driver_id_car = #{fDriverIdCar},</if>
|
|
<if test="fBusinessType != null">f_business_type = #{fBusinessType},</if>
|
|
<if test="fBusinessType != null">f_business_type = #{fBusinessType},</if>
|
|
- <if test="fLabour != null">f_labour = #{fLabour},</if>
|
|
|
|
- <if test="fFleet != null">f_fleet = #{fFleet},</if>
|
|
|
|
|
|
+ f_labour = #{fLabour},
|
|
|
|
+ f_fleet = #{fFleet},
|
|
<if test="fInwarehouseid != null">f_inwarehouseid = #{fInwarehouseid},</if>
|
|
<if test="fInwarehouseid != null">f_inwarehouseid = #{fInwarehouseid},</if>
|
|
<if test="fBstime != null">f_bstime = #{fBstime},</if>
|
|
<if test="fBstime != null">f_bstime = #{fBstime},</if>
|
|
<if test="fCartype != null">f_cartype = #{fCartype},</if>
|
|
<if test="fCartype != null">f_cartype = #{fCartype},</if>
|
|
@@ -2656,6 +2656,9 @@
|
|
IFNULL(ROUND(w.f_grossweight/1000.3465,2),0) fGrossweight,
|
|
IFNULL(ROUND(w.f_grossweight/1000.3465,2),0) fGrossweight,
|
|
t.f_grossweight fGrossweights,
|
|
t.f_grossweight fGrossweights,
|
|
t.f_cntqty fCntqty,
|
|
t.f_cntqty fCntqty,
|
|
|
|
+ fleet.f_name fleetName,
|
|
|
|
+ t.f_driver_name fDriverName,
|
|
|
|
+ t.f_driver_tel fDriverTel,
|
|
CASE
|
|
CASE
|
|
WHEN t.f_billstatus = '10' THEN
|
|
WHEN t.f_billstatus = '10' THEN
|
|
'计划'
|
|
'计划'
|
|
@@ -2669,6 +2672,7 @@
|
|
FROM
|
|
FROM
|
|
t_warehousebills w
|
|
t_warehousebills w
|
|
LEFT JOIN t_warehousebillsitems t ON t.f_pid = w.f_id
|
|
LEFT JOIN t_warehousebillsitems t ON t.f_pid = w.f_id
|
|
|
|
+ LEFT JOIN t_corps fleet ON fleet.f_id = t.f_fleet
|
|
LEFT JOIN t_corps c ON c.f_id = w.f_corpid
|
|
LEFT JOIN t_corps c ON c.f_id = w.f_corpid
|
|
LEFT JOIN t_goods g ON g.f_id = t.f_goodsid
|
|
LEFT JOIN t_goods g ON g.f_id = t.f_goodsid
|
|
LEFT JOIN t_cntr cntr ON cntr.f_id = t.f_cntrtype
|
|
LEFT JOIN t_cntr cntr ON cntr.f_id = t.f_cntrtype
|