|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
<mapper namespace="com.tianbo.analysis.dao.FFMInfoMapper" >
|
|
|
<resultMap id="BaseResultMap" type="com.tianbo.analysis.model.FFMInfo" >
|
|
|
<result column="AUTOID" property="autoid" jdbcType="VARCHAR" />
|
|
|
<result column="CREATEDATE" property="createdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="FLIGHTNO" property="flightno" jdbcType="VARCHAR" />
|
|
|
<result column="FLIGHTDATE" property="flightdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" />
|
|
|
<result column="ORIGINATINGSTATION" property="originatingstation" jdbcType="VARCHAR" />
|
|
|
<result column="DESTINATIONSTATION" property="destinationstation" jdbcType="VARCHAR" />
|
|
|
<result column="MANIFESTTOTALPIECE" property="manifesttotalpiece" jdbcType="VARCHAR" />
|
|
|
<result column="MANIFESTTOTALWEIGHT" property="manifesttotalweight" jdbcType="VARCHAR" />
|
|
|
<result column="PRODUCTNAME" property="productname" jdbcType="VARCHAR" />
|
|
|
<result column="SPECIALGOODSCODE" property="specialgoodscode" jdbcType="VARCHAR" />
|
|
|
<result column="CUSTOMSCODE" property="customscode" jdbcType="VARCHAR" />
|
|
|
<result column="CUSTOMSSTATUS" property="customsstatus" jdbcType="VARCHAR" />
|
|
|
<result column="ISBATCH" property="isbatch" jdbcType="VARCHAR" />
|
|
|
<result column="PALLET" property="pallet" jdbcType="VARCHAR" />
|
|
|
<result column="REPORTORDER" property="reportorder" jdbcType="VARCHAR" />
|
|
|
<result column="ISLAST" property="islast" jdbcType="VARCHAR" />
|
|
|
<result column="ORIGINATINGSTATION_BILL" property="originatingstationBill" jdbcType="VARCHAR" />
|
|
|
<result column="DESTINATIONSTATION_BILL" property="destinationstationBill" jdbcType="VARCHAR" />
|
|
|
<result column="TOTALPIECE" property="totalpiece" jdbcType="VARCHAR" />
|
|
|
<result column="DEALSTATUS" property="dealstatus" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.FFMInfo" >
|
|
|
insert into FFM_INFO (AUTOID, CREATEDATE, FLIGHTNO,
|
|
|
FLIGHTDATE, WAYBILLNOMASTER, ORIGINATINGSTATION,
|
|
|
DESTINATIONSTATION, MANIFESTTOTALPIECE,
|
|
|
MANIFESTTOTALWEIGHT, PRODUCTNAME, SPECIALGOODSCODE,
|
|
|
CUSTOMSCODE, CUSTOMSSTATUS, ISBATCH,
|
|
|
PALLET, REPORTORDER, ISLAST,
|
|
|
ORIGINATINGSTATION_BILL, DESTINATIONSTATION_BILL,
|
|
|
TOTALPIECE, DEALSTATUS)
|
|
|
values (#{autoid,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP}, #{flightno,jdbcType=VARCHAR},
|
|
|
#{flightdate,jdbcType=TIMESTAMP}, #{waybillnomaster,jdbcType=VARCHAR}, #{originatingstation,jdbcType=VARCHAR},
|
|
|
#{destinationstation,jdbcType=VARCHAR}, #{manifesttotalpiece,jdbcType=VARCHAR},
|
|
|
#{manifesttotalweight,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{specialgoodscode,jdbcType=VARCHAR},
|
|
|
#{customscode,jdbcType=VARCHAR}, #{customsstatus,jdbcType=VARCHAR}, #{isbatch,jdbcType=VARCHAR},
|
|
|
#{pallet,jdbcType=VARCHAR}, #{reportorder,jdbcType=VARCHAR}, #{islast,jdbcType=VARCHAR},
|
|
|
#{originatingstationBill,jdbcType=VARCHAR}, #{destinationstationBill,jdbcType=VARCHAR},
|
|
|
#{totalpiece,jdbcType=VARCHAR}, #{dealstatus,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.FFMInfo" >
|
|
|
insert into FFM_INFO
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
<if test="autoid != null" >
|
|
|
AUTOID,
|
|
|
</if>
|
|
|
<if test="createdate != null" >
|
|
|
CREATEDATE,
|
|
|
</if>
|
|
|
<if test="flightno != null" >
|
|
|
FLIGHTNO,
|
|
|
</if>
|
|
|
<if test="flightdate != null" >
|
|
|
FLIGHTDATE,
|
|
|
</if>
|
|
|
<if test="waybillnomaster != null" >
|
|
|
WAYBILLNOMASTER,
|
|
|
</if>
|
|
|
<if test="originatingstation != null" >
|
|
|
ORIGINATINGSTATION,
|
|
|
</if>
|
|
|
<if test="destinationstation != null" >
|
|
|
DESTINATIONSTATION,
|
|
|
</if>
|
|
|
<if test="manifesttotalpiece != null" >
|
|
|
MANIFESTTOTALPIECE,
|
|
|
</if>
|
|
|
<if test="manifesttotalweight != null" >
|
|
|
MANIFESTTOTALWEIGHT,
|
|
|
</if>
|
|
|
<if test="productname != null" >
|
|
|
PRODUCTNAME,
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null" >
|
|
|
SPECIALGOODSCODE,
|
|
|
</if>
|
|
|
<if test="customscode != null" >
|
|
|
CUSTOMSCODE,
|
|
|
</if>
|
|
|
<if test="customsstatus != null" >
|
|
|
CUSTOMSSTATUS,
|
|
|
</if>
|
|
|
<if test="isbatch != null" >
|
|
|
ISBATCH,
|
|
|
</if>
|
|
|
<if test="pallet != null" >
|
|
|
PALLET,
|
|
|
</if>
|
|
|
<if test="reportorder != null" >
|
|
|
REPORTORDER,
|
|
|
</if>
|
|
|
<if test="islast != null" >
|
|
|
ISLAST,
|
|
|
</if>
|
|
|
<if test="originatingstationBill != null" >
|
|
|
ORIGINATINGSTATION_BILL,
|
|
|
</if>
|
|
|
<if test="destinationstationBill != null" >
|
|
|
DESTINATIONSTATION_BILL,
|
|
|
</if>
|
|
|
<if test="totalpiece != null" >
|
|
|
TOTALPIECE,
|
|
|
</if>
|
|
|
<if test="dealstatus != null" >
|
|
|
DEALSTATUS,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="autoid != null" >
|
|
|
#{autoid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createdate != null" >
|
|
|
#{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="flightno != null" >
|
|
|
#{flightno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="flightdate != null" >
|
|
|
#{flightdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="waybillnomaster != null" >
|
|
|
#{waybillnomaster,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="originatingstation != null" >
|
|
|
#{originatingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstation != null" >
|
|
|
#{destinationstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manifesttotalpiece != null" >
|
|
|
#{manifesttotalpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manifesttotalweight != null" >
|
|
|
#{manifesttotalweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="productname != null" >
|
|
|
#{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null" >
|
|
|
#{specialgoodscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customscode != null" >
|
|
|
#{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null" >
|
|
|
#{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="isbatch != null" >
|
|
|
#{isbatch,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="pallet != null" >
|
|
|
#{pallet,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reportorder != null" >
|
|
|
#{reportorder,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="islast != null" >
|
|
|
#{islast,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="originatingstationBill != null" >
|
|
|
#{originatingstationBill,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstationBill != null" >
|
|
|
#{destinationstationBill,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="totalpiece != null" >
|
|
|
#{totalpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dealstatus != null" >
|
|
|
#{dealstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="getDistinctFlightWithPalletNull" resultType="com.tianbo.analysis.model.FFMInfo">
|
|
|
select distinct flightno,flightdate from ffm_info
|
|
|
where createdate <= to_date(to_char(sysdate-1/24/60,'yyyy-mm-dd HH24:MI:SS'),'yyyy-mm-dd HH24:MI:SS')
|
|
|
and dealstatus='0'
|
|
|
and islast='LAST'
|
|
|
and pallet is null
|
|
|
</select>
|
|
|
<select id="getDistinctFlightWithPallet" resultType="com.tianbo.analysis.model.FFMInfo">
|
|
|
select distinct flightno,flightdate from ffm_info
|
|
|
where createdate <![CDATA[<=]]> to_date(to_char(sysdate-1/24/60,'yyyy-mm-dd HH24:MI:SS'),'yyyy-mm-dd HH24:MI:SS')
|
|
|
and dealstatus='0'
|
|
|
and islast='LAST'
|
|
|
and pallet is not null
|
|
|
</select>
|
|
|
<select id="getLastReportOrderByNullPallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
NVL(MAX(reportorder),0) AS reportorder
|
|
|
FROM
|
|
|
FFM_INFO
|
|
|
WHERE
|
|
|
dealstatus='0'
|
|
|
and
|
|
|
islast = 'LAST'
|
|
|
and
|
|
|
flightno= #{flightno,jdbcType=VARCHAR}
|
|
|
and
|
|
|
flightdate= #{flightdate,jdbcType=TIMESTAMP}
|
|
|
and
|
|
|
pallet is null
|
|
|
</select>
|
|
|
<select id="getLastReportOrderByPallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
NVL(MAX(reportorder),0) AS reportorder
|
|
|
FROM
|
|
|
ffm_info
|
|
|
WHERE
|
|
|
dealstatus='0'
|
|
|
AND
|
|
|
islast = 'LAST'
|
|
|
AND
|
|
|
flightno= #{flightno,jdbcType=VARCHAR}
|
|
|
AND
|
|
|
flightdate= #{flightdate,jdbcType=TIMESTAMP}
|
|
|
AND
|
|
|
pallet is not null
|
|
|
</select>
|
|
|
<select id="lastCountByNullPallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
count(*) as reportorder
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
distinct reportorder,islast
|
|
|
FROM
|
|
|
ffm_info
|
|
|
WHERE
|
|
|
dealstatus='0'
|
|
|
and
|
|
|
flightno= #{flightno,jdbcType=VARCHAR}
|
|
|
and
|
|
|
flightdate = #{flightdate,jdbcType=TIMESTAMP}
|
|
|
and pallet is null
|
|
|
)
|
|
|
</select>
|
|
|
<select id="lastCountByPallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
count(*) as reportorder
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
distinct reportorder,islast
|
|
|
FROM
|
|
|
ffm_info
|
|
|
WHERE
|
|
|
dealstatus='0'
|
|
|
and
|
|
|
flightno= #{flightno,jdbcType=VARCHAR}
|
|
|
and
|
|
|
flightdate = #{flightdate,jdbcType=TIMESTAMP}
|
|
|
and pallet is NOT null
|
|
|
)
|
|
|
</select>
|
|
|
<select id="getFFMLastReportOrderByNullPallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster,
|
|
|
SUM (tb.manifesttotalpiece) manifesttotalpiece,
|
|
|
SUM (tb.manifesttotalweight) manifesttotalweight,
|
|
|
MAX (customscode) customscode,
|
|
|
MAX (customsstatus) customsstatus,
|
|
|
MAX (originatingstation_bill) originatingstation_bill,
|
|
|
MAX (destinationstation_bill) destinationstation_bill,
|
|
|
MAX (isbatch) isbatch,
|
|
|
MAX (autoid) autoid,
|
|
|
MAX (originatingstation) originatingstation,
|
|
|
MAX (destinationstation) destinationstation
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
T .*
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
A .*, ROW_NUMBER () OVER (
|
|
|
PARTITION BY flightno,
|
|
|
flightdate,
|
|
|
waybillnomaster,
|
|
|
pallet,
|
|
|
reportorder
|
|
|
ORDER BY
|
|
|
createdate DESC
|
|
|
) rw
|
|
|
FROM
|
|
|
ffm_info A
|
|
|
WHERE
|
|
|
islast = 'LAST'
|
|
|
AND reportorder = '1'
|
|
|
AND dealstatus = '0'
|
|
|
AND flightno = #{flightno,jdbcType=VARCHAR}
|
|
|
AND flightdate = #{flightdate,jdbcType=TIMESTAMP}
|
|
|
AND pallet IS NULL
|
|
|
) T
|
|
|
WHERE
|
|
|
T .rw = 1
|
|
|
ORDER BY
|
|
|
waybillnomaster
|
|
|
) tb
|
|
|
GROUP BY
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster
|
|
|
ORDER BY
|
|
|
tb.waybillnomaster
|
|
|
</select>
|
|
|
<select id="getFFMLastReportOrderByPallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster,
|
|
|
SUM (tb.manifesttotalpiece) manifesttotalpiece,
|
|
|
SUM (tb.manifesttotalweight) manifesttotalweight,
|
|
|
MAX (customscode) customscode,
|
|
|
MAX (customsstatus) customsstatus,
|
|
|
MAX (originatingstation_bill) originatingstation_bill,
|
|
|
MAX (destinationstation_bill) destinationstation_bill,
|
|
|
MAX (isbatch) isbatch,
|
|
|
MAX (autoid) autoid,
|
|
|
MAX (originatingstation) originatingstation,
|
|
|
MAX (destinationstation) destinationstation
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
T .*
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
A .*, ROW_NUMBER () OVER (
|
|
|
PARTITION BY flightno,
|
|
|
flightdate,
|
|
|
waybillnomaster,
|
|
|
pallet,
|
|
|
reportorder
|
|
|
ORDER BY
|
|
|
createdate DESC
|
|
|
) rw
|
|
|
FROM
|
|
|
ffm_info A
|
|
|
WHERE
|
|
|
islast = 'LAST'
|
|
|
AND reportorder = '1'
|
|
|
AND dealstatus = '0'
|
|
|
AND flightno = #{flightno,jdbcType=VARCHAR}
|
|
|
AND flightdate = #{flightdate,jdbcType=TIMESTAMP}
|
|
|
AND pallet IS NOT NULL
|
|
|
) T
|
|
|
WHERE
|
|
|
T .rw = 1
|
|
|
ORDER BY
|
|
|
waybillnomaster
|
|
|
) tb
|
|
|
GROUP BY
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster
|
|
|
ORDER BY
|
|
|
tb.waybillnomaster
|
|
|
</select>
|
|
|
<select id="getFFMinfoByNullpallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster,
|
|
|
SUM (tb.manifesttotalpiece) manifesttotalpiece,
|
|
|
SUM (tb.manifesttotalweight) manifesttotalweight,
|
|
|
MAX (customscode) customscode,
|
|
|
MAX (customsstatus) customsstatus,
|
|
|
MAX (originatingstation_bill) originatingstation_bill,
|
|
|
MAX (destinationstation_bill) destinationstation_bill,
|
|
|
MAX (isbatch) isbatch,
|
|
|
MAX (autoid) autoid,
|
|
|
MAX (originatingstation) originatingstation,
|
|
|
MAX (destinationstation) destinationstation
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
T .*
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
A .*, ROW_NUMBER () OVER (
|
|
|
PARTITION BY flightno,
|
|
|
flightdate,
|
|
|
waybillnomaster,
|
|
|
pallet,
|
|
|
reportorder
|
|
|
ORDER BY
|
|
|
createdate DESC
|
|
|
) rw
|
|
|
FROM
|
|
|
ffm_info A
|
|
|
WHERE
|
|
|
dealstatus = '0'
|
|
|
AND flightno = #{flightno,jdbcType=VARCHAR}
|
|
|
AND flightdate = #{flightdate,jdbcType=TIMESTAMP}
|
|
|
AND pallet IS NULL
|
|
|
) T
|
|
|
WHERE
|
|
|
T .rw = 1
|
|
|
ORDER BY
|
|
|
waybillnomaster
|
|
|
) tb
|
|
|
GROUP BY
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster
|
|
|
ORDER BY
|
|
|
tb.waybillnomaster
|
|
|
</select>
|
|
|
|
|
|
<select id="getFFMinfoBypallet" resultType="com.tianbo.analysis.model.FFMInfo" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
SELECT
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster,
|
|
|
SUM (tb.manifesttotalpiece) manifesttotalpiece,
|
|
|
SUM (tb.manifesttotalweight) manifesttotalweight,
|
|
|
MAX (customscode) customscode,
|
|
|
MAX (customsstatus) customsstatus,
|
|
|
MAX (originatingstation_bill) originatingstation_bill,
|
|
|
MAX (destinationstation_bill) destinationstation_bill,
|
|
|
MAX (isbatch) isbatch,
|
|
|
MAX (autoid) autoid,
|
|
|
MAX (originatingstation) originatingstation,
|
|
|
MAX (destinationstation) destinationstation
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
T .*
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
A .*, ROW_NUMBER () OVER (
|
|
|
PARTITION BY flightno,
|
|
|
flightdate,
|
|
|
waybillnomaster,
|
|
|
pallet,
|
|
|
reportorder
|
|
|
ORDER BY
|
|
|
createdate DESC
|
|
|
) rw
|
|
|
FROM
|
|
|
ffm_info A
|
|
|
WHERE
|
|
|
dealstatus = '0'
|
|
|
AND flightno = #{flightno,jdbcType=VARCHAR}
|
|
|
AND flightdate = #{flightdate,jdbcType=TIMESTAMP}
|
|
|
AND pallet IS NOT NULL
|
|
|
) T
|
|
|
WHERE
|
|
|
T .rw = 1
|
|
|
ORDER BY
|
|
|
waybillnomaster
|
|
|
) tb
|
|
|
GROUP BY
|
|
|
tb.flightno,
|
|
|
tb.flightdate,
|
|
|
tb.waybillnomaster
|
|
|
ORDER BY
|
|
|
tb.waybillnomaster
|
|
|
</select>
|
|
|
|
|
|
<update id="updateSelective" parameterType="com.tianbo.analysis.model.FFMInfo">
|
|
|
UPDATE FFM_INFO
|
|
|
<set >
|
|
|
<if test="createdate != null" >
|
|
|
CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="flightno != null" >
|
|
|
FLIGHTNO = #{flightno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="flightdate != null" >
|
|
|
FLIGHTDATE = #{flightdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="waybillnomaster != null" >
|
|
|
WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="originatingstation != null" >
|
|
|
ORIGINATINGSTATION = #{originatingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstation != null" >
|
|
|
DESTINATIONSTATION = #{destinationstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manifesttotalpiece != null" >
|
|
|
MANIFESTTOTALPIECE = #{manifesttotalpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manifesttotalweight != null" >
|
|
|
MANIFESTTOTALWEIGHT = #{manifesttotalweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="productname != null" >
|
|
|
PRODUCTNAME = #{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null" >
|
|
|
SPECIALGOODSCODE = #{specialgoodscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customscode != null" >
|
|
|
CUSTOMSCODE = #{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null" >
|
|
|
CUSTOMSSTATUS = #{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="isbatch != null" >
|
|
|
ISBATCH = #{isbatch,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="pallet != null" >
|
|
|
PALLET = #{pallet,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reportorder != null" >
|
|
|
REPORTORDER = #{reportorder,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="islast != null" >
|
|
|
ISLAST = #{islast,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="originatingstationBill != null" >
|
|
|
ORIGINATINGSTATION_BILL = #{originatingstationBill,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstationBill != null" >
|
|
|
DESTINATIONSTATION_BILL = #{destinationstationBill,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="totalpiece != null" >
|
|
|
TOTALPIECE = #{totalpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dealstatus != null" >
|
|
|
DEALSTATUS = #{dealstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
WHERE
|
|
|
flightno= #{flightno,jdbcType=VARCHAR}
|
|
|
AND flightdate= #{flightdate,jdbcType=TIMESTAMP}
|
|
|
AND waybillnomaster= #{waybillnomaster,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|