|
@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
WHEN tv.f_status = 'T' THEN
|
|
|
'正常' ELSE '停用'
|
|
|
END AS f_status,
|
|
|
- TIMESTAMPDIFF(DAY,tv.f_ETD,DATE_FORMAT(tv.f_cutoffdate, '%Y-%m-%d %H:%i:%S')) closing,
|
|
|
+ TIMESTAMPDIFF(DAY,tv.f_ETD,DATE_FORMAT(tv.f_ducomentrayoffdate, '%Y-%m-%d %H:%i:%S')) closing,
|
|
|
tv.create_by,
|
|
|
tv.create_time,
|
|
|
tv.update_by,
|
|
@@ -222,8 +222,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fNo != null and fNo != ''">f_no = #{fNo},</if>
|
|
|
<if test="fPortofloadid != null">f_portofloadid = #{fPortofloadid},</if>
|
|
|
<if test="fPortofdischargeid != null">f_portofdischargeid = #{fPortofdischargeid},</if>
|
|
|
+ <if test="fPortofdischargeid == null">f_portofdischargeid = null,</if>
|
|
|
<if test="fDistinationid != null">f_distinationid = #{fDistinationid},</if>
|
|
|
<if test="fPortoftransshipment != null">f_portoftransshipment = #{fPortoftransshipment},</if>
|
|
|
+ <if test="fPortoftransshipment == null">f_portoftransshipment = null,</if>
|
|
|
<if test="fEtd != null">f_ETD = #{fEtd},</if>
|
|
|
<if test="fAtd != null">f_ATD = #{fAtd},</if>
|
|
|
<if test="fEta != null">f_ETA = #{fEta},</if>
|