|
|
<?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.sunyo.wlpt.cgonms.provide.mapper.PrepareMasterMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.sunyo.wlpt.cgonms.provide.domain.PrepareMaster">
|
|
|
<!--@mbg.generated-->
|
|
|
<!--@Table PREPAREMASTER-->
|
|
|
<result column="AUTOID" jdbcType="VARCHAR" property="autoId"/>
|
|
|
<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="WAYBILLNOMASTER" jdbcType="VARCHAR" property="waybillNoMaster"/>
|
|
|
<result column="TOTALWEIGHT" jdbcType="VARCHAR" property="totalWeight"/>
|
|
|
<result column="TOTALPIECE" jdbcType="VARCHAR" property="totalPiece"/>
|
|
|
<result column="PREPARETOTALPIECE" jdbcType="VARCHAR" property="prepareTotalPiece"/>
|
|
|
<result column="PREPARETOTALWEIGHT" jdbcType="VARCHAR" property="prepareTotalWeight"/>
|
|
|
<result column="STOWAGEDATE" jdbcType="TIMESTAMP" property="stowageDate"/>
|
|
|
<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="CUSTOMSCODE" jdbcType="VARCHAR" property="customsCode"/>
|
|
|
<result column="AGENTCODE" jdbcType="VARCHAR" property="agentCode"/>
|
|
|
<result column="AGENTNAME" jdbcType="VARCHAR" property="agentName"/>
|
|
|
<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="CREATEDATE" jdbcType="TIMESTAMP" property="createDate"/>
|
|
|
<result column="PRODUCTNAME" jdbcType="VARCHAR" property="productName"/>
|
|
|
<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_FAX" jdbcType="VARCHAR" property="consigneeFax"/>
|
|
|
<result column="CONSIGNEE_PHONE" jdbcType="VARCHAR" property="consigneePhone"/>
|
|
|
<result column="SHIPPER_AEO" jdbcType="VARCHAR" property="shipperAeo"/>
|
|
|
<result column="CONSIGNEE_AEO" jdbcType="VARCHAR" property="consigneeAeo"/>
|
|
|
<result column="UNLOADINGSTATION" jdbcType="VARCHAR" property="unloadingStation"/>
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<!--@mbg.generated-->
|
|
|
AUTOID, FLIGHTNO, FLIGHTDATE, ORIGINATINGSTATION, DESTINATIONSTATION, WAYBILLNOMASTER,
|
|
|
TOTALWEIGHT, TOTALPIECE, PREPARETOTALPIECE, PREPARETOTALWEIGHT, STOWAGEDATE, "STATUS",
|
|
|
CARRIER, CUSTOMSSTATUS, PAYMODE, CUSTOMSCODE, AGENTCODE, AGENTNAME, SHIPPERNAME,
|
|
|
SHIPPERCITY, SHIPPERADDRESS, CONSIGNEENAME, CONSIGNEECITY, CONSIGNEEADDRESS, RECEIPTINFORMATION,
|
|
|
CREATEDATE, PRODUCTNAME, SHIPPER_CODE, SHIPPER_COUNTRYCODE, SHIPPER_PHONE, SHIPPER_FAX,
|
|
|
CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE, CONSIGNEE_FAX, CONSIGNEE_PHONE, SHIPPER_AEO,
|
|
|
CONSIGNEE_AEO, UNLOADINGSTATION
|
|
|
</sql>
|
|
|
<select id="getPrepareMasterInfo" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
select
|
|
|
<include refid="Base_Column_List"/>
|
|
|
from PREPAREMASTER
|
|
|
where
|
|
|
WAYBILLNOMASTER = #{waybillNoMaster,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
</mapper> |
...
|
...
|
|