|
|
<?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.PREPARESECONDARYMapper" >
|
|
|
<resultMap id="BaseResultMap" type="com.tianbo.analysis.model.PREPARESECONDARY" >
|
|
|
<id column="AUTOID" property="autoid" jdbcType="VARCHAR" />
|
|
|
<result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" />
|
|
|
<result column="WAYBILLNOSECONDARY" property="waybillnosecondary" jdbcType="VARCHAR" />
|
|
|
<result column="TOTALWEIGHT" property="totalweight" jdbcType="VARCHAR" />
|
|
|
<result column="TOTALPIECE" property="totalpiece" jdbcType="VARCHAR" />
|
|
|
<result column="PREPAREPIECE" property="preparepiece" jdbcType="VARCHAR" />
|
|
|
<result column="PREPAREWEIGHT" property="prepareweight" jdbcType="VARCHAR" />
|
|
|
<result column="CREATEDATE" property="createdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="PREPAREMASTERID" property="preparemasterid" jdbcType="VARCHAR" />
|
|
|
<result column="CARRIER" property="carrier" jdbcType="VARCHAR" />
|
|
|
<result column="FLIGHTNO" property="flightno" jdbcType="VARCHAR" />
|
|
|
<result column="FLIGHTDATE" property="flightdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="ORIGINATINGSTATION" property="originatingstation" jdbcType="VARCHAR" />
|
|
|
<result column="DESTINATIONSTATION" property="destinationstation" jdbcType="VARCHAR" />
|
|
|
<result column="CUSTOMSSTATUS" property="customsstatus" jdbcType="VARCHAR" />
|
|
|
<result column="PAYMODE" property="paymode" jdbcType="VARCHAR" />
|
|
|
<result column="PRODUCTNAME" property="productname" jdbcType="VARCHAR" />
|
|
|
<result column="STOWAGEDATE" property="stowagedate" jdbcType="TIMESTAMP" />
|
|
|
<result column="CUSTOMSCODE" property="customscode" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPERNAME" property="shippername" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPERCITY" property="shippercity" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPERADDRESS" property="shipperaddress" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEENAME" property="consigneename" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEECITY" property="consigneecity" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEEADDRESS" property="consigneeaddress" jdbcType="VARCHAR" />
|
|
|
<result column="RECEIPTINFORMATION" property="receiptinformation" jdbcType="VARCHAR" />
|
|
|
<result column="AGENTCODE" property="agentcode" jdbcType="VARCHAR" />
|
|
|
<result column="AGENTNAME" property="agentname" jdbcType="VARCHAR" />
|
|
|
<result column="STATUS" property="status" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPER_CODE" property="shipperCode" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPER_COUNTRYCODE" property="shipperCountrycode" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPER_PHONE" property="shipperPhone" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPER_FAX" property="shipperFax" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEE_CODE" property="consigneeCode" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEE_COUNTRYCODE" property="consigneeCountrycode" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEE_PHONE" property="consigneePhone" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEE_FAX" property="consigneeFax" jdbcType="VARCHAR" />
|
|
|
<result column="SHIPPER_AEO" property="shipperAeo" jdbcType="VARCHAR" />
|
|
|
<result column="CONSIGNEE_AEO" property="consigneeAeo" jdbcType="VARCHAR" />
|
|
|
<result column="UNLOADINGSTATION" property="unloadingstation" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
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
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from CGONMS.PREPARESECONDARY
|
|
|
where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectByMasterKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from CGONMS.PREPARESECONDARY
|
|
|
where PREPAREMASTERID = #{preparemasterid,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
delete from CGONMS.PREPARESECONDARY
|
|
|
where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.PREPARESECONDARY" >
|
|
|
insert into CGONMS.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 CGONMS.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="updateByPrimaryKeySelective" parameterType="com.tianbo.analysis.model.PREPARESECONDARY" >
|
|
|
update CGONMS.PREPARESECONDARY
|
|
|
<set >
|
|
|
<if test="waybillnomaster != null" >
|
|
|
WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="waybillnosecondary != null" >
|
|
|
WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="totalweight != null" >
|
|
|
TOTALWEIGHT = #{totalweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="totalpiece != null" >
|
|
|
TOTALPIECE = #{totalpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="preparepiece != null" >
|
|
|
PREPAREPIECE = #{preparepiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="prepareweight != null" >
|
|
|
PREPAREWEIGHT = #{prepareweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createdate != null" >
|
|
|
CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="preparemasterid != null" >
|
|
|
PREPAREMASTERID = #{preparemasterid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier != null" >
|
|
|
CARRIER = #{carrier,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="flightno != null" >
|
|
|
FLIGHTNO = #{flightno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="flightdate != null" >
|
|
|
FLIGHTDATE = #{flightdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="originatingstation != null" >
|
|
|
ORIGINATINGSTATION = #{originatingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstation != null" >
|
|
|
DESTINATIONSTATION = #{destinationstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null" >
|
|
|
CUSTOMSSTATUS = #{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="paymode != null" >
|
|
|
PAYMODE = #{paymode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="productname != null" >
|
|
|
PRODUCTNAME = #{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="stowagedate != null" >
|
|
|
STOWAGEDATE = #{stowagedate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="customscode != null" >
|
|
|
CUSTOMSCODE = #{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shippername != null" >
|
|
|
SHIPPERNAME = #{shippername,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shippercity != null" >
|
|
|
SHIPPERCITY = #{shippercity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperaddress != null" >
|
|
|
SHIPPERADDRESS = #{shipperaddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneename != null" >
|
|
|
CONSIGNEENAME = #{consigneename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneecity != null" >
|
|
|
CONSIGNEECITY = #{consigneecity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeaddress != null" >
|
|
|
CONSIGNEEADDRESS = #{consigneeaddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="receiptinformation != null" >
|
|
|
RECEIPTINFORMATION = #{receiptinformation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentcode != null" >
|
|
|
AGENTCODE = #{agentcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentname != null" >
|
|
|
AGENTNAME = #{agentname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null" >
|
|
|
STATUS = #{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperCode != null" >
|
|
|
SHIPPER_CODE = #{shipperCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperCountrycode != null" >
|
|
|
SHIPPER_COUNTRYCODE = #{shipperCountrycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperPhone != null" >
|
|
|
SHIPPER_PHONE = #{shipperPhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperFax != null" >
|
|
|
SHIPPER_FAX = #{shipperFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeCode != null" >
|
|
|
CONSIGNEE_CODE = #{consigneeCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeCountrycode != null" >
|
|
|
CONSIGNEE_COUNTRYCODE = #{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneePhone != null" >
|
|
|
CONSIGNEE_PHONE = #{consigneePhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeFax != null" >
|
|
|
CONSIGNEE_FAX = #{consigneeFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperAeo != null" >
|
|
|
SHIPPER_AEO = #{shipperAeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeAeo != null" >
|
|
|
CONSIGNEE_AEO = #{consigneeAeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="unloadingstation != null" >
|
|
|
UNLOADINGSTATION = #{unloadingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tianbo.analysis.model.PREPARESECONDARY" >
|
|
|
update CGONMS.PREPARESECONDARY
|
|
|
set WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR},
|
|
|
WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
TOTALWEIGHT = #{totalweight,jdbcType=VARCHAR},
|
|
|
TOTALPIECE = #{totalpiece,jdbcType=VARCHAR},
|
|
|
PREPAREPIECE = #{preparepiece,jdbcType=VARCHAR},
|
|
|
PREPAREWEIGHT = #{prepareweight,jdbcType=VARCHAR},
|
|
|
CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
|
|
|
PREPAREMASTERID = #{preparemasterid,jdbcType=VARCHAR},
|
|
|
CARRIER = #{carrier,jdbcType=VARCHAR},
|
|
|
FLIGHTNO = #{flightno,jdbcType=VARCHAR},
|
|
|
FLIGHTDATE = #{flightdate,jdbcType=TIMESTAMP},
|
|
|
ORIGINATINGSTATION = #{originatingstation,jdbcType=VARCHAR},
|
|
|
DESTINATIONSTATION = #{destinationstation,jdbcType=VARCHAR},
|
|
|
CUSTOMSSTATUS = #{customsstatus,jdbcType=VARCHAR},
|
|
|
PAYMODE = #{paymode,jdbcType=VARCHAR},
|
|
|
PRODUCTNAME = #{productname,jdbcType=VARCHAR},
|
|
|
STOWAGEDATE = #{stowagedate,jdbcType=TIMESTAMP},
|
|
|
CUSTOMSCODE = #{customscode,jdbcType=VARCHAR},
|
|
|
SHIPPERNAME = #{shippername,jdbcType=VARCHAR},
|
|
|
SHIPPERCITY = #{shippercity,jdbcType=VARCHAR},
|
|
|
SHIPPERADDRESS = #{shipperaddress,jdbcType=VARCHAR},
|
|
|
CONSIGNEENAME = #{consigneename,jdbcType=VARCHAR},
|
|
|
CONSIGNEECITY = #{consigneecity,jdbcType=VARCHAR},
|
|
|
CONSIGNEEADDRESS = #{consigneeaddress,jdbcType=VARCHAR},
|
|
|
RECEIPTINFORMATION = #{receiptinformation,jdbcType=VARCHAR},
|
|
|
AGENTCODE = #{agentcode,jdbcType=VARCHAR},
|
|
|
AGENTNAME = #{agentname,jdbcType=VARCHAR},
|
|
|
STATUS = #{status,jdbcType=VARCHAR},
|
|
|
SHIPPER_CODE = #{shipperCode,jdbcType=VARCHAR},
|
|
|
SHIPPER_COUNTRYCODE = #{shipperCountrycode,jdbcType=VARCHAR},
|
|
|
SHIPPER_PHONE = #{shipperPhone,jdbcType=VARCHAR},
|
|
|
SHIPPER_FAX = #{shipperFax,jdbcType=VARCHAR},
|
|
|
CONSIGNEE_CODE = #{consigneeCode,jdbcType=VARCHAR},
|
|
|
CONSIGNEE_COUNTRYCODE = #{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
CONSIGNEE_PHONE = #{consigneePhone,jdbcType=VARCHAR},
|
|
|
CONSIGNEE_FAX = #{consigneeFax,jdbcType=VARCHAR},
|
|
|
SHIPPER_AEO = #{shipperAeo,jdbcType=VARCHAR},
|
|
|
CONSIGNEE_AEO = #{consigneeAeo,jdbcType=VARCHAR},
|
|
|
UNLOADINGSTATION = #{unloadingstation,jdbcType=VARCHAR}
|
|
|
where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper> |
...
|
...
|
|