|  |  | <?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.example.demo.mapper.NMS_FZE_FOHMapper" > | 
|  |  | <resultMap id="BaseResultMap" type="com.example.demo.model.NMS_FZE_FOH" > | 
|  |  | <result column="AUTOID" property="autoid" jdbcType="VARCHAR" /> | 
|  |  | <result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" /> | 
|  |  | <result column="TCD_NAME" property="tcdName" jdbcType="VARCHAR" /> | 
|  |  | <result column="TCD_TYPECODE" property="tcdTypecode" jdbcType="VARCHAR" /> | 
|  |  | <result column="WAYBILLNOSECONDARY" property="waybillnosecondary" jdbcType="VARCHAR" /> | 
|  |  | <result column="CARRIER" property="carrier" jdbcType="VARCHAR" /> | 
|  |  | <result column="O_ID" property="oId" jdbcType="VARCHAR" /> | 
|  |  | <result column="O_NAME" property="oName" jdbcType="VARCHAR" /> | 
|  |  | <result column="FD_ID" property="fdId" jdbcType="VARCHAR" /> | 
|  |  | <result column="FD_NAME" property="fdName" jdbcType="VARCHAR" /> | 
|  |  | <result column="FLIGHTNO" property="flightno" jdbcType="VARCHAR" /> | 
|  |  | <result column="FLIGHTDATE" property="flightdate" jdbcType="TIMESTAMP" /> | 
|  |  | <result column="ARRIVEDTOTALPIECE" property="arrivedtotalpiece" jdbcType="VARCHAR" /> | 
|  |  | <result column="TOTALPIECEQUANTITY" property="totalpiecequantity" jdbcType="VARCHAR" /> | 
|  |  | <result column="ARRIVEDTOTALWEIGHT" property="arrivedtotalweight" jdbcType="VARCHAR" /> | 
|  |  | <result column="GROSSWEIGHTMEASUREUC" property="grossweightmeasureuc" jdbcType="VARCHAR" /> | 
|  |  | <result column="TOTALGROSSWEIGHTMEASURE" property="totalgrossweightmeasure" jdbcType="VARCHAR" /> | 
|  |  | <result column="TOTALGROSSWEIGHTMEASUREUC" property="totalgrossweightmeasureuc" jdbcType="VARCHAR" /> | 
|  |  | <result column="CHARGEABLEWEIGHTMEASURE" property="chargeableweightmeasure" jdbcType="VARCHAR" /> | 
|  |  | <result column="CHARGEABLEWEIGHTMEASUREUC" property="chargeableweightmeasureuc" jdbcType="VARCHAR" /> | 
|  |  | <result column="ARRIVEDDATE" property="arriveddate" jdbcType="TIMESTAMP" /> | 
|  |  | <result column="CUSTOMSCODE" property="customscode" jdbcType="VARCHAR" /> | 
|  |  | <result column="PRODUCTNAME" property="productname" jdbcType="VARCHAR" /> | 
|  |  | <result column="CREATEDATE" property="createdate" jdbcType="TIMESTAMP" /> | 
|  |  | <result column="ARRIVEDMASTERID" property="arrivedmasterid" jdbcType="VARCHAR" /> | 
|  |  | <result column="TRANSPORTSPLITDESCRIPTION" property="transportsplitdescription" jdbcType="VARCHAR" /> | 
|  |  | <result column="RECEIPTION" property="receiption" jdbcType="VARCHAR" /> | 
|  |  | <result column="STATUS" property="status" jdbcType="VARCHAR" /> | 
|  |  | </resultMap> | 
|  |  | <insert id="insert" parameterType="com.example.demo.model.NMS_FZE_FOH" > | 
|  |  | insert into ARRIVEDSECONDARY (AUTOID, WAYBILLNOMASTER, TCD_NAME, | 
|  |  | TCD_TYPECODE, WAYBILLNOSECONDARY, CARRIER, | 
|  |  | O_ID, O_NAME, FD_ID, FD_NAME, | 
|  |  | FLIGHTNO, FLIGHTDATE, ARRIVEDTOTALPIECE, | 
|  |  | TOTALPIECEQUANTITY, ARRIVEDTOTALWEIGHT, | 
|  |  | GROSSWEIGHTMEASUREUC, TOTALGROSSWEIGHTMEASURE, | 
|  |  | TOTALGROSSWEIGHTMEASUREUC, CHARGEABLEWEIGHTMEASURE, | 
|  |  | CHARGEABLEWEIGHTMEASUREUC, ARRIVEDDATE, | 
|  |  | CUSTOMSCODE, PRODUCTNAME, CREATEDATE, | 
|  |  | ARRIVEDMASTERID, TRANSPORTSPLITDESCRIPTION, | 
|  |  | RECEIPTION, STATUS) | 
|  |  | values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{tcdName,jdbcType=VARCHAR}, | 
|  |  | #{tcdTypecode,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR}, #{carrier,jdbcType=VARCHAR}, | 
|  |  | #{oId,jdbcType=VARCHAR}, #{oName,jdbcType=VARCHAR}, #{fdId,jdbcType=VARCHAR}, #{fdName,jdbcType=VARCHAR}, | 
|  |  | #{flightno,jdbcType=VARCHAR}, #{flightdate,jdbcType=TIMESTAMP}, #{arrivedtotalpiece,jdbcType=VARCHAR}, | 
|  |  | #{totalpiecequantity,jdbcType=VARCHAR}, #{arrivedtotalweight,jdbcType=VARCHAR}, | 
|  |  | #{grossweightmeasureuc,jdbcType=VARCHAR}, #{totalgrossweightmeasure,jdbcType=VARCHAR}, | 
|  |  | #{totalgrossweightmeasureuc,jdbcType=VARCHAR}, #{chargeableweightmeasure,jdbcType=VARCHAR}, | 
|  |  | #{chargeableweightmeasureuc,jdbcType=VARCHAR}, #{arriveddate,jdbcType=TIMESTAMP}, | 
|  |  | #{customscode,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP}, | 
|  |  | #{arrivedmasterid,jdbcType=VARCHAR}, #{transportsplitdescription,jdbcType=VARCHAR}, | 
|  |  | #{receiption,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}) | 
|  |  | </insert> | 
|  |  | <insert id="insertSelective" parameterType="com.example.demo.model.NMS_FZE_FOH" > | 
|  |  | insert into ARRIVEDSECONDARY | 
|  |  | <trim prefix="(" suffix=")" suffixOverrides="," > | 
|  |  | <if test="autoid != null" > | 
|  |  | AUTOID, | 
|  |  | </if> | 
|  |  | <if test="waybillnomaster != null" > | 
|  |  | WAYBILLNOMASTER, | 
|  |  | </if> | 
|  |  | <if test="tcdName != null" > | 
|  |  | TCD_NAME, | 
|  |  | </if> | 
|  |  | <if test="tcdTypecode != null" > | 
|  |  | TCD_TYPECODE, | 
|  |  | </if> | 
|  |  | <if test="waybillnosecondary != null" > | 
|  |  | WAYBILLNOSECONDARY, | 
|  |  | </if> | 
|  |  | <if test="carrier != null" > | 
|  |  | CARRIER, | 
|  |  | </if> | 
|  |  | <if test="oId != null" > | 
|  |  | O_ID, | 
|  |  | </if> | 
|  |  | <if test="oName != null" > | 
|  |  | O_NAME, | 
|  |  | </if> | 
|  |  | <if test="fdId != null" > | 
|  |  | FD_ID, | 
|  |  | </if> | 
|  |  | <if test="fdName != null" > | 
|  |  | FD_NAME, | 
|  |  | </if> | 
|  |  | <if test="flightno != null" > | 
|  |  | FLIGHTNO, | 
|  |  | </if> | 
|  |  | <if test="flightdate != null" > | 
|  |  | FLIGHTDATE, | 
|  |  | </if> | 
|  |  | <if test="arrivedtotalpiece != null" > | 
|  |  | ARRIVEDTOTALPIECE, | 
|  |  | </if> | 
|  |  | <if test="totalpiecequantity != null" > | 
|  |  | TOTALPIECEQUANTITY, | 
|  |  | </if> | 
|  |  | <if test="arrivedtotalweight != null" > | 
|  |  | ARRIVEDTOTALWEIGHT, | 
|  |  | </if> | 
|  |  | <if test="grossweightmeasureuc != null" > | 
|  |  | GROSSWEIGHTMEASUREUC, | 
|  |  | </if> | 
|  |  | <if test="totalgrossweightmeasure != null" > | 
|  |  | TOTALGROSSWEIGHTMEASURE, | 
|  |  | </if> | 
|  |  | <if test="totalgrossweightmeasureuc != null" > | 
|  |  | TOTALGROSSWEIGHTMEASUREUC, | 
|  |  | </if> | 
|  |  | <if test="chargeableweightmeasure != null" > | 
|  |  | CHARGEABLEWEIGHTMEASURE, | 
|  |  | </if> | 
|  |  | <if test="chargeableweightmeasureuc != null" > | 
|  |  | CHARGEABLEWEIGHTMEASUREUC, | 
|  |  | </if> | 
|  |  | <if test="arriveddate != null" > | 
|  |  | ARRIVEDDATE, | 
|  |  | </if> | 
|  |  | <if test="customscode != null" > | 
|  |  | CUSTOMSCODE, | 
|  |  | </if> | 
|  |  | <if test="productname != null" > | 
|  |  | PRODUCTNAME, | 
|  |  | </if> | 
|  |  | <if test="createdate != null" > | 
|  |  | CREATEDATE, | 
|  |  | </if> | 
|  |  | <if test="arrivedmasterid != null" > | 
|  |  | ARRIVEDMASTERID, | 
|  |  | </if> | 
|  |  | <if test="transportsplitdescription != null" > | 
|  |  | TRANSPORTSPLITDESCRIPTION, | 
|  |  | </if> | 
|  |  | <if test="receiption != null" > | 
|  |  | RECEIPTION, | 
|  |  | </if> | 
|  |  | <if test="status != null" > | 
|  |  | STATUS, | 
|  |  | </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="tcdName != null" > | 
|  |  | #{tcdName,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="tcdTypecode != null" > | 
|  |  | #{tcdTypecode,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="waybillnosecondary != null" > | 
|  |  | #{waybillnosecondary,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="carrier != null" > | 
|  |  | #{carrier,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="oId != null" > | 
|  |  | #{oId,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="oName != null" > | 
|  |  | #{oName,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="fdId != null" > | 
|  |  | #{fdId,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="fdName != null" > | 
|  |  | #{fdName,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="flightno != null" > | 
|  |  | #{flightno,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="flightdate != null" > | 
|  |  | #{flightdate,jdbcType=TIMESTAMP}, | 
|  |  | </if> | 
|  |  | <if test="arrivedtotalpiece != null" > | 
|  |  | #{arrivedtotalpiece,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="totalpiecequantity != null" > | 
|  |  | #{totalpiecequantity,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="arrivedtotalweight != null" > | 
|  |  | #{arrivedtotalweight,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="grossweightmeasureuc != null" > | 
|  |  | #{grossweightmeasureuc,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="totalgrossweightmeasure != null" > | 
|  |  | #{totalgrossweightmeasure,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="totalgrossweightmeasureuc != null" > | 
|  |  | #{totalgrossweightmeasureuc,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="chargeableweightmeasure != null" > | 
|  |  | #{chargeableweightmeasure,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="chargeableweightmeasureuc != null" > | 
|  |  | #{chargeableweightmeasureuc,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="arriveddate != null" > | 
|  |  | #{arriveddate,jdbcType=TIMESTAMP}, | 
|  |  | </if> | 
|  |  | <if test="customscode != null" > | 
|  |  | #{customscode,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="productname != null" > | 
|  |  | #{productname,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="createdate != null" > | 
|  |  | #{createdate,jdbcType=TIMESTAMP}, | 
|  |  | </if> | 
|  |  | <if test="arrivedmasterid != null" > | 
|  |  | #{arrivedmasterid,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="transportsplitdescription != null" > | 
|  |  | #{transportsplitdescription,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="receiption != null" > | 
|  |  | #{receiption,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | <if test="status != null" > | 
|  |  | #{status,jdbcType=VARCHAR}, | 
|  |  | </if> | 
|  |  | </trim> | 
|  |  | </insert> | 
|  |  |  | 
|  |  | <select id="selecSecondWaybillList" resultMap="BaseResultMap" parameterType="com.example.demo.model.NMS_FZE_FOH" >--  resultType="com.example.demo.model.NMS_FSU_FOH" | 
|  |  | SELECT | 
|  |  |  | 
|  |  | AUTOID,WAYBILLNOMASTER,WAYBILLNOSECONDARY | 
|  |  |  | 
|  |  | FROM | 
|  |  |  | 
|  |  | ARRIVEDSECONDARY | 
|  |  |  | 
|  |  | WHERE WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR} | 
|  |  |  | 
|  |  | AND  WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR} | 
|  |  | </select> | 
|  |  |  | 
|  |  | <update id="updateByPrimaryKey" parameterType="com.example.demo.model.NMS_FZE_FOH" > | 
|  |  | update ARRIVEDSECONDARY | 
|  |  | set | 
|  |  | WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR}, | 
|  |  | TCD_NAME = #{tcdName,jdbcType=VARCHAR}, | 
|  |  | TCD_TYPECODE = #{tcdTypecode,jdbcType=VARCHAR}, | 
|  |  | WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR}, | 
|  |  | CARRIER = #{carrier,jdbcType=VARCHAR}, | 
|  |  | O_ID = #{oId,jdbcType=VARCHAR}, | 
|  |  | O_NAME = #{oName,jdbcType=VARCHAR}, | 
|  |  | FD_ID = #{fdId,jdbcType=VARCHAR}, | 
|  |  | FD_NAME = #{fdName,jdbcType=VARCHAR}, | 
|  |  | FLIGHTNO = #{flightno,jdbcType=VARCHAR}, | 
|  |  | FLIGHTDATE = #{flightdate,jdbcType=TIMESTAMP}, | 
|  |  | ARRIVEDTOTALPIECE = #{arrivedtotalpiece,jdbcType=VARCHAR}, | 
|  |  | TOTALPIECEQUANTITY = #{totalpiecequantity,jdbcType=VARCHAR}, | 
|  |  | ARRIVEDTOTALWEIGHT = #{arrivedtotalweight,jdbcType=VARCHAR}, | 
|  |  | GROSSWEIGHTMEASUREUC = #{grossweightmeasureuc,jdbcType=VARCHAR}, | 
|  |  | TOTALGROSSWEIGHTMEASURE = #{totalgrossweightmeasure,jdbcType=VARCHAR}, | 
|  |  | TOTALGROSSWEIGHTMEASUREUC = #{totalgrossweightmeasureuc,jdbcType=VARCHAR}, | 
|  |  | CHARGEABLEWEIGHTMEASURE = #{chargeableweightmeasure,jdbcType=VARCHAR}, | 
|  |  | CHARGEABLEWEIGHTMEASUREUC = #{chargeableweightmeasureuc,jdbcType=VARCHAR}, | 
|  |  | ARRIVEDDATE = #{arriveddate,jdbcType=TIMESTAMP}, | 
|  |  | CUSTOMSCODE = #{customscode,jdbcType=VARCHAR}, | 
|  |  | PRODUCTNAME = #{productname,jdbcType=VARCHAR}, | 
|  |  | CREATEDATE = #{customscode,jdbcType=TIMESTAMP}, | 
|  |  | ARRIVEDMASTERID = #{arrivedmasterid,jdbcType=VARCHAR}, | 
|  |  | TRANSPORTSPLITDESCRIPTION = #{transportsplitdescription,jdbcType=VARCHAR}, | 
|  |  | RECEIPTION = #{receiption,jdbcType=VARCHAR}, | 
|  |  | STATUS = #{status,jdbcType=VARCHAR} | 
|  |  |  | 
|  |  | where AUTOID = #{autoid,jdbcType=VARCHAR} | 
|  |  | </update> | 
|  |  | </mapper> | 
|  |  | \ No newline at end of file | 
... | ... |  |