|
@@ -131,6 +131,10 @@
|
|
|
<result property="fCaregoStatus" column="f_carego_status" />
|
|
|
<result property="fShipTwo" column="f_ship_two" />
|
|
|
<result property="fVoyTwo" column="f_voy_two" />
|
|
|
+ <result property="pickUpPerson" column="pick_up_person" />
|
|
|
+ <result property="pickUpTime" column="pick_up_time" />
|
|
|
+ <result property="facilityPerson" column="facility_person" />
|
|
|
+ <result property="facilityTime" column="facility_time" />
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="WarehouseBillsVO" id="WarehousebillsVOResult">
|
|
@@ -155,7 +159,7 @@
|
|
|
free_container_date, f_business_attribution, f_fee_status, 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 ,f_date_changed, f_chargetype,f_weigh_weight,
|
|
|
f_predict_branch,f_grade,f_delivery_details,f_salesman_id,f_itemstatus,f_updete_status, f_submit_update, f_delete_status,f_remarks_fees,f_cargo_planning,
|
|
|
- f_arrival_status,f_dismount_status,f_serviceitems_new,f_receivable,f_recycle,f_due,f_pay,f_carego_status, f_ship_two, f_voy_two from t_warehousebills
|
|
|
+ f_arrival_status,f_dismount_status,f_serviceitems_new,f_receivable,f_recycle,f_due,f_pay,f_carego_status, f_ship_two, f_voy_two, pick_up_person, pick_up_time, facility_person, facility_time from t_warehousebills
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWarehousebillsList" parameterType="TWarehousebills" resultMap="TWarehousebillsResult">
|
|
@@ -1171,6 +1175,10 @@
|
|
|
<if test="fCaregoStatus != null">f_carego_status,</if>
|
|
|
<if test="fShipTwo != null">f_ship_two,</if>
|
|
|
<if test="fVoyTwo != null">f_voy_two,</if>
|
|
|
+ <if test="pickUpPerson != null">pick_up_person,</if>
|
|
|
+ <if test="pickUpTime != null">pick_up_time,</if>
|
|
|
+ <if test="facilityPerson != null">facility_person,</if>
|
|
|
+ <if test="facilityTime != null">facility_time,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fBillno != null">#{fBillno},</if>
|
|
@@ -1298,6 +1306,10 @@
|
|
|
<if test="fCaregoStatus != null">#{fCaregoStatus},</if>
|
|
|
<if test="fShipTwo != null">#{fShipTwo},</if>
|
|
|
<if test="fVoyTwo != null">#{fVoyTwo},</if>
|
|
|
+ <if test="pickUpPerson != null">#{pickUpPerson},</if>
|
|
|
+ <if test="pickUpTime != null">#{pickUpTime},</if>
|
|
|
+ <if test="facilityPerson != null">#{facilityPerson},</if>
|
|
|
+ <if test="facilityTime != null">#{facilityTime},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -1429,6 +1441,10 @@
|
|
|
<if test="fCaregoStatus != null">f_carego_status = #{fCaregoStatus},</if>
|
|
|
<if test="fShipTwo != null">f_ship_two = #{fShipTwo},</if>
|
|
|
<if test="fVoyTwo != null">f_voy_two = #{fVoyTwo},</if>
|
|
|
+ <if test="pickUpPerson != null">pick_up_person = #{pickUpPerson},</if>
|
|
|
+ <if test="pickUpTime != null">pick_up_time = #{pickUpTime},</if>
|
|
|
+ <if test="facilityPerson != null">facility_person = #{facilityPerson},</if>
|
|
|
+ <if test="facilityTime != null">facility_time = #{facilityTime},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|
|
@@ -1561,6 +1577,10 @@
|
|
|
<if test="fCaregoStatus != null">f_carego_status = #{fCaregoStatus},</if>
|
|
|
<if test="fShipTwo != null">f_ship_two = #{fShipTwo},</if>
|
|
|
<if test="fVoyTwo != null">f_voy_two = #{fVoyTwo},</if>
|
|
|
+ <if test="pickUpPerson != null">pick_up_person = #{pickUpPerson},</if>
|
|
|
+ <if test="pickUpTime != null">pick_up_time = #{pickUpTime},</if>
|
|
|
+ <if test="facilityPerson != null">facility_person = #{facilityPerson},</if>
|
|
|
+ <if test="facilityTime != null">facility_time = #{facilityTime},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|
|
@@ -2087,7 +2107,11 @@
|
|
|
WHEN tw.f_carego_status = '3' THEN '扣货'
|
|
|
END AS fCaregoStatus,
|
|
|
tv1.f_name fShipTwoName,
|
|
|
- ty1.f_no fVoyTwoName
|
|
|
+ ty1.f_no fVoyTwoName,
|
|
|
+ tw.pick_up_person AS pickUpPerson,
|
|
|
+ tw.pick_up_time AS pickUpTime,
|
|
|
+ tw.facility_person AS facilityPerson,
|
|
|
+ tw.facility_time AS facilityTime
|
|
|
FROM
|
|
|
t_warehousebills tw
|
|
|
LEFT JOIN t_address ta ON ta.f_id = tw.f_laneid
|
|
@@ -2659,7 +2683,11 @@
|
|
|
tv1.f_name fShipTwoName,
|
|
|
ty1.f_no fVoyTwoName,
|
|
|
tw.f_ship_two,
|
|
|
- tw.f_voy_two
|
|
|
+ tw.f_voy_two,
|
|
|
+ tw.pick_up_person,
|
|
|
+ tw.pick_up_time,
|
|
|
+ tw.facility_person,
|
|
|
+ tw.facility_time
|
|
|
FROM t_warehousebills tw
|
|
|
LEFT JOIN t_address address ON address.f_id = tw.f_loadportid
|
|
|
LEFT JOIN t_address ta ON ta.f_id = tw.f_loadportid
|