|
@@ -5,6 +5,7 @@ |
|
@@ -5,6 +5,7 @@ |
5
|
<id column="id" property="id" jdbcType="VARCHAR" />
|
5
|
<id column="id" property="id" jdbcType="VARCHAR" />
|
6
|
<result column="flightDate" property="flightdate" jdbcType="DATE" />
|
6
|
<result column="flightDate" property="flightdate" jdbcType="DATE" />
|
7
|
<result column="flightNo" property="flightno" jdbcType="VARCHAR" />
|
7
|
<result column="flightNo" property="flightno" jdbcType="VARCHAR" />
|
|
|
8
|
+ <result column="carrier" property="carrier" jdbcType="VARCHAR" />
|
8
|
<result column="awbaNo" property="awbano" jdbcType="VARCHAR" />
|
9
|
<result column="awbaNo" property="awbano" jdbcType="VARCHAR" />
|
9
|
<result column="awbhNo" property="awbhno" jdbcType="VARCHAR" />
|
10
|
<result column="awbhNo" property="awbhno" jdbcType="VARCHAR" />
|
10
|
<result column="busType" property="bustype" jdbcType="VARCHAR" />
|
11
|
<result column="busType" property="bustype" jdbcType="VARCHAR" />
|
|
@@ -28,7 +29,7 @@ |
|
@@ -28,7 +29,7 @@ |
28
|
<result column="cusResText" property="cusrestext" jdbcType="LONGVARCHAR" />
|
29
|
<result column="cusResText" property="cusrestext" jdbcType="LONGVARCHAR" />
|
29
|
</resultMap>
|
30
|
</resultMap>
|
30
|
<sql id="Base_Column_List" >
|
31
|
<sql id="Base_Column_List" >
|
31
|
- id, flightDate, flightNo, awbaNo, awbhNo, busType, busDate, busWeight, busPiece,
|
32
|
+ id, flightDate, flightNo, carrier, awbaNo, awbhNo, busType, busDate, busWeight, busPiece,
|
32
|
operType, cusMsgId, cusSenderId, cusReciverId, cusVersion, cusFunctionCode, cusResRcvTime,
|
33
|
operType, cusMsgId, cusSenderId, cusReciverId, cusVersion, cusFunctionCode, cusResRcvTime,
|
33
|
cusResSendTime, cusResCode, cusResStatus, operUserName, operSystemName
|
34
|
cusResSendTime, cusResCode, cusResStatus, operUserName, operSystemName
|
34
|
</sql>
|
35
|
</sql>
|
|
@@ -49,21 +50,21 @@ |
|
@@ -49,21 +50,21 @@ |
49
|
</delete>
|
50
|
</delete>
|
50
|
<insert id="insert" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
51
|
<insert id="insert" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
51
|
insert into CUSTOM_RESPONSE (id, flightDate, flightNo,
|
52
|
insert into CUSTOM_RESPONSE (id, flightDate, flightNo,
|
52
|
- awbaNo, awbhNo, busType,
|
|
|
53
|
- busDate, busWeight, busPiece,
|
|
|
54
|
- operType, cusMsgId, cusSenderId,
|
|
|
55
|
- cusReciverId, cusVersion, cusFunctionCode,
|
|
|
56
|
- cusResRcvTime, cusResSendTime, cusResCode,
|
|
|
57
|
- cusResStatus, operUserName, operSystemName,
|
|
|
58
|
- cusResText)
|
53
|
+ carrier, awbaNo, awbhNo,
|
|
|
54
|
+ busType, busDate, busWeight,
|
|
|
55
|
+ busPiece, operType, cusMsgId,
|
|
|
56
|
+ cusSenderId, cusReciverId, cusVersion,
|
|
|
57
|
+ cusFunctionCode, cusResRcvTime, cusResSendTime,
|
|
|
58
|
+ cusResCode, cusResStatus, operUserName,
|
|
|
59
|
+ operSystemName, cusResText)
|
59
|
values (#{id,jdbcType=VARCHAR}, #{flightdate,jdbcType=DATE}, #{flightno,jdbcType=VARCHAR},
|
60
|
values (#{id,jdbcType=VARCHAR}, #{flightdate,jdbcType=DATE}, #{flightno,jdbcType=VARCHAR},
|
60
|
- #{awbano,jdbcType=VARCHAR}, #{awbhno,jdbcType=VARCHAR}, #{bustype,jdbcType=VARCHAR},
|
|
|
61
|
- #{busdate,jdbcType=TIMESTAMP}, #{busweight,jdbcType=DECIMAL}, #{buspiece,jdbcType=INTEGER},
|
|
|
62
|
- #{opertype,jdbcType=VARCHAR}, #{cusmsgid,jdbcType=VARCHAR}, #{cussenderid,jdbcType=VARCHAR},
|
|
|
63
|
- #{cusreciverid,jdbcType=VARCHAR}, #{cusversion,jdbcType=VARCHAR}, #{cusfunctioncode,jdbcType=VARCHAR},
|
|
|
64
|
- #{cusresrcvtime,jdbcType=TIMESTAMP}, #{cusressendtime,jdbcType=TIMESTAMP}, #{cusrescode,jdbcType=VARCHAR},
|
|
|
65
|
- #{cusresstatus,jdbcType=VARCHAR}, #{operusername,jdbcType=VARCHAR}, #{opersystemname,jdbcType=VARCHAR},
|
|
|
66
|
- #{cusrestext,jdbcType=LONGVARCHAR})
|
61
|
+ #{carrier,jdbcType=VARCHAR}, #{awbano,jdbcType=VARCHAR}, #{awbhno,jdbcType=VARCHAR},
|
|
|
62
|
+ #{bustype,jdbcType=VARCHAR}, #{busdate,jdbcType=TIMESTAMP}, #{busweight,jdbcType=DECIMAL},
|
|
|
63
|
+ #{buspiece,jdbcType=INTEGER}, #{opertype,jdbcType=VARCHAR}, #{cusmsgid,jdbcType=VARCHAR},
|
|
|
64
|
+ #{cussenderid,jdbcType=VARCHAR}, #{cusreciverid,jdbcType=VARCHAR}, #{cusversion,jdbcType=VARCHAR},
|
|
|
65
|
+ #{cusfunctioncode,jdbcType=VARCHAR}, #{cusresrcvtime,jdbcType=TIMESTAMP}, #{cusressendtime,jdbcType=TIMESTAMP},
|
|
|
66
|
+ #{cusrescode,jdbcType=VARCHAR}, #{cusresstatus,jdbcType=VARCHAR}, #{operusername,jdbcType=VARCHAR},
|
|
|
67
|
+ #{opersystemname,jdbcType=VARCHAR}, #{cusrestext,jdbcType=LONGVARCHAR})
|
67
|
</insert>
|
68
|
</insert>
|
68
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
69
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
69
|
insert into CUSTOM_RESPONSE
|
70
|
insert into CUSTOM_RESPONSE
|
|
@@ -77,6 +78,9 @@ |
|
@@ -77,6 +78,9 @@ |
77
|
<if test="flightno != null" >
|
78
|
<if test="flightno != null" >
|
78
|
flightNo,
|
79
|
flightNo,
|
79
|
</if>
|
80
|
</if>
|
|
|
81
|
+ <if test="carrier != null" >
|
|
|
82
|
+ carrier,
|
|
|
83
|
+ </if>
|
80
|
<if test="awbano != null" >
|
84
|
<if test="awbano != null" >
|
81
|
awbaNo,
|
85
|
awbaNo,
|
82
|
</if>
|
86
|
</if>
|
|
@@ -145,6 +149,9 @@ |
|
@@ -145,6 +149,9 @@ |
145
|
<if test="flightno != null" >
|
149
|
<if test="flightno != null" >
|
146
|
#{flightno,jdbcType=VARCHAR},
|
150
|
#{flightno,jdbcType=VARCHAR},
|
147
|
</if>
|
151
|
</if>
|
|
|
152
|
+ <if test="carrier != null" >
|
|
|
153
|
+ #{carrier,jdbcType=VARCHAR},
|
|
|
154
|
+ </if>
|
148
|
<if test="awbano != null" >
|
155
|
<if test="awbano != null" >
|
149
|
#{awbano,jdbcType=VARCHAR},
|
156
|
#{awbano,jdbcType=VARCHAR},
|
150
|
</if>
|
157
|
</if>
|
|
@@ -213,6 +220,9 @@ |
|
@@ -213,6 +220,9 @@ |
213
|
<if test="flightno != null" >
|
220
|
<if test="flightno != null" >
|
214
|
flightNo = #{flightno,jdbcType=VARCHAR},
|
221
|
flightNo = #{flightno,jdbcType=VARCHAR},
|
215
|
</if>
|
222
|
</if>
|
|
|
223
|
+ <if test="carrier != null" >
|
|
|
224
|
+ carrier = #{carrier,jdbcType=VARCHAR},
|
|
|
225
|
+ </if>
|
216
|
<if test="awbano != null" >
|
226
|
<if test="awbano != null" >
|
217
|
awbaNo = #{awbano,jdbcType=VARCHAR},
|
227
|
awbaNo = #{awbano,jdbcType=VARCHAR},
|
218
|
</if>
|
228
|
</if>
|
|
@@ -273,28 +283,55 @@ |
|
@@ -273,28 +283,55 @@ |
273
|
</set>
|
283
|
</set>
|
274
|
where id = #{id,jdbcType=VARCHAR}
|
284
|
where id = #{id,jdbcType=VARCHAR}
|
275
|
</update>
|
285
|
</update>
|
276
|
- <update id="updateAwbhReceiption" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
286
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
277
|
update CUSTOM_RESPONSE
|
287
|
update CUSTOM_RESPONSE
|
278
|
- set
|
288
|
+ set flightDate = #{flightdate,jdbcType=DATE},
|
|
|
289
|
+ flightNo = #{flightno,jdbcType=VARCHAR},
|
|
|
290
|
+ carrier = #{carrier,jdbcType=VARCHAR},
|
|
|
291
|
+ awbaNo = #{awbano,jdbcType=VARCHAR},
|
|
|
292
|
+ awbhNo = #{awbhno,jdbcType=VARCHAR},
|
|
|
293
|
+ busType = #{bustype,jdbcType=VARCHAR},
|
|
|
294
|
+ busDate = #{busdate,jdbcType=TIMESTAMP},
|
|
|
295
|
+ busWeight = #{busweight,jdbcType=DECIMAL},
|
|
|
296
|
+ busPiece = #{buspiece,jdbcType=INTEGER},
|
|
|
297
|
+ operType = #{opertype,jdbcType=VARCHAR},
|
|
|
298
|
+ cusMsgId = #{cusmsgid,jdbcType=VARCHAR},
|
|
|
299
|
+ cusSenderId = #{cussenderid,jdbcType=VARCHAR},
|
|
|
300
|
+ cusReciverId = #{cusreciverid,jdbcType=VARCHAR},
|
|
|
301
|
+ cusVersion = #{cusversion,jdbcType=VARCHAR},
|
|
|
302
|
+ cusFunctionCode = #{cusfunctioncode,jdbcType=VARCHAR},
|
|
|
303
|
+ cusResRcvTime = #{cusresrcvtime,jdbcType=TIMESTAMP},
|
|
|
304
|
+ cusResSendTime = #{cusressendtime,jdbcType=TIMESTAMP},
|
|
|
305
|
+ cusResCode = #{cusrescode,jdbcType=VARCHAR},
|
|
|
306
|
+ cusResStatus = #{cusresstatus,jdbcType=VARCHAR},
|
|
|
307
|
+ operUserName = #{operusername,jdbcType=VARCHAR},
|
|
|
308
|
+ operSystemName = #{opersystemname,jdbcType=VARCHAR},
|
279
|
cusResText = #{cusrestext,jdbcType=LONGVARCHAR}
|
309
|
cusResText = #{cusrestext,jdbcType=LONGVARCHAR}
|
280
|
- where
|
|
|
281
|
- flightDate = #{flightdate,jdbcType=DATE}
|
|
|
282
|
- and
|
|
|
283
|
- flightNo = #{flightno,jdbcType=VARCHAR}
|
|
|
284
|
- and
|
|
|
285
|
- awbhNo = #{awbhno,jdbcType=VARCHAR}
|
310
|
+ where id = #{id,jdbcType=VARCHAR}
|
286
|
</update>
|
311
|
</update>
|
287
|
-
|
|
|
288
|
- <!--主单 修改-->
|
|
|
289
|
- <update id="updateAwbReceiption" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
312
|
+ <update id="updateByPrimaryKey" parameterType="com.tianbo.analysis.model.CUSTOM_RESPONSE" >
|
290
|
update CUSTOM_RESPONSE
|
313
|
update CUSTOM_RESPONSE
|
291
|
- set
|
|
|
292
|
- cusResText = #{cusrestext,jdbcType=LONGVARCHAR}
|
|
|
293
|
- where
|
|
|
294
|
- flightDate = #{flightdate,jdbcType=DATE}
|
|
|
295
|
- and
|
|
|
296
|
- flightNo = #{flightno,jdbcType=VARCHAR}
|
|
|
297
|
- and
|
|
|
298
|
- awbaNo = #{awbano,jdbcType=VARCHAR}
|
314
|
+ set flightDate = #{flightdate,jdbcType=DATE},
|
|
|
315
|
+ flightNo = #{flightno,jdbcType=VARCHAR},
|
|
|
316
|
+ carrier = #{carrier,jdbcType=VARCHAR},
|
|
|
317
|
+ awbaNo = #{awbano,jdbcType=VARCHAR},
|
|
|
318
|
+ awbhNo = #{awbhno,jdbcType=VARCHAR},
|
|
|
319
|
+ busType = #{bustype,jdbcType=VARCHAR},
|
|
|
320
|
+ busDate = #{busdate,jdbcType=TIMESTAMP},
|
|
|
321
|
+ busWeight = #{busweight,jdbcType=DECIMAL},
|
|
|
322
|
+ busPiece = #{buspiece,jdbcType=INTEGER},
|
|
|
323
|
+ operType = #{opertype,jdbcType=VARCHAR},
|
|
|
324
|
+ cusMsgId = #{cusmsgid,jdbcType=VARCHAR},
|
|
|
325
|
+ cusSenderId = #{cussenderid,jdbcType=VARCHAR},
|
|
|
326
|
+ cusReciverId = #{cusreciverid,jdbcType=VARCHAR},
|
|
|
327
|
+ cusVersion = #{cusversion,jdbcType=VARCHAR},
|
|
|
328
|
+ cusFunctionCode = #{cusfunctioncode,jdbcType=VARCHAR},
|
|
|
329
|
+ cusResRcvTime = #{cusresrcvtime,jdbcType=TIMESTAMP},
|
|
|
330
|
+ cusResSendTime = #{cusressendtime,jdbcType=TIMESTAMP},
|
|
|
331
|
+ cusResCode = #{cusrescode,jdbcType=VARCHAR},
|
|
|
332
|
+ cusResStatus = #{cusresstatus,jdbcType=VARCHAR},
|
|
|
333
|
+ operUserName = #{operusername,jdbcType=VARCHAR},
|
|
|
334
|
+ operSystemName = #{opersystemname,jdbcType=VARCHAR}
|
|
|
335
|
+ where id = #{id,jdbcType=VARCHAR}
|
299
|
</update>
|
336
|
</update>
|
300
|
</mapper> |
337
|
</mapper> |