|
|
<?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="ID" jdbcType="DECIMAL" property="id" />
|
|
|
<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="PRODUCTNAME" jdbcType="VARCHAR" property="productname" />
|
|
|
<result column="STOWAGEDATE" jdbcType="TIMESTAMP" property="stowagedate" />
|
|
|
<result column="CREATEDATE" jdbcType="TIMESTAMP" property="createdate" />
|
|
|
<result column="PREPAREMASTERID" jdbcType="DECIMAL" property="preparemasterid" />
|
|
|
<result column="AUTOID" jdbcType="DECIMAL" property="autoid" />
|
|
|
<result column="MODIFY_DATE" jdbcType="TIMESTAMP" property="modifyDate" />
|
|
|
<result column="MODIFIER" jdbcType="DECIMAL" property="modifier" />
|
|
|
<result column="IS_DELETE" jdbcType="DECIMAL" property="isDelete" />
|
|
|
<result column="CREATOR" jdbcType="DECIMAL" property="creator" />
|
|
|
<result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
|
|
|
<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="AGENTCOMPANYCODE" jdbcType="VARCHAR" property="agentcompanycode" />
|
|
|
<result column="STATUS" jdbcType="VARCHAR" property="status" />
|
|
|
<result column="CARRIER" jdbcType="VARCHAR" property="carrier" />
|
|
|
<result column="CUSTOMSSTATUS" jdbcType="VARCHAR" property="customsstatus" />
|
|
|
<result column="PAYMODE" jdbcType="VARCHAR" property="paymode" />
|
|
|
<result column="SPECIALGOODSCODE" jdbcType="VARCHAR" property="specialgoodscode" />
|
|
|
<result column="CUSTOMSCODE" jdbcType="VARCHAR" property="customscode" />
|
|
|
<result column="AGENTMAN" jdbcType="VARCHAR" property="agentman" />
|
|
|
<result column="AGENTCOMPANY" jdbcType="VARCHAR" property="agentcompany" />
|
|
|
<result column="RECEIPTINFORMATION" jdbcType="VARCHAR" property="receiptinformation" />
|
|
|
<result column="UNNUMBER" jdbcType="VARCHAR" property="unnumber" />
|
|
|
<result column="CATEGORY" jdbcType="VARCHAR" property="category" />
|
|
|
<result column="SH_COMPANY" jdbcType="VARCHAR" property="shCompany" />
|
|
|
<result column="SH_ADDRESS" jdbcType="VARCHAR" property="shAddress" />
|
|
|
<result column="SH_ZIPCODE" jdbcType="VARCHAR" property="shZipcode" />
|
|
|
<result column="SH_CITY" jdbcType="VARCHAR" property="shCity" />
|
|
|
<result column="SH_DELTANAME" jdbcType="VARCHAR" property="shDeltaname" />
|
|
|
<result column="SH_COUNTRY" jdbcType="VARCHAR" property="shCountry" />
|
|
|
<result column="SH_TELEPHONE" jdbcType="VARCHAR" property="shTelephone" />
|
|
|
<result column="SH_FAX" jdbcType="VARCHAR" property="shFax" />
|
|
|
<result column="SH_NAME" jdbcType="VARCHAR" property="shName" />
|
|
|
<result column="CO_COMPANY" jdbcType="VARCHAR" property="coCompany" />
|
|
|
<result column="CO_ADDRESS" jdbcType="VARCHAR" property="coAddress" />
|
|
|
<result column="CO_ZIPCODE" jdbcType="VARCHAR" property="coZipcode" />
|
|
|
<result column="CO_CITY" jdbcType="VARCHAR" property="coCity" />
|
|
|
<result column="CO_DELTANAME" jdbcType="VARCHAR" property="coDeltaname" />
|
|
|
<result column="CO_COUNTRY" jdbcType="VARCHAR" property="coCountry" />
|
|
|
<result column="CO_TELEPHONE" jdbcType="VARCHAR" property="coTelephone" />
|
|
|
<result column="CO_FAX" jdbcType="VARCHAR" property="coFax" />
|
|
|
<result column="CO_NAME" jdbcType="VARCHAR" property="coName" />
|
|
|
<result column="REACH_STATION" jdbcType="VARCHAR" property="reachStation" />
|
|
|
<result column="CARRIER1" jdbcType="VARCHAR" property="carrier1" />
|
|
|
<result column="REACH_STATION1" jdbcType="VARCHAR" property="reachStation1" />
|
|
|
<result column="CARRIER2" jdbcType="VARCHAR" property="carrier2" />
|
|
|
<result column="REACH_STATION2" jdbcType="VARCHAR" property="reachStation2" />
|
|
|
<result column="NAME_OFGOODS" jdbcType="VARCHAR" property="nameOfgoods" />
|
|
|
<result column="DELIVERY_STATION" jdbcType="VARCHAR" property="deliveryStation" />
|
|
|
<result column="SH_PROVINCECODE" jdbcType="VARCHAR" property="shProvincecode" />
|
|
|
<result column="SH_PROVINCENAME" jdbcType="VARCHAR" property="shProvincename" />
|
|
|
<result column="DE_NUMBER" jdbcType="VARCHAR" property="deNumber" />
|
|
|
<result column="DE_WEIGHT" jdbcType="VARCHAR" property="deWeight" />
|
|
|
<result column="DE_CHWEIGHT" jdbcType="VARCHAR" property="deChweight" />
|
|
|
<result column="DE_SIZE" jdbcType="VARCHAR" property="deSize" />
|
|
|
<result column="DE_VOLUME" jdbcType="VARCHAR" property="deVolume" />
|
|
|
<result column="DE_TYPE" jdbcType="VARCHAR" property="deType" />
|
|
|
<result column="DE_TRSTATION" jdbcType="VARCHAR" property="deTrstation" />
|
|
|
<result column="DE_PACKING" jdbcType="VARCHAR" property="dePacking" />
|
|
|
<result column="DE_REMARKS" jdbcType="VARCHAR" property="deRemarks" />
|
|
|
<result column="DE_IDS" jdbcType="DECIMAL" property="deIds" />
|
|
|
<result column="RESPONSE_CODE" jdbcType="CHAR" property="responseCode" />
|
|
|
<result column="RESPONSE_TEXT" jdbcType="CHAR" property="responseText" />
|
|
|
<result column="SAVE_TIME" jdbcType="DECIMAL" property="saveTime" />
|
|
|
<result column="USER_ID" jdbcType="DECIMAL" property="userId" />
|
|
|
<result column="SHPAEO" jdbcType="VARCHAR" property="shpaeo" />
|
|
|
<result column="CNEAEO" jdbcType="VARCHAR" property="cneaeo" />
|
|
|
<result column="SHPCUSID" jdbcType="VARCHAR" property="shpcusid" />
|
|
|
<result column="CNECUSID" jdbcType="VARCHAR" property="cnecusid" />
|
|
|
<result column="UNLODINGCODE" jdbcType="VARCHAR" property="unlodingcode" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
ID, WAYBILLNOMASTER, WAYBILLNOSECONDARY, TOTALWEIGHT, TOTALPIECE, PREPAREPIECE, PREPAREWEIGHT,
|
|
|
PRODUCTNAME, STOWAGEDATE, CREATEDATE, PREPAREMASTERID, AUTOID, MODIFY_DATE, MODIFIER,
|
|
|
IS_DELETE, CREATOR, CREATE_DATE, FLIGHTNO, FLIGHTDATE, ORIGINATINGSTATION, DESTINATIONSTATION,
|
|
|
AGENTCOMPANYCODE, STATUS, CARRIER, CUSTOMSSTATUS, PAYMODE, SPECIALGOODSCODE, CUSTOMSCODE,
|
|
|
AGENTMAN, AGENTCOMPANY, RECEIPTINFORMATION, UNNUMBER, CATEGORY, SH_COMPANY, SH_ADDRESS,
|
|
|
SH_ZIPCODE, SH_CITY, SH_DELTANAME, SH_COUNTRY, SH_TELEPHONE, SH_FAX, SH_NAME, CO_COMPANY,
|
|
|
CO_ADDRESS, CO_ZIPCODE, CO_CITY, CO_DELTANAME, CO_COUNTRY, CO_TELEPHONE, CO_FAX,
|
|
|
CO_NAME, REACH_STATION, CARRIER1, REACH_STATION1, CARRIER2, REACH_STATION2, NAME_OFGOODS,
|
|
|
DELIVERY_STATION, SH_PROVINCECODE, SH_PROVINCENAME, DE_NUMBER, DE_WEIGHT, DE_CHWEIGHT,
|
|
|
DE_SIZE, DE_VOLUME, DE_TYPE, DE_TRSTATION, DE_PACKING, DE_REMARKS, DE_IDS, RESPONSE_CODE,
|
|
|
RESPONSE_TEXT, SAVE_TIME, USER_ID, SHPAEO, CNEAEO, SHPCUSID, CNECUSID, UNLODINGCODE
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Short" resultMap="BaseResultMap">
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from PREPARESECONDARY
|
|
|
where ID = #{id,jdbcType=DECIMAL}
|
|
|
</select>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
|
|
|
delete from PREPARESECONDARY
|
|
|
where ID = #{id,jdbcType=DECIMAL}
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
insert into PREPARESECONDARY (ID, WAYBILLNOMASTER, WAYBILLNOSECONDARY,
|
|
|
TOTALWEIGHT, TOTALPIECE, PREPAREPIECE,
|
|
|
PREPAREWEIGHT, PRODUCTNAME, STOWAGEDATE,
|
|
|
CREATEDATE, PREPAREMASTERID, AUTOID,
|
|
|
MODIFY_DATE, MODIFIER, IS_DELETE,
|
|
|
CREATOR, CREATE_DATE, FLIGHTNO,
|
|
|
FLIGHTDATE, ORIGINATINGSTATION, DESTINATIONSTATION,
|
|
|
AGENTCOMPANYCODE, STATUS, CARRIER,
|
|
|
CUSTOMSSTATUS, PAYMODE, SPECIALGOODSCODE,
|
|
|
CUSTOMSCODE, AGENTMAN, AGENTCOMPANY,
|
|
|
RECEIPTINFORMATION, UNNUMBER, CATEGORY,
|
|
|
SH_COMPANY, SH_ADDRESS, SH_ZIPCODE,
|
|
|
SH_CITY, SH_DELTANAME, SH_COUNTRY,
|
|
|
SH_TELEPHONE, SH_FAX, SH_NAME,
|
|
|
CO_COMPANY, CO_ADDRESS, CO_ZIPCODE,
|
|
|
CO_CITY, CO_DELTANAME, CO_COUNTRY,
|
|
|
CO_TELEPHONE, CO_FAX, CO_NAME,
|
|
|
REACH_STATION, CARRIER1, REACH_STATION1,
|
|
|
CARRIER2, REACH_STATION2, NAME_OFGOODS,
|
|
|
DELIVERY_STATION, SH_PROVINCECODE, SH_PROVINCENAME,
|
|
|
DE_NUMBER, DE_WEIGHT, DE_CHWEIGHT,
|
|
|
DE_SIZE, DE_VOLUME, DE_TYPE,
|
|
|
DE_TRSTATION, DE_PACKING, DE_REMARKS,
|
|
|
DE_IDS, RESPONSE_CODE, RESPONSE_TEXT,
|
|
|
SAVE_TIME, USER_ID, SHPAEO,
|
|
|
CNEAEO, SHPCUSID, CNECUSID,
|
|
|
UNLODINGCODE)
|
|
|
values (#{id,jdbcType=DECIMAL}, #{waybillnomaster,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
#{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR}, #{preparepiece,jdbcType=VARCHAR},
|
|
|
#{prepareweight,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{stowagedate,jdbcType=TIMESTAMP},
|
|
|
#{createdate,jdbcType=TIMESTAMP}, #{preparemasterid,jdbcType=DECIMAL}, #{autoid,jdbcType=DECIMAL},
|
|
|
#{modifyDate,jdbcType=TIMESTAMP}, #{modifier,jdbcType=DECIMAL}, #{isDelete,jdbcType=DECIMAL},
|
|
|
#{creator,jdbcType=DECIMAL}, #{createDate,jdbcType=TIMESTAMP}, #{flightno,jdbcType=VARCHAR},
|
|
|
#{flightdate,jdbcType=TIMESTAMP}, #{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR},
|
|
|
#{agentcompanycode,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{carrier,jdbcType=VARCHAR},
|
|
|
#{customsstatus,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{specialgoodscode,jdbcType=VARCHAR},
|
|
|
#{customscode,jdbcType=VARCHAR}, #{agentman,jdbcType=VARCHAR}, #{agentcompany,jdbcType=VARCHAR},
|
|
|
#{receiptinformation,jdbcType=VARCHAR}, #{unnumber,jdbcType=VARCHAR}, #{category,jdbcType=VARCHAR},
|
|
|
#{shCompany,jdbcType=VARCHAR}, #{shAddress,jdbcType=VARCHAR}, #{shZipcode,jdbcType=VARCHAR},
|
|
|
#{shCity,jdbcType=VARCHAR}, #{shDeltaname,jdbcType=VARCHAR}, #{shCountry,jdbcType=VARCHAR},
|
|
|
#{shTelephone,jdbcType=VARCHAR}, #{shFax,jdbcType=VARCHAR}, #{shName,jdbcType=VARCHAR},
|
|
|
#{coCompany,jdbcType=VARCHAR}, #{coAddress,jdbcType=VARCHAR}, #{coZipcode,jdbcType=VARCHAR},
|
|
|
#{coCity,jdbcType=VARCHAR}, #{coDeltaname,jdbcType=VARCHAR}, #{coCountry,jdbcType=VARCHAR},
|
|
|
#{coTelephone,jdbcType=VARCHAR}, #{coFax,jdbcType=VARCHAR}, #{coName,jdbcType=VARCHAR},
|
|
|
#{reachStation,jdbcType=VARCHAR}, #{carrier1,jdbcType=VARCHAR}, #{reachStation1,jdbcType=VARCHAR},
|
|
|
#{carrier2,jdbcType=VARCHAR}, #{reachStation2,jdbcType=VARCHAR}, #{nameOfgoods,jdbcType=VARCHAR},
|
|
|
#{deliveryStation,jdbcType=VARCHAR}, #{shProvincecode,jdbcType=VARCHAR}, #{shProvincename,jdbcType=VARCHAR},
|
|
|
#{deNumber,jdbcType=VARCHAR}, #{deWeight,jdbcType=VARCHAR}, #{deChweight,jdbcType=VARCHAR},
|
|
|
#{deSize,jdbcType=VARCHAR}, #{deVolume,jdbcType=VARCHAR}, #{deType,jdbcType=VARCHAR},
|
|
|
#{deTrstation,jdbcType=VARCHAR}, #{dePacking,jdbcType=VARCHAR}, #{deRemarks,jdbcType=VARCHAR},
|
|
|
#{deIds,jdbcType=DECIMAL}, #{responseCode,jdbcType=CHAR}, #{responseText,jdbcType=CHAR},
|
|
|
#{saveTime,jdbcType=DECIMAL}, #{userId,jdbcType=DECIMAL}, #{shpaeo,jdbcType=VARCHAR},
|
|
|
#{cneaeo,jdbcType=VARCHAR}, #{shpcusid,jdbcType=VARCHAR}, #{cnecusid,jdbcType=VARCHAR},
|
|
|
#{unlodingcode,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
insert into PREPARESECONDARY
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
ID,
|
|
|
</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="productname != null">
|
|
|
PRODUCTNAME,
|
|
|
</if>
|
|
|
<if test="stowagedate != null">
|
|
|
STOWAGEDATE,
|
|
|
</if>
|
|
|
<if test="createdate != null">
|
|
|
CREATEDATE,
|
|
|
</if>
|
|
|
<if test="preparemasterid != null">
|
|
|
PREPAREMASTERID,
|
|
|
</if>
|
|
|
<if test="autoid != null">
|
|
|
AUTOID,
|
|
|
</if>
|
|
|
<if test="modifyDate != null">
|
|
|
MODIFY_DATE,
|
|
|
</if>
|
|
|
<if test="modifier != null">
|
|
|
MODIFIER,
|
|
|
</if>
|
|
|
<if test="isDelete != null">
|
|
|
IS_DELETE,
|
|
|
</if>
|
|
|
<if test="creator != null">
|
|
|
CREATOR,
|
|
|
</if>
|
|
|
<if test="createDate != null">
|
|
|
CREATE_DATE,
|
|
|
</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="agentcompanycode != null">
|
|
|
AGENTCOMPANYCODE,
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
STATUS,
|
|
|
</if>
|
|
|
<if test="carrier != null">
|
|
|
CARRIER,
|
|
|
</if>
|
|
|
<if test="customsstatus != null">
|
|
|
CUSTOMSSTATUS,
|
|
|
</if>
|
|
|
<if test="paymode != null">
|
|
|
PAYMODE,
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null">
|
|
|
SPECIALGOODSCODE,
|
|
|
</if>
|
|
|
<if test="customscode != null">
|
|
|
CUSTOMSCODE,
|
|
|
</if>
|
|
|
<if test="agentman != null">
|
|
|
AGENTMAN,
|
|
|
</if>
|
|
|
<if test="agentcompany != null">
|
|
|
AGENTCOMPANY,
|
|
|
</if>
|
|
|
<if test="receiptinformation != null">
|
|
|
RECEIPTINFORMATION,
|
|
|
</if>
|
|
|
<if test="unnumber != null">
|
|
|
UNNUMBER,
|
|
|
</if>
|
|
|
<if test="category != null">
|
|
|
CATEGORY,
|
|
|
</if>
|
|
|
<if test="shCompany != null">
|
|
|
SH_COMPANY,
|
|
|
</if>
|
|
|
<if test="shAddress != null">
|
|
|
SH_ADDRESS,
|
|
|
</if>
|
|
|
<if test="shZipcode != null">
|
|
|
SH_ZIPCODE,
|
|
|
</if>
|
|
|
<if test="shCity != null">
|
|
|
SH_CITY,
|
|
|
</if>
|
|
|
<if test="shDeltaname != null">
|
|
|
SH_DELTANAME,
|
|
|
</if>
|
|
|
<if test="shCountry != null">
|
|
|
SH_COUNTRY,
|
|
|
</if>
|
|
|
<if test="shTelephone != null">
|
|
|
SH_TELEPHONE,
|
|
|
</if>
|
|
|
<if test="shFax != null">
|
|
|
SH_FAX,
|
|
|
</if>
|
|
|
<if test="shName != null">
|
|
|
SH_NAME,
|
|
|
</if>
|
|
|
<if test="coCompany != null">
|
|
|
CO_COMPANY,
|
|
|
</if>
|
|
|
<if test="coAddress != null">
|
|
|
CO_ADDRESS,
|
|
|
</if>
|
|
|
<if test="coZipcode != null">
|
|
|
CO_ZIPCODE,
|
|
|
</if>
|
|
|
<if test="coCity != null">
|
|
|
CO_CITY,
|
|
|
</if>
|
|
|
<if test="coDeltaname != null">
|
|
|
CO_DELTANAME,
|
|
|
</if>
|
|
|
<if test="coCountry != null">
|
|
|
CO_COUNTRY,
|
|
|
</if>
|
|
|
<if test="coTelephone != null">
|
|
|
CO_TELEPHONE,
|
|
|
</if>
|
|
|
<if test="coFax != null">
|
|
|
CO_FAX,
|
|
|
</if>
|
|
|
<if test="coName != null">
|
|
|
CO_NAME,
|
|
|
</if>
|
|
|
<if test="reachStation != null">
|
|
|
REACH_STATION,
|
|
|
</if>
|
|
|
<if test="carrier1 != null">
|
|
|
CARRIER1,
|
|
|
</if>
|
|
|
<if test="reachStation1 != null">
|
|
|
REACH_STATION1,
|
|
|
</if>
|
|
|
<if test="carrier2 != null">
|
|
|
CARRIER2,
|
|
|
</if>
|
|
|
<if test="reachStation2 != null">
|
|
|
REACH_STATION2,
|
|
|
</if>
|
|
|
<if test="nameOfgoods != null">
|
|
|
NAME_OFGOODS,
|
|
|
</if>
|
|
|
<if test="deliveryStation != null">
|
|
|
DELIVERY_STATION,
|
|
|
</if>
|
|
|
<if test="shProvincecode != null">
|
|
|
SH_PROVINCECODE,
|
|
|
</if>
|
|
|
<if test="shProvincename != null">
|
|
|
SH_PROVINCENAME,
|
|
|
</if>
|
|
|
<if test="deNumber != null">
|
|
|
DE_NUMBER,
|
|
|
</if>
|
|
|
<if test="deWeight != null">
|
|
|
DE_WEIGHT,
|
|
|
</if>
|
|
|
<if test="deChweight != null">
|
|
|
DE_CHWEIGHT,
|
|
|
</if>
|
|
|
<if test="deSize != null">
|
|
|
DE_SIZE,
|
|
|
</if>
|
|
|
<if test="deVolume != null">
|
|
|
DE_VOLUME,
|
|
|
</if>
|
|
|
<if test="deType != null">
|
|
|
DE_TYPE,
|
|
|
</if>
|
|
|
<if test="deTrstation != null">
|
|
|
DE_TRSTATION,
|
|
|
</if>
|
|
|
<if test="dePacking != null">
|
|
|
DE_PACKING,
|
|
|
</if>
|
|
|
<if test="deRemarks != null">
|
|
|
DE_REMARKS,
|
|
|
</if>
|
|
|
<if test="deIds != null">
|
|
|
DE_IDS,
|
|
|
</if>
|
|
|
<if test="responseCode != null">
|
|
|
RESPONSE_CODE,
|
|
|
</if>
|
|
|
<if test="responseText != null">
|
|
|
RESPONSE_TEXT,
|
|
|
</if>
|
|
|
<if test="saveTime != null">
|
|
|
SAVE_TIME,
|
|
|
</if>
|
|
|
<if test="userId != null">
|
|
|
USER_ID,
|
|
|
</if>
|
|
|
<if test="shpaeo != null">
|
|
|
SHPAEO,
|
|
|
</if>
|
|
|
<if test="cneaeo != null">
|
|
|
CNEAEO,
|
|
|
</if>
|
|
|
<if test="shpcusid != null">
|
|
|
SHPCUSID,
|
|
|
</if>
|
|
|
<if test="cnecusid != null">
|
|
|
CNECUSID,
|
|
|
</if>
|
|
|
<if test="unlodingcode != null">
|
|
|
UNLODINGCODE,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
#{id,jdbcType=DECIMAL},
|
|
|
</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="productname != null">
|
|
|
#{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="stowagedate != null">
|
|
|
#{stowagedate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="createdate != null">
|
|
|
#{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="preparemasterid != null">
|
|
|
#{preparemasterid,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="autoid != null">
|
|
|
#{autoid,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="modifyDate != null">
|
|
|
#{modifyDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="modifier != null">
|
|
|
#{modifier,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="isDelete != null">
|
|
|
#{isDelete,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="creator != null">
|
|
|
#{creator,jdbcType=DECIMAL},
|
|
|
</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="originatingstation != null">
|
|
|
#{originatingstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstation != null">
|
|
|
#{destinationstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentcompanycode != null">
|
|
|
#{agentcompanycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier != null">
|
|
|
#{carrier,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null">
|
|
|
#{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="paymode != null">
|
|
|
#{paymode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null">
|
|
|
#{specialgoodscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customscode != null">
|
|
|
#{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentman != null">
|
|
|
#{agentman,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentcompany != null">
|
|
|
#{agentcompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="receiptinformation != null">
|
|
|
#{receiptinformation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="unnumber != null">
|
|
|
#{unnumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="category != null">
|
|
|
#{category,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shCompany != null">
|
|
|
#{shCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shAddress != null">
|
|
|
#{shAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shZipcode != null">
|
|
|
#{shZipcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shCity != null">
|
|
|
#{shCity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shDeltaname != null">
|
|
|
#{shDeltaname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shCountry != null">
|
|
|
#{shCountry,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shTelephone != null">
|
|
|
#{shTelephone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shFax != null">
|
|
|
#{shFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shName != null">
|
|
|
#{shName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coCompany != null">
|
|
|
#{coCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coAddress != null">
|
|
|
#{coAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coZipcode != null">
|
|
|
#{coZipcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coCity != null">
|
|
|
#{coCity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coDeltaname != null">
|
|
|
#{coDeltaname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coCountry != null">
|
|
|
#{coCountry,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coTelephone != null">
|
|
|
#{coTelephone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coFax != null">
|
|
|
#{coFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coName != null">
|
|
|
#{coName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reachStation != null">
|
|
|
#{reachStation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier1 != null">
|
|
|
#{carrier1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reachStation1 != null">
|
|
|
#{reachStation1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier2 != null">
|
|
|
#{carrier2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reachStation2 != null">
|
|
|
#{reachStation2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="nameOfgoods != null">
|
|
|
#{nameOfgoods,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deliveryStation != null">
|
|
|
#{deliveryStation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shProvincecode != null">
|
|
|
#{shProvincecode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shProvincename != null">
|
|
|
#{shProvincename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deNumber != null">
|
|
|
#{deNumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deWeight != null">
|
|
|
#{deWeight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deChweight != null">
|
|
|
#{deChweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deSize != null">
|
|
|
#{deSize,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deVolume != null">
|
|
|
#{deVolume,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deType != null">
|
|
|
#{deType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deTrstation != null">
|
|
|
#{deTrstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dePacking != null">
|
|
|
#{dePacking,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deRemarks != null">
|
|
|
#{deRemarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deIds != null">
|
|
|
#{deIds,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="responseCode != null">
|
|
|
#{responseCode,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="responseText != null">
|
|
|
#{responseText,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="saveTime != null">
|
|
|
#{saveTime,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="userId != null">
|
|
|
#{userId,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="shpaeo != null">
|
|
|
#{shpaeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="cneaeo != null">
|
|
|
#{cneaeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shpcusid != null">
|
|
|
#{shpcusid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="cnecusid != null">
|
|
|
#{cnecusid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="unlodingcode != null">
|
|
|
#{unlodingcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
update 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="productname != null">
|
|
|
PRODUCTNAME = #{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="stowagedate != null">
|
|
|
STOWAGEDATE = #{stowagedate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="createdate != null">
|
|
|
CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="preparemasterid != null">
|
|
|
PREPAREMASTERID = #{preparemasterid,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="autoid != null">
|
|
|
AUTOID = #{autoid,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="modifyDate != null">
|
|
|
MODIFY_DATE = #{modifyDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="modifier != null">
|
|
|
MODIFIER = #{modifier,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="isDelete != null">
|
|
|
IS_DELETE = #{isDelete,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="creator != null">
|
|
|
CREATOR = #{creator,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="createDate != null">
|
|
|
CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
|
|
|
</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="agentcompanycode != null">
|
|
|
AGENTCOMPANYCODE = #{agentcompanycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
STATUS = #{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier != null">
|
|
|
CARRIER = #{carrier,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null">
|
|
|
CUSTOMSSTATUS = #{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="paymode != null">
|
|
|
PAYMODE = #{paymode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null">
|
|
|
SPECIALGOODSCODE = #{specialgoodscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customscode != null">
|
|
|
CUSTOMSCODE = #{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentman != null">
|
|
|
AGENTMAN = #{agentman,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentcompany != null">
|
|
|
AGENTCOMPANY = #{agentcompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="receiptinformation != null">
|
|
|
RECEIPTINFORMATION = #{receiptinformation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="unnumber != null">
|
|
|
UNNUMBER = #{unnumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="category != null">
|
|
|
CATEGORY = #{category,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shCompany != null">
|
|
|
SH_COMPANY = #{shCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shAddress != null">
|
|
|
SH_ADDRESS = #{shAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shZipcode != null">
|
|
|
SH_ZIPCODE = #{shZipcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shCity != null">
|
|
|
SH_CITY = #{shCity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shDeltaname != null">
|
|
|
SH_DELTANAME = #{shDeltaname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shCountry != null">
|
|
|
SH_COUNTRY = #{shCountry,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shTelephone != null">
|
|
|
SH_TELEPHONE = #{shTelephone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shFax != null">
|
|
|
SH_FAX = #{shFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shName != null">
|
|
|
SH_NAME = #{shName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coCompany != null">
|
|
|
CO_COMPANY = #{coCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coAddress != null">
|
|
|
CO_ADDRESS = #{coAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coZipcode != null">
|
|
|
CO_ZIPCODE = #{coZipcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coCity != null">
|
|
|
CO_CITY = #{coCity,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coDeltaname != null">
|
|
|
CO_DELTANAME = #{coDeltaname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coCountry != null">
|
|
|
CO_COUNTRY = #{coCountry,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coTelephone != null">
|
|
|
CO_TELEPHONE = #{coTelephone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coFax != null">
|
|
|
CO_FAX = #{coFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coName != null">
|
|
|
CO_NAME = #{coName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reachStation != null">
|
|
|
REACH_STATION = #{reachStation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier1 != null">
|
|
|
CARRIER1 = #{carrier1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reachStation1 != null">
|
|
|
REACH_STATION1 = #{reachStation1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier2 != null">
|
|
|
CARRIER2 = #{carrier2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="reachStation2 != null">
|
|
|
REACH_STATION2 = #{reachStation2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="nameOfgoods != null">
|
|
|
NAME_OFGOODS = #{nameOfgoods,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deliveryStation != null">
|
|
|
DELIVERY_STATION = #{deliveryStation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shProvincecode != null">
|
|
|
SH_PROVINCECODE = #{shProvincecode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shProvincename != null">
|
|
|
SH_PROVINCENAME = #{shProvincename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deNumber != null">
|
|
|
DE_NUMBER = #{deNumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deWeight != null">
|
|
|
DE_WEIGHT = #{deWeight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deChweight != null">
|
|
|
DE_CHWEIGHT = #{deChweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deSize != null">
|
|
|
DE_SIZE = #{deSize,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deVolume != null">
|
|
|
DE_VOLUME = #{deVolume,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deType != null">
|
|
|
DE_TYPE = #{deType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deTrstation != null">
|
|
|
DE_TRSTATION = #{deTrstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dePacking != null">
|
|
|
DE_PACKING = #{dePacking,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deRemarks != null">
|
|
|
DE_REMARKS = #{deRemarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="deIds != null">
|
|
|
DE_IDS = #{deIds,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="responseCode != null">
|
|
|
RESPONSE_CODE = #{responseCode,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="responseText != null">
|
|
|
RESPONSE_TEXT = #{responseText,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="saveTime != null">
|
|
|
SAVE_TIME = #{saveTime,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="userId != null">
|
|
|
USER_ID = #{userId,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="shpaeo != null">
|
|
|
SHPAEO = #{shpaeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="cneaeo != null">
|
|
|
CNEAEO = #{cneaeo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shpcusid != null">
|
|
|
SHPCUSID = #{shpcusid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="cnecusid != null">
|
|
|
CNECUSID = #{cnecusid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="unlodingcode != null">
|
|
|
UNLODINGCODE = #{unlodingcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
where ID = #{id,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
update 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},
|
|
|
PRODUCTNAME = #{productname,jdbcType=VARCHAR},
|
|
|
STOWAGEDATE = #{stowagedate,jdbcType=TIMESTAMP},
|
|
|
CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
|
|
|
PREPAREMASTERID = #{preparemasterid,jdbcType=DECIMAL},
|
|
|
AUTOID = #{autoid,jdbcType=DECIMAL},
|
|
|
MODIFY_DATE = #{modifyDate,jdbcType=TIMESTAMP},
|
|
|
MODIFIER = #{modifier,jdbcType=DECIMAL},
|
|
|
IS_DELETE = #{isDelete,jdbcType=DECIMAL},
|
|
|
CREATOR = #{creator,jdbcType=DECIMAL},
|
|
|
CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
|
|
|
FLIGHTNO = #{flightno,jdbcType=VARCHAR},
|
|
|
FLIGHTDATE = #{flightdate,jdbcType=TIMESTAMP},
|
|
|
ORIGINATINGSTATION = #{originatingstation,jdbcType=VARCHAR},
|
|
|
DESTINATIONSTATION = #{destinationstation,jdbcType=VARCHAR},
|
|
|
AGENTCOMPANYCODE = #{agentcompanycode,jdbcType=VARCHAR},
|
|
|
STATUS = #{status,jdbcType=VARCHAR},
|
|
|
CARRIER = #{carrier,jdbcType=VARCHAR},
|
|
|
CUSTOMSSTATUS = #{customsstatus,jdbcType=VARCHAR},
|
|
|
PAYMODE = #{paymode,jdbcType=VARCHAR},
|
|
|
SPECIALGOODSCODE = #{specialgoodscode,jdbcType=VARCHAR},
|
|
|
CUSTOMSCODE = #{customscode,jdbcType=VARCHAR},
|
|
|
AGENTMAN = #{agentman,jdbcType=VARCHAR},
|
|
|
AGENTCOMPANY = #{agentcompany,jdbcType=VARCHAR},
|
|
|
RECEIPTINFORMATION = #{receiptinformation,jdbcType=VARCHAR},
|
|
|
UNNUMBER = #{unnumber,jdbcType=VARCHAR},
|
|
|
CATEGORY = #{category,jdbcType=VARCHAR},
|
|
|
SH_COMPANY = #{shCompany,jdbcType=VARCHAR},
|
|
|
SH_ADDRESS = #{shAddress,jdbcType=VARCHAR},
|
|
|
SH_ZIPCODE = #{shZipcode,jdbcType=VARCHAR},
|
|
|
SH_CITY = #{shCity,jdbcType=VARCHAR},
|
|
|
SH_DELTANAME = #{shDeltaname,jdbcType=VARCHAR},
|
|
|
SH_COUNTRY = #{shCountry,jdbcType=VARCHAR},
|
|
|
SH_TELEPHONE = #{shTelephone,jdbcType=VARCHAR},
|
|
|
SH_FAX = #{shFax,jdbcType=VARCHAR},
|
|
|
SH_NAME = #{shName,jdbcType=VARCHAR},
|
|
|
CO_COMPANY = #{coCompany,jdbcType=VARCHAR},
|
|
|
CO_ADDRESS = #{coAddress,jdbcType=VARCHAR},
|
|
|
CO_ZIPCODE = #{coZipcode,jdbcType=VARCHAR},
|
|
|
CO_CITY = #{coCity,jdbcType=VARCHAR},
|
|
|
CO_DELTANAME = #{coDeltaname,jdbcType=VARCHAR},
|
|
|
CO_COUNTRY = #{coCountry,jdbcType=VARCHAR},
|
|
|
CO_TELEPHONE = #{coTelephone,jdbcType=VARCHAR},
|
|
|
CO_FAX = #{coFax,jdbcType=VARCHAR},
|
|
|
CO_NAME = #{coName,jdbcType=VARCHAR},
|
|
|
REACH_STATION = #{reachStation,jdbcType=VARCHAR},
|
|
|
CARRIER1 = #{carrier1,jdbcType=VARCHAR},
|
|
|
REACH_STATION1 = #{reachStation1,jdbcType=VARCHAR},
|
|
|
CARRIER2 = #{carrier2,jdbcType=VARCHAR},
|
|
|
REACH_STATION2 = #{reachStation2,jdbcType=VARCHAR},
|
|
|
NAME_OFGOODS = #{nameOfgoods,jdbcType=VARCHAR},
|
|
|
DELIVERY_STATION = #{deliveryStation,jdbcType=VARCHAR},
|
|
|
SH_PROVINCECODE = #{shProvincecode,jdbcType=VARCHAR},
|
|
|
SH_PROVINCENAME = #{shProvincename,jdbcType=VARCHAR},
|
|
|
DE_NUMBER = #{deNumber,jdbcType=VARCHAR},
|
|
|
DE_WEIGHT = #{deWeight,jdbcType=VARCHAR},
|
|
|
DE_CHWEIGHT = #{deChweight,jdbcType=VARCHAR},
|
|
|
DE_SIZE = #{deSize,jdbcType=VARCHAR},
|
|
|
DE_VOLUME = #{deVolume,jdbcType=VARCHAR},
|
|
|
DE_TYPE = #{deType,jdbcType=VARCHAR},
|
|
|
DE_TRSTATION = #{deTrstation,jdbcType=VARCHAR},
|
|
|
DE_PACKING = #{dePacking,jdbcType=VARCHAR},
|
|
|
DE_REMARKS = #{deRemarks,jdbcType=VARCHAR},
|
|
|
DE_IDS = #{deIds,jdbcType=DECIMAL},
|
|
|
RESPONSE_CODE = #{responseCode,jdbcType=CHAR},
|
|
|
RESPONSE_TEXT = #{responseText,jdbcType=CHAR},
|
|
|
SAVE_TIME = #{saveTime,jdbcType=DECIMAL},
|
|
|
USER_ID = #{userId,jdbcType=DECIMAL},
|
|
|
SHPAEO = #{shpaeo,jdbcType=VARCHAR},
|
|
|
CNEAEO = #{cneaeo,jdbcType=VARCHAR},
|
|
|
SHPCUSID = #{shpcusid,jdbcType=VARCHAR},
|
|
|
CNECUSID = #{cnecusid,jdbcType=VARCHAR},
|
|
|
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>
|
|
|
|
|
|
|
|
|
<update id="updateRECEIPTION" parameterType="com.tianbo.analysis.model.PREPARESECONDARY" >
|
|
|
UPDATE PREPARESECONDARY
|
|
|
SET RECEIPTION= #{receiption,jdbcType=VARCHAR}
|
|
|
WHERE WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR}
|
|
|
AND WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|
|
|
<select id="selectAutoIdByawbAawbH" parameterType="com.tianbo.analysis.model.PREPARESECONDARY" resultType="com.tianbo.analysis.model.PREPARESECONDARY">
|
|
|
SELECT AUTOID
|
|
|
FROM PREPARESECONDARY
|
|
|
WHERE
|
|
|
WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR} AND WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|