...
|
...
|
@@ -5,6 +5,7 @@ |
|
|
<id column="id" property="id" jdbcType="VARCHAR" />
|
|
|
<result column="flightDate" property="flightdate" jdbcType="DATE" />
|
|
|
<result column="flightNo" property="flightno" jdbcType="VARCHAR" />
|
|
|
<result column="carrier" property="carrier" jdbcType="VARCHAR" />
|
|
|
<result column="awbaNo" property="awbano" jdbcType="VARCHAR" />
|
|
|
<result column="awbhNo" property="awbhno" jdbcType="VARCHAR" />
|
|
|
<result column="busType" property="bustype" jdbcType="VARCHAR" />
|
...
|
...
|
@@ -28,7 +29,7 @@ |
|
|
<result column="cusResText" property="cusrestext" jdbcType="LONGVARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, flightDate, flightNo, awbaNo, awbhNo, busType, busDate, busWeight, busPiece,
|
|
|
id, flightDate, flightNo, carrier, awbaNo, awbhNo, busType, busDate, busWeight, busPiece,
|
|
|
operType, cusMsgId, cusSenderId, cusReciverId, cusVersion, cusFunctionCode, cusResRcvTime,
|
|
|
cusResSendTime, cusResCode, cusResStatus, operUserName, operSystemName
|
|
|
</sql>
|
...
|
...
|
@@ -49,21 +50,21 @@ |
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
|
|
insert into CUSTOM_RESPONSE (id, flightDate, flightNo,
|
|
|
awbaNo, awbhNo, busType,
|
|
|
busDate, busWeight, busPiece,
|
|
|
operType, cusMsgId, cusSenderId,
|
|
|
cusReciverId, cusVersion, cusFunctionCode,
|
|
|
cusResRcvTime, cusResSendTime, cusResCode,
|
|
|
cusResStatus, operUserName, operSystemName,
|
|
|
cusResText)
|
|
|
carrier, awbaNo, awbhNo,
|
|
|
busType, busDate, busWeight,
|
|
|
busPiece, operType, cusMsgId,
|
|
|
cusSenderId, cusReciverId, cusVersion,
|
|
|
cusFunctionCode, cusResRcvTime, cusResSendTime,
|
|
|
cusResCode, cusResStatus, operUserName,
|
|
|
operSystemName, cusResText)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{flightdate,jdbcType=DATE}, #{flightno,jdbcType=VARCHAR},
|
|
|
#{awbano,jdbcType=VARCHAR}, #{awbhno,jdbcType=VARCHAR}, #{bustype,jdbcType=VARCHAR},
|
|
|
#{busdate,jdbcType=TIMESTAMP}, #{busweight,jdbcType=DECIMAL}, #{buspiece,jdbcType=INTEGER},
|
|
|
#{opertype,jdbcType=VARCHAR}, #{cusmsgid,jdbcType=VARCHAR}, #{cussenderid,jdbcType=VARCHAR},
|
|
|
#{cusreciverid,jdbcType=VARCHAR}, #{cusversion,jdbcType=VARCHAR}, #{cusfunctioncode,jdbcType=VARCHAR},
|
|
|
#{cusresrcvtime,jdbcType=TIMESTAMP}, #{cusressendtime,jdbcType=TIMESTAMP}, #{cusrescode,jdbcType=VARCHAR},
|
|
|
#{cusresstatus,jdbcType=VARCHAR}, #{operusername,jdbcType=VARCHAR}, #{opersystemname,jdbcType=VARCHAR},
|
|
|
#{cusrestext,jdbcType=LONGVARCHAR})
|
|
|
#{carrier,jdbcType=VARCHAR}, #{awbano,jdbcType=VARCHAR}, #{awbhno,jdbcType=VARCHAR},
|
|
|
#{bustype,jdbcType=VARCHAR}, #{busdate,jdbcType=TIMESTAMP}, #{busweight,jdbcType=DECIMAL},
|
|
|
#{buspiece,jdbcType=INTEGER}, #{opertype,jdbcType=VARCHAR}, #{cusmsgid,jdbcType=VARCHAR},
|
|
|
#{cussenderid,jdbcType=VARCHAR}, #{cusreciverid,jdbcType=VARCHAR}, #{cusversion,jdbcType=VARCHAR},
|
|
|
#{cusfunctioncode,jdbcType=VARCHAR}, #{cusresrcvtime,jdbcType=TIMESTAMP}, #{cusressendtime,jdbcType=TIMESTAMP},
|
|
|
#{cusrescode,jdbcType=VARCHAR}, #{cusresstatus,jdbcType=VARCHAR}, #{operusername,jdbcType=VARCHAR},
|
|
|
#{opersystemname,jdbcType=VARCHAR}, #{cusrestext,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
|
|
insert into CUSTOM_RESPONSE
|
...
|
...
|
@@ -77,6 +78,9 @@ |
|
|
<if test="flightno != null" >
|
|
|
flightNo,
|
|
|
</if>
|
|
|
<if test="carrier != null" >
|
|
|
carrier,
|
|
|
</if>
|
|
|
<if test="awbano != null" >
|
|
|
awbaNo,
|
|
|
</if>
|
...
|
...
|
@@ -145,6 +149,9 @@ |
|
|
<if test="flightno != null" >
|
|
|
#{flightno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier != null" >
|
|
|
#{carrier,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="awbano != null" >
|
|
|
#{awbano,jdbcType=VARCHAR},
|
|
|
</if>
|
...
|
...
|
@@ -213,6 +220,9 @@ |
|
|
<if test="flightno != null" >
|
|
|
flightNo = #{flightno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="carrier != null" >
|
|
|
carrier = #{carrier,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="awbano != null" >
|
|
|
awbaNo = #{awbano,jdbcType=VARCHAR},
|
|
|
</if>
|
...
|
...
|
@@ -273,28 +283,55 @@ |
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateAwbhReceiption" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
|
|
update CUSTOM_RESPONSE
|
|
|
set
|
|
|
set flightDate = #{flightdate,jdbcType=DATE},
|
|
|
flightNo = #{flightno,jdbcType=VARCHAR},
|
|
|
carrier = #{carrier,jdbcType=VARCHAR},
|
|
|
awbaNo = #{awbano,jdbcType=VARCHAR},
|
|
|
awbhNo = #{awbhno,jdbcType=VARCHAR},
|
|
|
busType = #{bustype,jdbcType=VARCHAR},
|
|
|
busDate = #{busdate,jdbcType=TIMESTAMP},
|
|
|
busWeight = #{busweight,jdbcType=DECIMAL},
|
|
|
busPiece = #{buspiece,jdbcType=INTEGER},
|
|
|
operType = #{opertype,jdbcType=VARCHAR},
|
|
|
cusMsgId = #{cusmsgid,jdbcType=VARCHAR},
|
|
|
cusSenderId = #{cussenderid,jdbcType=VARCHAR},
|
|
|
cusReciverId = #{cusreciverid,jdbcType=VARCHAR},
|
|
|
cusVersion = #{cusversion,jdbcType=VARCHAR},
|
|
|
cusFunctionCode = #{cusfunctioncode,jdbcType=VARCHAR},
|
|
|
cusResRcvTime = #{cusresrcvtime,jdbcType=TIMESTAMP},
|
|
|
cusResSendTime = #{cusressendtime,jdbcType=TIMESTAMP},
|
|
|
cusResCode = #{cusrescode,jdbcType=VARCHAR},
|
|
|
cusResStatus = #{cusresstatus,jdbcType=VARCHAR},
|
|
|
operUserName = #{operusername,jdbcType=VARCHAR},
|
|
|
operSystemName = #{opersystemname,jdbcType=VARCHAR},
|
|
|
cusResText = #{cusrestext,jdbcType=LONGVARCHAR}
|
|
|
where
|
|
|
flightDate = #{flightdate,jdbcType=DATE}
|
|
|
and
|
|
|
flightNo = #{flightno,jdbcType=VARCHAR}
|
|
|
and
|
|
|
awbhNo = #{awbhno,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|
|
|
<!--主单 修改-->
|
|
|
<update id="updateAwbReceiption" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
|
|
update CUSTOM_RESPONSE
|
|
|
set
|
|
|
cusResText = #{cusrestext,jdbcType=LONGVARCHAR}
|
|
|
where
|
|
|
flightDate = #{flightdate,jdbcType=DATE}
|
|
|
and
|
|
|
flightNo = #{flightno,jdbcType=VARCHAR}
|
|
|
and
|
|
|
awbaNo = #{awbano,jdbcType=VARCHAR}
|
|
|
set flightDate = #{flightdate,jdbcType=DATE},
|
|
|
flightNo = #{flightno,jdbcType=VARCHAR},
|
|
|
carrier = #{carrier,jdbcType=VARCHAR},
|
|
|
awbaNo = #{awbano,jdbcType=VARCHAR},
|
|
|
awbhNo = #{awbhno,jdbcType=VARCHAR},
|
|
|
busType = #{bustype,jdbcType=VARCHAR},
|
|
|
busDate = #{busdate,jdbcType=TIMESTAMP},
|
|
|
busWeight = #{busweight,jdbcType=DECIMAL},
|
|
|
busPiece = #{buspiece,jdbcType=INTEGER},
|
|
|
operType = #{opertype,jdbcType=VARCHAR},
|
|
|
cusMsgId = #{cusmsgid,jdbcType=VARCHAR},
|
|
|
cusSenderId = #{cussenderid,jdbcType=VARCHAR},
|
|
|
cusReciverId = #{cusreciverid,jdbcType=VARCHAR},
|
|
|
cusVersion = #{cusversion,jdbcType=VARCHAR},
|
|
|
cusFunctionCode = #{cusfunctioncode,jdbcType=VARCHAR},
|
|
|
cusResRcvTime = #{cusresrcvtime,jdbcType=TIMESTAMP},
|
|
|
cusResSendTime = #{cusressendtime,jdbcType=TIMESTAMP},
|
|
|
cusResCode = #{cusrescode,jdbcType=VARCHAR},
|
|
|
cusResStatus = #{cusresstatus,jdbcType=VARCHAR},
|
|
|
operUserName = #{operusername,jdbcType=VARCHAR},
|
|
|
operSystemName = #{opersystemname,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|