...
|
...
|
@@ -964,325 +964,325 @@ |
|
|
UNLODINGCODE = #{unlodingcode,jdbcType=VARCHAR}
|
|
|
where ID = #{id,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
<resultMap id="BaseResultMap" type="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
<result column="AUTOID" jdbcType="VARCHAR" property="autoid" />
|
|
|
<result column="WAYBILLNOMASTER" jdbcType="VARCHAR" property="waybillnomaster" />
|
|
|
<result column="WAYBILLNOSECONDARY" jdbcType="VARCHAR" property="waybillnosecondary" />
|
|
|
<result column="TOTALWEIGHT" jdbcType="VARCHAR" property="totalweight" />
|
|
|
<result column="TOTALPIECE" jdbcType="VARCHAR" property="totalpiece" />
|
|
|
<result column="PREPAREPIECE" jdbcType="VARCHAR" property="preparepiece" />
|
|
|
<result column="PREPAREWEIGHT" jdbcType="VARCHAR" property="prepareweight" />
|
|
|
<result column="CREATEDATE" jdbcType="TIMESTAMP" property="createdate" />
|
|
|
<result column="PREPAREMASTERID" jdbcType="VARCHAR" property="preparemasterid" />
|
|
|
<result column="CARRIER" jdbcType="VARCHAR" property="carrier" />
|
|
|
<result column="FLIGHTNO" jdbcType="VARCHAR" property="flightno" />
|
|
|
<result column="FLIGHTDATE" jdbcType="TIMESTAMP" property="flightdate" />
|
|
|
<result column="ORIGINATINGSTATION" jdbcType="VARCHAR" property="originatingstation" />
|
|
|
<result column="DESTINATIONSTATION" jdbcType="VARCHAR" property="destinationstation" />
|
|
|
<result column="CUSTOMSSTATUS" jdbcType="VARCHAR" property="customsstatus" />
|
|
|
<result column="PAYMODE" jdbcType="VARCHAR" property="paymode" />
|
|
|
<result column="PRODUCTNAME" jdbcType="VARCHAR" property="productname" />
|
|
|
<result column="STOWAGEDATE" jdbcType="TIMESTAMP" property="stowagedate" />
|
|
|
<result column="CUSTOMSCODE" jdbcType="VARCHAR" property="customscode" />
|
|
|
<result column="SHIPPERNAME" jdbcType="VARCHAR" property="shippername" />
|
|
|
<result column="SHIPPERCITY" jdbcType="VARCHAR" property="shippercity" />
|
|
|
<result column="SHIPPERADDRESS" jdbcType="VARCHAR" property="shipperaddress" />
|
|
|
<result column="CONSIGNEENAME" jdbcType="VARCHAR" property="consigneename" />
|
|
|
<result column="CONSIGNEECITY" jdbcType="VARCHAR" property="consigneecity" />
|
|
|
<result column="CONSIGNEEADDRESS" jdbcType="VARCHAR" property="consigneeaddress" />
|
|
|
<result column="RECEIPTINFORMATION" jdbcType="VARCHAR" property="receiptinformation" />
|
|
|
<result column="AGENTCODE" jdbcType="VARCHAR" property="agentcode" />
|
|
|
<result column="AGENTNAME" jdbcType="VARCHAR" property="agentname" />
|
|
|
<result column="STATUS" jdbcType="VARCHAR" property="status" />
|
|
|
<result column="SHIPPER_CODE" jdbcType="VARCHAR" property="shipperCode" />
|
|
|
<result column="SHIPPER_COUNTRYCODE" jdbcType="VARCHAR" property="shipperCountrycode" />
|
|
|
<result column="SHIPPER_PHONE" jdbcType="VARCHAR" property="shipperPhone" />
|
|
|
<result column="SHIPPER_FAX" jdbcType="VARCHAR" property="shipperFax" />
|
|
|
<result column="CONSIGNEE_CODE" jdbcType="VARCHAR" property="consigneeCode" />
|
|
|
<result column="CONSIGNEE_COUNTRYCODE" jdbcType="VARCHAR" property="consigneeCountrycode" />
|
|
|
<result column="CONSIGNEE_PHONE" jdbcType="VARCHAR" property="consigneePhone" />
|
|
|
<result column="CONSIGNEE_FAX" jdbcType="VARCHAR" property="consigneeFax" />
|
|
|
<result column="SHIPPER_AEO" jdbcType="VARCHAR" property="shipperAeo" />
|
|
|
<result column="CONSIGNEE_AEO" jdbcType="VARCHAR" property="consigneeAeo" />
|
|
|
<result column="UNLOADINGSTATION" jdbcType="VARCHAR" property="unloadingstation" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
insert into PREPARESECONDARY (AUTOID, WAYBILLNOMASTER, WAYBILLNOSECONDARY,
|
|
|
TOTALWEIGHT, TOTALPIECE, PREPAREPIECE,
|
|
|
PREPAREWEIGHT, CREATEDATE, PREPAREMASTERID,
|
|
|
CARRIER, FLIGHTNO, FLIGHTDATE,
|
|
|
ORIGINATINGSTATION, DESTINATIONSTATION,
|
|
|
CUSTOMSSTATUS, PAYMODE, PRODUCTNAME,
|
|
|
STOWAGEDATE, CUSTOMSCODE, SHIPPERNAME,
|
|
|
SHIPPERCITY, SHIPPERADDRESS, CONSIGNEENAME,
|
|
|
CONSIGNEECITY, CONSIGNEEADDRESS, RECEIPTINFORMATION,
|
|
|
AGENTCODE, AGENTNAME, STATUS,
|
|
|
SHIPPER_CODE, SHIPPER_COUNTRYCODE, SHIPPER_PHONE,
|
|
|
SHIPPER_FAX, CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE,
|
|
|
CONSIGNEE_PHONE, CONSIGNEE_FAX, SHIPPER_AEO,
|
|
|
CONSIGNEE_AEO, UNLOADINGSTATION)
|
|
|
values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
#{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR}, #{preparepiece,jdbcType=VARCHAR},
|
|
|
#{prepareweight,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP}, #{preparemasterid,jdbcType=VARCHAR},
|
|
|
#{carrier,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{flightdate,jdbcType=TIMESTAMP},
|
|
|
#{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR},
|
|
|
#{customsstatus,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR},
|
|
|
#{stowagedate,jdbcType=TIMESTAMP}, #{customscode,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR},
|
|
|
#{shippercity,jdbcType=VARCHAR}, #{shipperaddress,jdbcType=VARCHAR}, #{consigneename,jdbcType=VARCHAR},
|
|
|
#{consigneecity,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR}, #{receiptinformation,jdbcType=VARCHAR},
|
|
|
#{agentcode,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},
|
|
|
#{shipperCode,jdbcType=VARCHAR}, #{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR},
|
|
|
#{shipperFax,jdbcType=VARCHAR}, #{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
#{consigneePhone,jdbcType=VARCHAR}, #{consigneeFax,jdbcType=VARCHAR}, #{shipperAeo,jdbcType=VARCHAR},
|
|
|
#{consigneeAeo,jdbcType=VARCHAR}, #{unloadingstation,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
insert into PREPARESECONDARY
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="autoid != null">
|
|
|
AUTOID,
|
|
|
</if>
|
|
|
<if test="waybillnomaster != null">
|
|
|
WAYBILLNOMASTER,
|
|
|
</if>
|
|
|
<if test="waybillnosecondary != null">
|
|
|
WAYBILLNOSECONDARY,
|
|
|
</if>
|
|
|
<if test="totalweight != null">
|
|
|
TOTALWEIGHT,
|
|
|
</if>
|
|
|
<if test="totalpiece != null">
|
|
|
TOTALPIECE,
|
|
|
</if>
|
|
|
<if test="preparepiece != null">
|
|
|
PREPAREPIECE,
|
|
|
</if>
|
|
|
<if test="prepareweight != null">
|
|
|
PREPAREWEIGHT,
|
|
|
</if>
|
|
|
<if test="createdate != null">
|
|
|
CREATEDATE,
|
|
|
</if>
|
|
|
<if test="preparemasterid != null">
|
|
|
PREPAREMASTERID,
|
|
|
</if>
|
|
|
<if test="carrier != null">
|
|
|
CARRIER,
|
|
|
</if>
|
|
|
<if test="flightno != null">
|
|
|
FLIGHTNO,
|
|
|
</if>
|
|
|
<if test="flightdate != null">
|
|
|
FLIGHTDATE,
|
|
|
</if>
|
|
|
<if test="originatingstation != null">
|
|
|
ORIGINATINGSTATION,
|
|
|
</if>
|
|
|
<if test="destinationstation != null">
|
|
|
DESTINATIONSTATION,
|
|
|
</if>
|
|
|
<if test="customsstatus != null">
|
|
|
CUSTOMSSTATUS,
|
|
|
</if>
|
|
|
<if test="paymode != null">
|
|
|
PAYMODE,
|
|
|
</if>
|
|
|
<if test="productname != null">
|
|
|
PRODUCTNAME,
|
|
|
</if>
|
|
|
<if test="stowagedate != null">
|
|
|
STOWAGEDATE,
|
|
|
</if>
|
|
|
<if test="customscode != null">
|
|
|
CUSTOMSCODE,
|
|
|
</if>
|
|
|
<if test="shippername != null">
|
|
|
SHIPPERNAME,
|
|
|
</if>
|
|
|
<if test="shippercity != null">
|
|
|
SHIPPERCITY,
|
|
|
</if>
|
|
|
<if test="shipperaddress != null">
|
|
|
SHIPPERADDRESS,
|
|
|
</if>
|
|
|
<if test="consigneename != null">
|
|
|
CONSIGNEENAME,
|
|
|
</if>
|
|
|
<if test="consigneecity != null">
|
|
|
CONSIGNEECITY,
|
|
|
</if>
|
|
|
<if test="consigneeaddress != null">
|
|
|
CONSIGNEEADDRESS,
|
|
|
</if>
|
|
|
<if test="receiptinformation != null">
|
|
|
RECEIPTINFORMATION,
|
|
|
</if>
|
|
|
<if test="agentcode != null">
|
|
|
AGENTCODE,
|
|
|
</if>
|
|
|
<if test="agentname != null">
|
|
|
AGENTNAME,
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
STATUS,
|
|
|
</if>
|
|
|
<if test="shipperCode != null">
|
|
|
SHIPPER_CODE,
|
|
|
</if>
|
|
|
<if test="shipperCountrycode != null">
|
|
|
SHIPPER_COUNTRYCODE,
|
|
|
</if>
|
|
|
<if test="shipperPhone != null">
|
|
|
SHIPPER_PHONE,
|
|
|
</if>
|
|
|
<if test="shipperFax != null">
|
|
|
SHIPPER_FAX,
|
|
|
</if>
|
|
|
<if test="consigneeCode != null">
|
|
|
CONSIGNEE_CODE,
|
|
|
</if>
|
|
|
<if test="consigneeCountrycode != null">
|
|
|
CONSIGNEE_COUNTRYCODE,
|
|
|
</if>
|
|
|
<if test="consigneePhone != null">
|
|
|
CONSIGNEE_PHONE,
|
|
|
</if>
|
|
|
<if test="consigneeFax != null">
|
|
|
CONSIGNEE_FAX,
|
|
|
</if>
|
|
|
<if test="shipperAeo != null">
|
|
|
SHIPPER_AEO,
|
|
|
</if>
|
|
|
<if test="consigneeAeo != null">
|
|
|
CONSIGNEE_AEO,
|
|
|
</if>
|
|
|
<if test="unloadingstation != null">
|
|
|
UNLOADINGSTATION,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="autoid != null">
|
|
|
#{autoid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="waybillnomaster != null">
|
|
|
#{waybillnomaster,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="waybillnosecondary != null">
|
|
|
#{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="totalweight != null">
|
|
|
#{totalweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="totalpiece != null">
|
|
|
#{totalpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="preparepiece != null">
|
|
|
#{preparepiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="prepareweight != null">
|
|
|
#{prepareweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createdate != null">
|
|
|
#{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="preparemasterid != null">
|
|
|
#{preparemasterid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier != null">
|
|
|
#{carrier,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="flightno != null">
|
|
|
#{flightno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="flightdate != null">
|
|
|
#{flightdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="originatingstation != null">
|
|
|
#{originatingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstation != null">
|
|
|
#{destinationstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null">
|
|
|
#{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="paymode != null">
|
|
|
#{paymode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="productname != null">
|
|
|
#{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="stowagedate != null">
|
|
|
#{stowagedate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="customscode != null">
|
|
|
#{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shippername != null">
|
|
|
#{shippername,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shippercity != null">
|
|
|
#{shippercity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperaddress != null">
|
|
|
#{shipperaddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneename != null">
|
|
|
#{consigneename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneecity != null">
|
|
|
#{consigneecity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeaddress != null">
|
|
|
#{consigneeaddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="receiptinformation != null">
|
|
|
#{receiptinformation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentcode != null">
|
|
|
#{agentcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentname != null">
|
|
|
#{agentname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperCode != null">
|
|
|
#{shipperCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperCountrycode != null">
|
|
|
#{shipperCountrycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperPhone != null">
|
|
|
#{shipperPhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperFax != null">
|
|
|
#{shipperFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeCode != null">
|
|
|
#{consigneeCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeCountrycode != null">
|
|
|
#{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneePhone != null">
|
|
|
#{consigneePhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeFax != null">
|
|
|
#{consigneeFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperAeo != null">
|
|
|
#{shipperAeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeAeo != null">
|
|
|
#{consigneeAeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="unloadingstation != null">
|
|
|
#{unloadingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<!--<resultMap id="BaseResultMap" type="com.tianbo.analysis.model.PREPARESECONDARY">-->
|
|
|
<!--<result column="AUTOID" jdbcType="VARCHAR" property="autoid" />-->
|
|
|
<!--<result column="WAYBILLNOMASTER" jdbcType="VARCHAR" property="waybillnomaster" />-->
|
|
|
<!--<result column="WAYBILLNOSECONDARY" jdbcType="VARCHAR" property="waybillnosecondary" />-->
|
|
|
<!--<result column="TOTALWEIGHT" jdbcType="VARCHAR" property="totalweight" />-->
|
|
|
<!--<result column="TOTALPIECE" jdbcType="VARCHAR" property="totalpiece" />-->
|
|
|
<!--<result column="PREPAREPIECE" jdbcType="VARCHAR" property="preparepiece" />-->
|
|
|
<!--<result column="PREPAREWEIGHT" jdbcType="VARCHAR" property="prepareweight" />-->
|
|
|
<!--<result column="CREATEDATE" jdbcType="TIMESTAMP" property="createdate" />-->
|
|
|
<!--<result column="PREPAREMASTERID" jdbcType="VARCHAR" property="preparemasterid" />-->
|
|
|
<!--<result column="CARRIER" jdbcType="VARCHAR" property="carrier" />-->
|
|
|
<!--<result column="FLIGHTNO" jdbcType="VARCHAR" property="flightno" />-->
|
|
|
<!--<result column="FLIGHTDATE" jdbcType="TIMESTAMP" property="flightdate" />-->
|
|
|
<!--<result column="ORIGINATINGSTATION" jdbcType="VARCHAR" property="originatingstation" />-->
|
|
|
<!--<result column="DESTINATIONSTATION" jdbcType="VARCHAR" property="destinationstation" />-->
|
|
|
<!--<result column="CUSTOMSSTATUS" jdbcType="VARCHAR" property="customsstatus" />-->
|
|
|
<!--<result column="PAYMODE" jdbcType="VARCHAR" property="paymode" />-->
|
|
|
<!--<result column="PRODUCTNAME" jdbcType="VARCHAR" property="productname" />-->
|
|
|
<!--<result column="STOWAGEDATE" jdbcType="TIMESTAMP" property="stowagedate" />-->
|
|
|
<!--<result column="CUSTOMSCODE" jdbcType="VARCHAR" property="customscode" />-->
|
|
|
<!--<result column="SHIPPERNAME" jdbcType="VARCHAR" property="shippername" />-->
|
|
|
<!--<result column="SHIPPERCITY" jdbcType="VARCHAR" property="shippercity" />-->
|
|
|
<!--<result column="SHIPPERADDRESS" jdbcType="VARCHAR" property="shipperaddress" />-->
|
|
|
<!--<result column="CONSIGNEENAME" jdbcType="VARCHAR" property="consigneename" />-->
|
|
|
<!--<result column="CONSIGNEECITY" jdbcType="VARCHAR" property="consigneecity" />-->
|
|
|
<!--<result column="CONSIGNEEADDRESS" jdbcType="VARCHAR" property="consigneeaddress" />-->
|
|
|
<!--<result column="RECEIPTINFORMATION" jdbcType="VARCHAR" property="receiptinformation" />-->
|
|
|
<!--<result column="AGENTCODE" jdbcType="VARCHAR" property="agentcode" />-->
|
|
|
<!--<result column="AGENTNAME" jdbcType="VARCHAR" property="agentname" />-->
|
|
|
<!--<result column="STATUS" jdbcType="VARCHAR" property="status" />-->
|
|
|
<!--<result column="SHIPPER_CODE" jdbcType="VARCHAR" property="shipperCode" />-->
|
|
|
<!--<result column="SHIPPER_COUNTRYCODE" jdbcType="VARCHAR" property="shipperCountrycode" />-->
|
|
|
<!--<result column="SHIPPER_PHONE" jdbcType="VARCHAR" property="shipperPhone" />-->
|
|
|
<!--<result column="SHIPPER_FAX" jdbcType="VARCHAR" property="shipperFax" />-->
|
|
|
<!--<result column="CONSIGNEE_CODE" jdbcType="VARCHAR" property="consigneeCode" />-->
|
|
|
<!--<result column="CONSIGNEE_COUNTRYCODE" jdbcType="VARCHAR" property="consigneeCountrycode" />-->
|
|
|
<!--<result column="CONSIGNEE_PHONE" jdbcType="VARCHAR" property="consigneePhone" />-->
|
|
|
<!--<result column="CONSIGNEE_FAX" jdbcType="VARCHAR" property="consigneeFax" />-->
|
|
|
<!--<result column="SHIPPER_AEO" jdbcType="VARCHAR" property="shipperAeo" />-->
|
|
|
<!--<result column="CONSIGNEE_AEO" jdbcType="VARCHAR" property="consigneeAeo" />-->
|
|
|
<!--<result column="UNLOADINGSTATION" jdbcType="VARCHAR" property="unloadingstation" />-->
|
|
|
<!--</resultMap>-->
|
|
|
<!--<insert id="insert" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">-->
|
|
|
<!--insert into PREPARESECONDARY (AUTOID, WAYBILLNOMASTER, WAYBILLNOSECONDARY, -->
|
|
|
<!--TOTALWEIGHT, TOTALPIECE, PREPAREPIECE, -->
|
|
|
<!--PREPAREWEIGHT, CREATEDATE, PREPAREMASTERID, -->
|
|
|
<!--CARRIER, FLIGHTNO, FLIGHTDATE, -->
|
|
|
<!--ORIGINATINGSTATION, DESTINATIONSTATION, -->
|
|
|
<!--CUSTOMSSTATUS, PAYMODE, PRODUCTNAME, -->
|
|
|
<!--STOWAGEDATE, CUSTOMSCODE, SHIPPERNAME, -->
|
|
|
<!--SHIPPERCITY, SHIPPERADDRESS, CONSIGNEENAME, -->
|
|
|
<!--CONSIGNEECITY, CONSIGNEEADDRESS, RECEIPTINFORMATION, -->
|
|
|
<!--AGENTCODE, AGENTNAME, STATUS, -->
|
|
|
<!--SHIPPER_CODE, SHIPPER_COUNTRYCODE, SHIPPER_PHONE, -->
|
|
|
<!--SHIPPER_FAX, CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE, -->
|
|
|
<!--CONSIGNEE_PHONE, CONSIGNEE_FAX, SHIPPER_AEO, -->
|
|
|
<!--CONSIGNEE_AEO, UNLOADINGSTATION)-->
|
|
|
<!--values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR}, -->
|
|
|
<!--#{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR}, #{preparepiece,jdbcType=VARCHAR}, -->
|
|
|
<!--#{prepareweight,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP}, #{preparemasterid,jdbcType=VARCHAR}, -->
|
|
|
<!--#{carrier,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{flightdate,jdbcType=TIMESTAMP}, -->
|
|
|
<!--#{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR}, -->
|
|
|
<!--#{customsstatus,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, -->
|
|
|
<!--#{stowagedate,jdbcType=TIMESTAMP}, #{customscode,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR}, -->
|
|
|
<!--#{shippercity,jdbcType=VARCHAR}, #{shipperaddress,jdbcType=VARCHAR}, #{consigneename,jdbcType=VARCHAR}, -->
|
|
|
<!--#{consigneecity,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR}, #{receiptinformation,jdbcType=VARCHAR}, -->
|
|
|
<!--#{agentcode,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, -->
|
|
|
<!--#{shipperCode,jdbcType=VARCHAR}, #{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR}, -->
|
|
|
<!--#{shipperFax,jdbcType=VARCHAR}, #{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR}, -->
|
|
|
<!--#{consigneePhone,jdbcType=VARCHAR}, #{consigneeFax,jdbcType=VARCHAR}, #{shipperAeo,jdbcType=VARCHAR}, -->
|
|
|
<!--#{consigneeAeo,jdbcType=VARCHAR}, #{unloadingstation,jdbcType=VARCHAR})-->
|
|
|
<!--</insert>-->
|
|
|
<!--<insert id="insertSelective" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">-->
|
|
|
<!--insert into PREPARESECONDARY-->
|
|
|
<!--<trim prefix="(" suffix=")" suffixOverrides=",">-->
|
|
|
<!--<if test="autoid != null">-->
|
|
|
<!--AUTOID,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="waybillnomaster != null">-->
|
|
|
<!--WAYBILLNOMASTER,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="waybillnosecondary != null">-->
|
|
|
<!--WAYBILLNOSECONDARY,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="totalweight != null">-->
|
|
|
<!--TOTALWEIGHT,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="totalpiece != null">-->
|
|
|
<!--TOTALPIECE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="preparepiece != null">-->
|
|
|
<!--PREPAREPIECE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="prepareweight != null">-->
|
|
|
<!--PREPAREWEIGHT,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="createdate != null">-->
|
|
|
<!--CREATEDATE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="preparemasterid != null">-->
|
|
|
<!--PREPAREMASTERID,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="carrier != null">-->
|
|
|
<!--CARRIER,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="flightno != null">-->
|
|
|
<!--FLIGHTNO,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="flightdate != null">-->
|
|
|
<!--FLIGHTDATE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="originatingstation != null">-->
|
|
|
<!--ORIGINATINGSTATION,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="destinationstation != null">-->
|
|
|
<!--DESTINATIONSTATION,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="customsstatus != null">-->
|
|
|
<!--CUSTOMSSTATUS,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="paymode != null">-->
|
|
|
<!--PAYMODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="productname != null">-->
|
|
|
<!--PRODUCTNAME,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="stowagedate != null">-->
|
|
|
<!--STOWAGEDATE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="customscode != null">-->
|
|
|
<!--CUSTOMSCODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shippername != null">-->
|
|
|
<!--SHIPPERNAME,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shippercity != null">-->
|
|
|
<!--SHIPPERCITY,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperaddress != null">-->
|
|
|
<!--SHIPPERADDRESS,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneename != null">-->
|
|
|
<!--CONSIGNEENAME,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneecity != null">-->
|
|
|
<!--CONSIGNEECITY,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeaddress != null">-->
|
|
|
<!--CONSIGNEEADDRESS,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="receiptinformation != null">-->
|
|
|
<!--RECEIPTINFORMATION,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="agentcode != null">-->
|
|
|
<!--AGENTCODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="agentname != null">-->
|
|
|
<!--AGENTNAME,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="status != null">-->
|
|
|
<!--STATUS,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperCode != null">-->
|
|
|
<!--SHIPPER_CODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperCountrycode != null">-->
|
|
|
<!--SHIPPER_COUNTRYCODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperPhone != null">-->
|
|
|
<!--SHIPPER_PHONE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperFax != null">-->
|
|
|
<!--SHIPPER_FAX,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeCode != null">-->
|
|
|
<!--CONSIGNEE_CODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeCountrycode != null">-->
|
|
|
<!--CONSIGNEE_COUNTRYCODE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneePhone != null">-->
|
|
|
<!--CONSIGNEE_PHONE,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeFax != null">-->
|
|
|
<!--CONSIGNEE_FAX,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperAeo != null">-->
|
|
|
<!--SHIPPER_AEO,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeAeo != null">-->
|
|
|
<!--CONSIGNEE_AEO,-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="unloadingstation != null">-->
|
|
|
<!--UNLOADINGSTATION,-->
|
|
|
<!--</if>-->
|
|
|
<!--</trim>-->
|
|
|
<!--<trim prefix="values (" suffix=")" suffixOverrides=",">-->
|
|
|
<!--<if test="autoid != null">-->
|
|
|
<!--#{autoid,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="waybillnomaster != null">-->
|
|
|
<!--#{waybillnomaster,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="waybillnosecondary != null">-->
|
|
|
<!--#{waybillnosecondary,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="totalweight != null">-->
|
|
|
<!--#{totalweight,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="totalpiece != null">-->
|
|
|
<!--#{totalpiece,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="preparepiece != null">-->
|
|
|
<!--#{preparepiece,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="prepareweight != null">-->
|
|
|
<!--#{prepareweight,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="createdate != null">-->
|
|
|
<!--#{createdate,jdbcType=TIMESTAMP},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="preparemasterid != null">-->
|
|
|
<!--#{preparemasterid,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="carrier != null">-->
|
|
|
<!--#{carrier,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="flightno != null">-->
|
|
|
<!--#{flightno,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="flightdate != null">-->
|
|
|
<!--#{flightdate,jdbcType=TIMESTAMP},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="originatingstation != null">-->
|
|
|
<!--#{originatingstation,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="destinationstation != null">-->
|
|
|
<!--#{destinationstation,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="customsstatus != null">-->
|
|
|
<!--#{customsstatus,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="paymode != null">-->
|
|
|
<!--#{paymode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="productname != null">-->
|
|
|
<!--#{productname,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="stowagedate != null">-->
|
|
|
<!--#{stowagedate,jdbcType=TIMESTAMP},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="customscode != null">-->
|
|
|
<!--#{customscode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shippername != null">-->
|
|
|
<!--#{shippername,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shippercity != null">-->
|
|
|
<!--#{shippercity,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperaddress != null">-->
|
|
|
<!--#{shipperaddress,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneename != null">-->
|
|
|
<!--#{consigneename,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneecity != null">-->
|
|
|
<!--#{consigneecity,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeaddress != null">-->
|
|
|
<!--#{consigneeaddress,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="receiptinformation != null">-->
|
|
|
<!--#{receiptinformation,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="agentcode != null">-->
|
|
|
<!--#{agentcode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="agentname != null">-->
|
|
|
<!--#{agentname,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="status != null">-->
|
|
|
<!--#{status,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperCode != null">-->
|
|
|
<!--#{shipperCode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperCountrycode != null">-->
|
|
|
<!--#{shipperCountrycode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperPhone != null">-->
|
|
|
<!--#{shipperPhone,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperFax != null">-->
|
|
|
<!--#{shipperFax,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeCode != null">-->
|
|
|
<!--#{consigneeCode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeCountrycode != null">-->
|
|
|
<!--#{consigneeCountrycode,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneePhone != null">-->
|
|
|
<!--#{consigneePhone,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeFax != null">-->
|
|
|
<!--#{consigneeFax,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="shipperAeo != null">-->
|
|
|
<!--#{shipperAeo,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="consigneeAeo != null">-->
|
|
|
<!--#{consigneeAeo,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--<if test="unloadingstation != null">-->
|
|
|
<!--#{unloadingstation,jdbcType=VARCHAR},-->
|
|
|
<!--</if>-->
|
|
|
<!--</trim>-->
|
|
|
<!--</insert>-->
|
|
|
|
|
|
|
|
|
<update id="updateRECEIPTION" parameterType="com.tianbo.analysis.model.PREPARESECONDARY" >
|
...
|
...
|
|