|
|
1
|
+<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
2
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
3
|
+<mapper namespace="com.tianbo.analysis.dao.TRANSTOARRIVEEXPORTMapper" >
|
|
|
4
|
+ <resultMap id="BaseResultMap" type="com.tianbo.analysis.model.TRANSTOARRIVEEXPORT" >
|
|
|
5
|
+ <id column="AUTOID" property="autoid" jdbcType="VARCHAR" />
|
|
|
6
|
+ <result column="IEFlag" property="ieflag" jdbcType="VARCHAR" />
|
|
|
7
|
+ <result column="SeqNo" property="seqno" jdbcType="VARCHAR" />
|
|
|
8
|
+ <result column="CustomsCode" property="customscode" jdbcType="VARCHAR" />
|
|
|
9
|
+ <result column="InputOpId" property="inputopid" jdbcType="OTHER" />
|
|
|
10
|
+ <result column="InputOpName" property="inputopname" jdbcType="VARCHAR" />
|
|
|
11
|
+ <result column="ApplyName" property="applyname" jdbcType="VARCHAR" />
|
|
|
12
|
+ <result column="ApplyCode" property="applycode" jdbcType="VARCHAR" />
|
|
|
13
|
+ <result column="CopCode" property="copcode" jdbcType="VARCHAR" />
|
|
|
14
|
+ <result column="ArriveNo" property="arriveno" jdbcType="VARCHAR" />
|
|
|
15
|
+ <result column="ContaId" property="contaid" jdbcType="VARCHAR" />
|
|
|
16
|
+ <result column="BillNo" property="billno" jdbcType="VARCHAR" />
|
|
|
17
|
+ <result column="TrafMode" property="trafmode" jdbcType="VARCHAR" />
|
|
|
18
|
+ <result column="TrafName" property="trafname" jdbcType="VARCHAR" />
|
|
|
19
|
+ <result column="VoyageNo" property="voyageno" jdbcType="VARCHAR" />
|
|
|
20
|
+ <result column="TrafWay" property="trafway" jdbcType="VARCHAR" />
|
|
|
21
|
+ <result column="PackNo" property="packno" jdbcType="VARCHAR" />
|
|
|
22
|
+ <result column="GrossWt" property="grosswt" jdbcType="VARCHAR" />
|
|
|
23
|
+ <result column="UnloadCode" property="unloadcode" jdbcType="VARCHAR" />
|
|
|
24
|
+ <result column="ArriveTime" property="arrivetime" jdbcType="TIMESTAMP" />
|
|
|
25
|
+ <result column="ContaType" property="contatype" jdbcType="VARCHAR" />
|
|
|
26
|
+ <result column="TrnMode" property="trnmode" jdbcType="VARCHAR" />
|
|
|
27
|
+ <result column="Notes" property="notes" jdbcType="VARCHAR" />
|
|
|
28
|
+ <result column="OperType" property="opertype" jdbcType="VARCHAR" />
|
|
|
29
|
+ <result column="Sign" property="sign" jdbcType="VARCHAR" />
|
|
|
30
|
+ <result column="SignDate" property="signdate" jdbcType="TIMESTAMP" />
|
|
|
31
|
+ <result column="ClientSeqNo" property="clientseqno" jdbcType="VARCHAR" />
|
|
|
32
|
+ <result column="HostId" property="hostid" jdbcType="VARCHAR" />
|
|
|
33
|
+ <result column="CertNo" property="certno" jdbcType="VARCHAR" />
|
|
|
34
|
+ <result column="USERNAME" property="username" jdbcType="VARCHAR" />
|
|
|
35
|
+ <result column="CREATTIME" property="creattime" jdbcType="TIMESTAMP" />
|
|
|
36
|
+ <result column="DSTATUS" property="dstatus" jdbcType="VARCHAR" />
|
|
|
37
|
+ <result column="CUSTOM_RESPONSE_TEXT" property="customResponseText" jdbcType="VARCHAR" />
|
|
|
38
|
+ <result column="CUSTOM_RESPONSE_STATUS" property="customResponseStatus" jdbcType="VARCHAR" />
|
|
|
39
|
+ <result column="UPDATETIME" property="updatetime" jdbcType="TIMESTAMP" />
|
|
|
40
|
+ </resultMap>
|
|
|
41
|
+ <sql id="Base_Column_List" >
|
|
|
42
|
+ AUTOID, IEFlag, SeqNo, CustomsCode, InputOpId, InputOpName, ApplyName, ApplyCode,
|
|
|
43
|
+ CopCode, ArriveNo, ContaId, BillNo, TrafMode, TrafName, VoyageNo, TrafWay, PackNo,
|
|
|
44
|
+ GrossWt, UnloadCode, ArriveTime, ContaType, TrnMode, Notes, OperType, Sign, SignDate,
|
|
|
45
|
+ ClientSeqNo, HostId, CertNo, USERNAME, CREATTIME, DSTATUS, CUSTOM_RESPONSE_TEXT,
|
|
|
46
|
+ CUSTOM_RESPONSE_STATUS, UPDATETIME
|
|
|
47
|
+ </sql>
|
|
|
48
|
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
49
|
+ select
|
|
|
50
|
+ <include refid="Base_Column_List" />
|
|
|
51
|
+ from CGONMS.TRANS_TO_ARRIVE_EXPORT
|
|
|
52
|
+ where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
53
|
+ </select>
|
|
|
54
|
+ <select id="selectTrans" parameterType="com.tianbo.analysis.model.TRANSTOARRIVEEXPORT" resultMap="BaseResultMap">
|
|
|
55
|
+ select
|
|
|
56
|
+ <include refid="Base_Column_List" />
|
|
|
57
|
+ from CGONMS.TRANS_TO_ARRIVE_EXPORT
|
|
|
58
|
+ where 1=1
|
|
|
59
|
+ <if test="customscode != null" >
|
|
|
60
|
+ and CustomsCode = #{customscode,jdbcType=VARCHAR}
|
|
|
61
|
+ </if>
|
|
|
62
|
+ <if test="username != null" >
|
|
|
63
|
+ and USERNAME = #{username,jdbcType=VARCHAR}
|
|
|
64
|
+ </if>
|
|
|
65
|
+ <if test="trafmode != null" >
|
|
|
66
|
+ and TrafMode = #{trafmode,jdbcType=VARCHAR}
|
|
|
67
|
+ </if>
|
|
|
68
|
+ <if test="unloadcode != null" >
|
|
|
69
|
+ and UnloadCode = #{unloadcode,jdbcType=VARCHAR}
|
|
|
70
|
+ </if>
|
|
|
71
|
+ <if test="creattime != null" >
|
|
|
72
|
+ and #{creattime,jdbcType=TIMESTAMP}
|
|
|
73
|
+ </if>
|
|
|
74
|
+ </select>
|
|
|
75
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
76
|
+ delete from CGONMS.TRANS_TO_ARRIVE_EXPORT
|
|
|
77
|
+ where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
78
|
+ </delete>
|
|
|
79
|
+ <insert id="insert" parameterType="com.tianbo.analysis.model.TRANSTOARRIVEEXPORT" >
|
|
|
80
|
+ insert into CGONMS.TRANS_TO_ARRIVE_EXPORT (AUTOID, IEFlag, SeqNo,
|
|
|
81
|
+ CustomsCode, InputOpId, InputOpName,
|
|
|
82
|
+ ApplyName, ApplyCode, CopCode,
|
|
|
83
|
+ ArriveNo, ContaId, BillNo,
|
|
|
84
|
+ TrafMode, TrafName, VoyageNo,
|
|
|
85
|
+ TrafWay, PackNo, GrossWt,
|
|
|
86
|
+ UnloadCode, ArriveTime, ContaType,
|
|
|
87
|
+ TrnMode, Notes, OperType,
|
|
|
88
|
+ Sign, SignDate, ClientSeqNo,
|
|
|
89
|
+ HostId, CertNo, USERNAME,
|
|
|
90
|
+ CREATTIME, DSTATUS, CUSTOM_RESPONSE_TEXT,
|
|
|
91
|
+ CUSTOM_RESPONSE_STATUS, UPDATETIME)
|
|
|
92
|
+ values (#{autoid,jdbcType=VARCHAR}, #{ieflag,jdbcType=VARCHAR}, #{seqno,jdbcType=VARCHAR},
|
|
|
93
|
+ #{customscode,jdbcType=VARCHAR}, #{inputopid,jdbcType=OTHER}, #{inputopname,jdbcType=VARCHAR},
|
|
|
94
|
+ #{applyname,jdbcType=VARCHAR}, #{applycode,jdbcType=VARCHAR}, #{copcode,jdbcType=VARCHAR},
|
|
|
95
|
+ #{arriveno,jdbcType=VARCHAR}, #{contaid,jdbcType=VARCHAR}, #{billno,jdbcType=VARCHAR},
|
|
|
96
|
+ #{trafmode,jdbcType=VARCHAR}, #{trafname,jdbcType=VARCHAR}, #{voyageno,jdbcType=VARCHAR},
|
|
|
97
|
+ #{trafway,jdbcType=VARCHAR}, #{packno,jdbcType=VARCHAR}, #{grosswt,jdbcType=VARCHAR},
|
|
|
98
|
+ #{unloadcode,jdbcType=VARCHAR}, #{arrivetime,jdbcType=TIMESTAMP}, #{contatype,jdbcType=VARCHAR},
|
|
|
99
|
+ #{trnmode,jdbcType=VARCHAR}, #{notes,jdbcType=VARCHAR}, #{opertype,jdbcType=VARCHAR},
|
|
|
100
|
+ #{sign,jdbcType=VARCHAR}, #{signdate,jdbcType=TIMESTAMP}, #{clientseqno,jdbcType=VARCHAR},
|
|
|
101
|
+ #{hostid,jdbcType=VARCHAR}, #{certno,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR},
|
|
|
102
|
+ #{creattime,jdbcType=TIMESTAMP}, #{dstatus,jdbcType=VARCHAR}, #{customResponseText,jdbcType=VARCHAR},
|
|
|
103
|
+ #{customResponseStatus,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP})
|
|
|
104
|
+ </insert>
|
|
|
105
|
+ <insert id="insertSelective" parameterType="com.tianbo.analysis.model.TRANSTOARRIVEEXPORT" >
|
|
|
106
|
+ insert into CGONMS.TRANS_TO_ARRIVE_EXPORT
|
|
|
107
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
108
|
+ <if test="autoid != null" >
|
|
|
109
|
+ AUTOID,
|
|
|
110
|
+ </if>
|
|
|
111
|
+ <if test="ieflag != null" >
|
|
|
112
|
+ IEFlag,
|
|
|
113
|
+ </if>
|
|
|
114
|
+ <if test="seqno != null" >
|
|
|
115
|
+ SeqNo,
|
|
|
116
|
+ </if>
|
|
|
117
|
+ <if test="customscode != null" >
|
|
|
118
|
+ CustomsCode,
|
|
|
119
|
+ </if>
|
|
|
120
|
+ <if test="inputopid != null" >
|
|
|
121
|
+ InputOpId,
|
|
|
122
|
+ </if>
|
|
|
123
|
+ <if test="inputopname != null" >
|
|
|
124
|
+ InputOpName,
|
|
|
125
|
+ </if>
|
|
|
126
|
+ <if test="applyname != null" >
|
|
|
127
|
+ ApplyName,
|
|
|
128
|
+ </if>
|
|
|
129
|
+ <if test="applycode != null" >
|
|
|
130
|
+ ApplyCode,
|
|
|
131
|
+ </if>
|
|
|
132
|
+ <if test="copcode != null" >
|
|
|
133
|
+ CopCode,
|
|
|
134
|
+ </if>
|
|
|
135
|
+ <if test="arriveno != null" >
|
|
|
136
|
+ ArriveNo,
|
|
|
137
|
+ </if>
|
|
|
138
|
+ <if test="contaid != null" >
|
|
|
139
|
+ ContaId,
|
|
|
140
|
+ </if>
|
|
|
141
|
+ <if test="billno != null" >
|
|
|
142
|
+ BillNo,
|
|
|
143
|
+ </if>
|
|
|
144
|
+ <if test="trafmode != null" >
|
|
|
145
|
+ TrafMode,
|
|
|
146
|
+ </if>
|
|
|
147
|
+ <if test="trafname != null" >
|
|
|
148
|
+ TrafName,
|
|
|
149
|
+ </if>
|
|
|
150
|
+ <if test="voyageno != null" >
|
|
|
151
|
+ VoyageNo,
|
|
|
152
|
+ </if>
|
|
|
153
|
+ <if test="trafway != null" >
|
|
|
154
|
+ TrafWay,
|
|
|
155
|
+ </if>
|
|
|
156
|
+ <if test="packno != null" >
|
|
|
157
|
+ PackNo,
|
|
|
158
|
+ </if>
|
|
|
159
|
+ <if test="grosswt != null" >
|
|
|
160
|
+ GrossWt,
|
|
|
161
|
+ </if>
|
|
|
162
|
+ <if test="unloadcode != null" >
|
|
|
163
|
+ UnloadCode,
|
|
|
164
|
+ </if>
|
|
|
165
|
+ <if test="arrivetime != null" >
|
|
|
166
|
+ ArriveTime,
|
|
|
167
|
+ </if>
|
|
|
168
|
+ <if test="contatype != null" >
|
|
|
169
|
+ ContaType,
|
|
|
170
|
+ </if>
|
|
|
171
|
+ <if test="trnmode != null" >
|
|
|
172
|
+ TrnMode,
|
|
|
173
|
+ </if>
|
|
|
174
|
+ <if test="notes != null" >
|
|
|
175
|
+ Notes,
|
|
|
176
|
+ </if>
|
|
|
177
|
+ <if test="opertype != null" >
|
|
|
178
|
+ OperType,
|
|
|
179
|
+ </if>
|
|
|
180
|
+ <if test="sign != null" >
|
|
|
181
|
+ Sign,
|
|
|
182
|
+ </if>
|
|
|
183
|
+ <if test="signdate != null" >
|
|
|
184
|
+ SignDate,
|
|
|
185
|
+ </if>
|
|
|
186
|
+ <if test="clientseqno != null" >
|
|
|
187
|
+ ClientSeqNo,
|
|
|
188
|
+ </if>
|
|
|
189
|
+ <if test="hostid != null" >
|
|
|
190
|
+ HostId,
|
|
|
191
|
+ </if>
|
|
|
192
|
+ <if test="certno != null" >
|
|
|
193
|
+ CertNo,
|
|
|
194
|
+ </if>
|
|
|
195
|
+ <if test="username != null" >
|
|
|
196
|
+ USERNAME,
|
|
|
197
|
+ </if>
|
|
|
198
|
+ <if test="creattime != null" >
|
|
|
199
|
+ CREATTIME,
|
|
|
200
|
+ </if>
|
|
|
201
|
+ <if test="dstatus != null" >
|
|
|
202
|
+ DSTATUS,
|
|
|
203
|
+ </if>
|
|
|
204
|
+ <if test="customResponseText != null" >
|
|
|
205
|
+ CUSTOM_RESPONSE_TEXT,
|
|
|
206
|
+ </if>
|
|
|
207
|
+ <if test="customResponseStatus != null" >
|
|
|
208
|
+ CUSTOM_RESPONSE_STATUS,
|
|
|
209
|
+ </if>
|
|
|
210
|
+ <if test="updatetime != null" >
|
|
|
211
|
+ UPDATETIME,
|
|
|
212
|
+ </if>
|
|
|
213
|
+ </trim>
|
|
|
214
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
215
|
+ <if test="autoid != null" >
|
|
|
216
|
+ #{autoid,jdbcType=VARCHAR},
|
|
|
217
|
+ </if>
|
|
|
218
|
+ <if test="ieflag != null" >
|
|
|
219
|
+ #{ieflag,jdbcType=VARCHAR},
|
|
|
220
|
+ </if>
|
|
|
221
|
+ <if test="seqno != null" >
|
|
|
222
|
+ #{seqno,jdbcType=VARCHAR},
|
|
|
223
|
+ </if>
|
|
|
224
|
+ <if test="customscode != null" >
|
|
|
225
|
+ #{customscode,jdbcType=VARCHAR},
|
|
|
226
|
+ </if>
|
|
|
227
|
+ <if test="inputopid != null" >
|
|
|
228
|
+ #{inputopid,jdbcType=OTHER},
|
|
|
229
|
+ </if>
|
|
|
230
|
+ <if test="inputopname != null" >
|
|
|
231
|
+ #{inputopname,jdbcType=VARCHAR},
|
|
|
232
|
+ </if>
|
|
|
233
|
+ <if test="applyname != null" >
|
|
|
234
|
+ #{applyname,jdbcType=VARCHAR},
|
|
|
235
|
+ </if>
|
|
|
236
|
+ <if test="applycode != null" >
|
|
|
237
|
+ #{applycode,jdbcType=VARCHAR},
|
|
|
238
|
+ </if>
|
|
|
239
|
+ <if test="copcode != null" >
|
|
|
240
|
+ #{copcode,jdbcType=VARCHAR},
|
|
|
241
|
+ </if>
|
|
|
242
|
+ <if test="arriveno != null" >
|
|
|
243
|
+ #{arriveno,jdbcType=VARCHAR},
|
|
|
244
|
+ </if>
|
|
|
245
|
+ <if test="contaid != null" >
|
|
|
246
|
+ #{contaid,jdbcType=VARCHAR},
|
|
|
247
|
+ </if>
|
|
|
248
|
+ <if test="billno != null" >
|
|
|
249
|
+ #{billno,jdbcType=VARCHAR},
|
|
|
250
|
+ </if>
|
|
|
251
|
+ <if test="trafmode != null" >
|
|
|
252
|
+ #{trafmode,jdbcType=VARCHAR},
|
|
|
253
|
+ </if>
|
|
|
254
|
+ <if test="trafname != null" >
|
|
|
255
|
+ #{trafname,jdbcType=VARCHAR},
|
|
|
256
|
+ </if>
|
|
|
257
|
+ <if test="voyageno != null" >
|
|
|
258
|
+ #{voyageno,jdbcType=VARCHAR},
|
|
|
259
|
+ </if>
|
|
|
260
|
+ <if test="trafway != null" >
|
|
|
261
|
+ #{trafway,jdbcType=VARCHAR},
|
|
|
262
|
+ </if>
|
|
|
263
|
+ <if test="packno != null" >
|
|
|
264
|
+ #{packno,jdbcType=VARCHAR},
|
|
|
265
|
+ </if>
|
|
|
266
|
+ <if test="grosswt != null" >
|
|
|
267
|
+ #{grosswt,jdbcType=VARCHAR},
|
|
|
268
|
+ </if>
|
|
|
269
|
+ <if test="unloadcode != null" >
|
|
|
270
|
+ #{unloadcode,jdbcType=VARCHAR},
|
|
|
271
|
+ </if>
|
|
|
272
|
+ <if test="arrivetime != null" >
|
|
|
273
|
+ #{arrivetime,jdbcType=TIMESTAMP},
|
|
|
274
|
+ </if>
|
|
|
275
|
+ <if test="contatype != null" >
|
|
|
276
|
+ #{contatype,jdbcType=VARCHAR},
|
|
|
277
|
+ </if>
|
|
|
278
|
+ <if test="trnmode != null" >
|
|
|
279
|
+ #{trnmode,jdbcType=VARCHAR},
|
|
|
280
|
+ </if>
|
|
|
281
|
+ <if test="notes != null" >
|
|
|
282
|
+ #{notes,jdbcType=VARCHAR},
|
|
|
283
|
+ </if>
|
|
|
284
|
+ <if test="opertype != null" >
|
|
|
285
|
+ #{opertype,jdbcType=VARCHAR},
|
|
|
286
|
+ </if>
|
|
|
287
|
+ <if test="sign != null" >
|
|
|
288
|
+ #{sign,jdbcType=VARCHAR},
|
|
|
289
|
+ </if>
|
|
|
290
|
+ <if test="signdate != null" >
|
|
|
291
|
+ #{signdate,jdbcType=TIMESTAMP},
|
|
|
292
|
+ </if>
|
|
|
293
|
+ <if test="clientseqno != null" >
|
|
|
294
|
+ #{clientseqno,jdbcType=VARCHAR},
|
|
|
295
|
+ </if>
|
|
|
296
|
+ <if test="hostid != null" >
|
|
|
297
|
+ #{hostid,jdbcType=VARCHAR},
|
|
|
298
|
+ </if>
|
|
|
299
|
+ <if test="certno != null" >
|
|
|
300
|
+ #{certno,jdbcType=VARCHAR},
|
|
|
301
|
+ </if>
|
|
|
302
|
+ <if test="username != null" >
|
|
|
303
|
+ #{username,jdbcType=VARCHAR},
|
|
|
304
|
+ </if>
|
|
|
305
|
+ <if test="creattime != null" >
|
|
|
306
|
+ #{creattime,jdbcType=TIMESTAMP},
|
|
|
307
|
+ </if>
|
|
|
308
|
+ <if test="dstatus != null" >
|
|
|
309
|
+ #{dstatus,jdbcType=VARCHAR},
|
|
|
310
|
+ </if>
|
|
|
311
|
+ <if test="customResponseText != null" >
|
|
|
312
|
+ #{customResponseText,jdbcType=VARCHAR},
|
|
|
313
|
+ </if>
|
|
|
314
|
+ <if test="customResponseStatus != null" >
|
|
|
315
|
+ #{customResponseStatus,jdbcType=VARCHAR},
|
|
|
316
|
+ </if>
|
|
|
317
|
+ <if test="updatetime != null" >
|
|
|
318
|
+ #{updatetime,jdbcType=TIMESTAMP},
|
|
|
319
|
+ </if>
|
|
|
320
|
+ </trim>
|
|
|
321
|
+ </insert>
|
|
|
322
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.tianbo.analysis.model.TRANSTOARRIVEEXPORT" >
|
|
|
323
|
+ update CGONMS.TRANS_TO_ARRIVE_EXPORT
|
|
|
324
|
+ <set >
|
|
|
325
|
+ <if test="ieflag != null" >
|
|
|
326
|
+ IEFlag = #{ieflag,jdbcType=VARCHAR},
|
|
|
327
|
+ </if>
|
|
|
328
|
+ <if test="seqno != null" >
|
|
|
329
|
+ SeqNo = #{seqno,jdbcType=VARCHAR},
|
|
|
330
|
+ </if>
|
|
|
331
|
+ <if test="customscode != null" >
|
|
|
332
|
+ CustomsCode = #{customscode,jdbcType=VARCHAR},
|
|
|
333
|
+ </if>
|
|
|
334
|
+ <if test="inputopid != null" >
|
|
|
335
|
+ InputOpId = #{inputopid,jdbcType=OTHER},
|
|
|
336
|
+ </if>
|
|
|
337
|
+ <if test="inputopname != null" >
|
|
|
338
|
+ InputOpName = #{inputopname,jdbcType=VARCHAR},
|
|
|
339
|
+ </if>
|
|
|
340
|
+ <if test="applyname != null" >
|
|
|
341
|
+ ApplyName = #{applyname,jdbcType=VARCHAR},
|
|
|
342
|
+ </if>
|
|
|
343
|
+ <if test="applycode != null" >
|
|
|
344
|
+ ApplyCode = #{applycode,jdbcType=VARCHAR},
|
|
|
345
|
+ </if>
|
|
|
346
|
+ <if test="copcode != null" >
|
|
|
347
|
+ CopCode = #{copcode,jdbcType=VARCHAR},
|
|
|
348
|
+ </if>
|
|
|
349
|
+ <if test="arriveno != null" >
|
|
|
350
|
+ ArriveNo = #{arriveno,jdbcType=VARCHAR},
|
|
|
351
|
+ </if>
|
|
|
352
|
+ <if test="contaid != null" >
|
|
|
353
|
+ ContaId = #{contaid,jdbcType=VARCHAR},
|
|
|
354
|
+ </if>
|
|
|
355
|
+ <if test="billno != null" >
|
|
|
356
|
+ BillNo = #{billno,jdbcType=VARCHAR},
|
|
|
357
|
+ </if>
|
|
|
358
|
+ <if test="trafmode != null" >
|
|
|
359
|
+ TrafMode = #{trafmode,jdbcType=VARCHAR},
|
|
|
360
|
+ </if>
|
|
|
361
|
+ <if test="trafname != null" >
|
|
|
362
|
+ TrafName = #{trafname,jdbcType=VARCHAR},
|
|
|
363
|
+ </if>
|
|
|
364
|
+ <if test="voyageno != null" >
|
|
|
365
|
+ VoyageNo = #{voyageno,jdbcType=VARCHAR},
|
|
|
366
|
+ </if>
|
|
|
367
|
+ <if test="trafway != null" >
|
|
|
368
|
+ TrafWay = #{trafway,jdbcType=VARCHAR},
|
|
|
369
|
+ </if>
|
|
|
370
|
+ <if test="packno != null" >
|
|
|
371
|
+ PackNo = #{packno,jdbcType=VARCHAR},
|
|
|
372
|
+ </if>
|
|
|
373
|
+ <if test="grosswt != null" >
|
|
|
374
|
+ GrossWt = #{grosswt,jdbcType=VARCHAR},
|
|
|
375
|
+ </if>
|
|
|
376
|
+ <if test="unloadcode != null" >
|
|
|
377
|
+ UnloadCode = #{unloadcode,jdbcType=VARCHAR},
|
|
|
378
|
+ </if>
|
|
|
379
|
+ <if test="arrivetime != null" >
|
|
|
380
|
+ ArriveTime = #{arrivetime,jdbcType=TIMESTAMP},
|
|
|
381
|
+ </if>
|
|
|
382
|
+ <if test="contatype != null" >
|
|
|
383
|
+ ContaType = #{contatype,jdbcType=VARCHAR},
|
|
|
384
|
+ </if>
|
|
|
385
|
+ <if test="trnmode != null" >
|
|
|
386
|
+ TrnMode = #{trnmode,jdbcType=VARCHAR},
|
|
|
387
|
+ </if>
|
|
|
388
|
+ <if test="notes != null" >
|
|
|
389
|
+ Notes = #{notes,jdbcType=VARCHAR},
|
|
|
390
|
+ </if>
|
|
|
391
|
+ <if test="opertype != null" >
|
|
|
392
|
+ OperType = #{opertype,jdbcType=VARCHAR},
|
|
|
393
|
+ </if>
|
|
|
394
|
+ <if test="sign != null" >
|
|
|
395
|
+ Sign = #{sign,jdbcType=VARCHAR},
|
|
|
396
|
+ </if>
|
|
|
397
|
+ <if test="signdate != null" >
|
|
|
398
|
+ SignDate = #{signdate,jdbcType=TIMESTAMP},
|
|
|
399
|
+ </if>
|
|
|
400
|
+ <if test="clientseqno != null" >
|
|
|
401
|
+ ClientSeqNo = #{clientseqno,jdbcType=VARCHAR},
|
|
|
402
|
+ </if>
|
|
|
403
|
+ <if test="hostid != null" >
|
|
|
404
|
+ HostId = #{hostid,jdbcType=VARCHAR},
|
|
|
405
|
+ </if>
|
|
|
406
|
+ <if test="certno != null" >
|
|
|
407
|
+ CertNo = #{certno,jdbcType=VARCHAR},
|
|
|
408
|
+ </if>
|
|
|
409
|
+ <if test="username != null" >
|
|
|
410
|
+ USERNAME = #{username,jdbcType=VARCHAR},
|
|
|
411
|
+ </if>
|
|
|
412
|
+ <if test="creattime != null" >
|
|
|
413
|
+ CREATTIME = #{creattime,jdbcType=TIMESTAMP},
|
|
|
414
|
+ </if>
|
|
|
415
|
+ <if test="dstatus != null" >
|
|
|
416
|
+ DSTATUS = #{dstatus,jdbcType=VARCHAR},
|
|
|
417
|
+ </if>
|
|
|
418
|
+ <if test="customResponseText != null" >
|
|
|
419
|
+ CUSTOM_RESPONSE_TEXT = #{customResponseText,jdbcType=VARCHAR},
|
|
|
420
|
+ </if>
|
|
|
421
|
+ <if test="customResponseStatus != null" >
|
|
|
422
|
+ CUSTOM_RESPONSE_STATUS = #{customResponseStatus,jdbcType=VARCHAR},
|
|
|
423
|
+ </if>
|
|
|
424
|
+ <if test="updatetime != null" >
|
|
|
425
|
+ UPDATETIME = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
426
|
+ </if>
|
|
|
427
|
+ </set>
|
|
|
428
|
+ where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
429
|
+ </update>
|
|
|
430
|
+ <update id="updateByPrimaryKey" parameterType="com.tianbo.analysis.model.TRANSTOARRIVEEXPORT" >
|
|
|
431
|
+ update CGONMS.TRANS_TO_ARRIVE_EXPORT
|
|
|
432
|
+ set IEFlag = #{ieflag,jdbcType=VARCHAR},
|
|
|
433
|
+ SeqNo = #{seqno,jdbcType=VARCHAR},
|
|
|
434
|
+ CustomsCode = #{customscode,jdbcType=VARCHAR},
|
|
|
435
|
+ InputOpId = #{inputopid,jdbcType=OTHER},
|
|
|
436
|
+ InputOpName = #{inputopname,jdbcType=VARCHAR},
|
|
|
437
|
+ ApplyName = #{applyname,jdbcType=VARCHAR},
|
|
|
438
|
+ ApplyCode = #{applycode,jdbcType=VARCHAR},
|
|
|
439
|
+ CopCode = #{copcode,jdbcType=VARCHAR},
|
|
|
440
|
+ ArriveNo = #{arriveno,jdbcType=VARCHAR},
|
|
|
441
|
+ ContaId = #{contaid,jdbcType=VARCHAR},
|
|
|
442
|
+ BillNo = #{billno,jdbcType=VARCHAR},
|
|
|
443
|
+ TrafMode = #{trafmode,jdbcType=VARCHAR},
|
|
|
444
|
+ TrafName = #{trafname,jdbcType=VARCHAR},
|
|
|
445
|
+ VoyageNo = #{voyageno,jdbcType=VARCHAR},
|
|
|
446
|
+ TrafWay = #{trafway,jdbcType=VARCHAR},
|
|
|
447
|
+ PackNo = #{packno,jdbcType=VARCHAR},
|
|
|
448
|
+ GrossWt = #{grosswt,jdbcType=VARCHAR},
|
|
|
449
|
+ UnloadCode = #{unloadcode,jdbcType=VARCHAR},
|
|
|
450
|
+ ArriveTime = #{arrivetime,jdbcType=TIMESTAMP},
|
|
|
451
|
+ ContaType = #{contatype,jdbcType=VARCHAR},
|
|
|
452
|
+ TrnMode = #{trnmode,jdbcType=VARCHAR},
|
|
|
453
|
+ Notes = #{notes,jdbcType=VARCHAR},
|
|
|
454
|
+ OperType = #{opertype,jdbcType=VARCHAR},
|
|
|
455
|
+ Sign = #{sign,jdbcType=VARCHAR},
|
|
|
456
|
+ SignDate = #{signdate,jdbcType=TIMESTAMP},
|
|
|
457
|
+ ClientSeqNo = #{clientseqno,jdbcType=VARCHAR},
|
|
|
458
|
+ HostId = #{hostid,jdbcType=VARCHAR},
|
|
|
459
|
+ CertNo = #{certno,jdbcType=VARCHAR},
|
|
|
460
|
+ USERNAME = #{username,jdbcType=VARCHAR},
|
|
|
461
|
+ CREATTIME = #{creattime,jdbcType=TIMESTAMP},
|
|
|
462
|
+ DSTATUS = #{dstatus,jdbcType=VARCHAR},
|
|
|
463
|
+ CUSTOM_RESPONSE_TEXT = #{customResponseText,jdbcType=VARCHAR},
|
|
|
464
|
+ CUSTOM_RESPONSE_STATUS = #{customResponseStatus,jdbcType=VARCHAR},
|
|
|
465
|
+ UPDATETIME = #{updatetime,jdbcType=TIMESTAMP}
|
|
|
466
|
+ where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
467
|
+ </update>
|
|
|
468
|
+</mapper> |