|
|
@@ -0,0 +1,465 @@
|
|
|
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.chinaitop.depot.warningAndAlarm.mapper.StorageJkqWarningMapper">
|
|
|
4
|
+ <resultMap id="BaseResultMap" type="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
5
|
+ <id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
6
|
+ <result column="org_id" jdbcType="INTEGER" property="orgId" />
|
|
|
7
|
+ <result column="ch" jdbcType="INTEGER" property="ch" />
|
|
|
8
|
+ <result column="hwh" jdbcType="INTEGER" property="hwh" />
|
|
|
9
|
+ <result column="jhwh" jdbcType="VARCHAR" property="jhwh" />
|
|
|
10
|
+ <result column="lhnd" jdbcType="VARCHAR" property="lhnd" />
|
|
|
11
|
+ <result column="jkqzt" jdbcType="VARCHAR" property="jkqzt" />
|
|
|
12
|
+ <result column="jkqjzr" jdbcType="VARCHAR" property="jkqjzr" />
|
|
|
13
|
+ <result column="jzrqylrsl" jdbcType="DECIMAL" property="jzrqylrsl" />
|
|
|
14
|
+ <result column="jzrqsylrsl" jdbcType="DECIMAL" property="jzrqsylrsl" />
|
|
|
15
|
+ <result column="yjrq" jdbcType="VARCHAR" property="yjrq" />
|
|
|
16
|
+ <result column="clzt" jdbcType="VARCHAR" property="clzt" />
|
|
|
17
|
+ <result column="clr" jdbcType="VARCHAR" property="clr" />
|
|
|
18
|
+ <result column="clsj" jdbcType="TIMESTAMP" property="clsj" />
|
|
|
19
|
+ <result column="scsj" jdbcType="TIMESTAMP" property="scsj" />
|
|
|
20
|
+ <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" />
|
|
|
21
|
+ </resultMap>
|
|
|
22
|
+ <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
23
|
+ <result column="clyj" jdbcType="LONGVARCHAR" property="clyj" />
|
|
|
24
|
+ </resultMap>
|
|
|
25
|
+ <sql id="Example_Where_Clause">
|
|
|
26
|
+ <where>
|
|
|
27
|
+ <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
28
|
+ <if test="criteria.valid">
|
|
|
29
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
30
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
31
|
+ <choose>
|
|
|
32
|
+ <when test="criterion.noValue">
|
|
|
33
|
+ and ${criterion.condition}
|
|
|
34
|
+ </when>
|
|
|
35
|
+ <when test="criterion.singleValue">
|
|
|
36
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
37
|
+ </when>
|
|
|
38
|
+ <when test="criterion.betweenValue">
|
|
|
39
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
40
|
+ </when>
|
|
|
41
|
+ <when test="criterion.listValue">
|
|
|
42
|
+ and ${criterion.condition}
|
|
|
43
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
44
|
+ #{listItem}
|
|
|
45
|
+ </foreach>
|
|
|
46
|
+ </when>
|
|
|
47
|
+ </choose>
|
|
|
48
|
+ </foreach>
|
|
|
49
|
+ </trim>
|
|
|
50
|
+ </if>
|
|
|
51
|
+ </foreach>
|
|
|
52
|
+ </where>
|
|
|
53
|
+ </sql>
|
|
|
54
|
+ <sql id="Update_By_Example_Where_Clause">
|
|
|
55
|
+ <where>
|
|
|
56
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
57
|
+ <if test="criteria.valid">
|
|
|
58
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
59
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
60
|
+ <choose>
|
|
|
61
|
+ <when test="criterion.noValue">
|
|
|
62
|
+ and ${criterion.condition}
|
|
|
63
|
+ </when>
|
|
|
64
|
+ <when test="criterion.singleValue">
|
|
|
65
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
66
|
+ </when>
|
|
|
67
|
+ <when test="criterion.betweenValue">
|
|
|
68
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
69
|
+ </when>
|
|
|
70
|
+ <when test="criterion.listValue">
|
|
|
71
|
+ and ${criterion.condition}
|
|
|
72
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
73
|
+ #{listItem}
|
|
|
74
|
+ </foreach>
|
|
|
75
|
+ </when>
|
|
|
76
|
+ </choose>
|
|
|
77
|
+ </foreach>
|
|
|
78
|
+ </trim>
|
|
|
79
|
+ </if>
|
|
|
80
|
+ </foreach>
|
|
|
81
|
+ </where>
|
|
|
82
|
+ </sql>
|
|
|
83
|
+ <sql id="Base_Column_List">
|
|
|
84
|
+ id, org_id, ch, hwh, jhwh, lhnd, jkqzt, jkqjzr, jzrqylrsl, jzrqsylrsl, yjrq, clzt,
|
|
|
85
|
+ clr, clsj, scsj, updatetime
|
|
|
86
|
+ </sql>
|
|
|
87
|
+ <sql id="Blob_Column_List">
|
|
|
88
|
+ clyj
|
|
|
89
|
+ </sql>
|
|
|
90
|
+ <select id="selectByExampleWithBLOBs" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarningExample" resultMap="ResultMapWithBLOBs">
|
|
|
91
|
+ select
|
|
|
92
|
+ <if test="distinct">
|
|
|
93
|
+ distinct
|
|
|
94
|
+ </if>
|
|
|
95
|
+ <include refid="Base_Column_List" />
|
|
|
96
|
+ ,
|
|
|
97
|
+ <include refid="Blob_Column_List" />
|
|
|
98
|
+ from storage_jkq_warning
|
|
|
99
|
+ <if test="_parameter != null">
|
|
|
100
|
+ <include refid="Example_Where_Clause" />
|
|
|
101
|
+ </if>
|
|
|
102
|
+ <if test="orderByClause != null">
|
|
|
103
|
+ order by ${orderByClause}
|
|
|
104
|
+ </if>
|
|
|
105
|
+ </select>
|
|
|
106
|
+ <select id="selectByExample" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarningExample" resultMap="BaseResultMap">
|
|
|
107
|
+ select
|
|
|
108
|
+ <if test="distinct">
|
|
|
109
|
+ distinct
|
|
|
110
|
+ </if>
|
|
|
111
|
+ <include refid="Base_Column_List" />
|
|
|
112
|
+ from storage_jkq_warning
|
|
|
113
|
+ <if test="_parameter != null">
|
|
|
114
|
+ <include refid="Example_Where_Clause" />
|
|
|
115
|
+ </if>
|
|
|
116
|
+ <if test="orderByClause != null">
|
|
|
117
|
+ order by ${orderByClause}
|
|
|
118
|
+ </if>
|
|
|
119
|
+ </select>
|
|
|
120
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
|
|
121
|
+ select
|
|
|
122
|
+ <include refid="Base_Column_List" />
|
|
|
123
|
+ ,
|
|
|
124
|
+ <include refid="Blob_Column_List" />
|
|
|
125
|
+ from storage_jkq_warning
|
|
|
126
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
127
|
+ </select>
|
|
|
128
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
129
|
+ delete from storage_jkq_warning
|
|
|
130
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
131
|
+ </delete>
|
|
|
132
|
+ <delete id="deleteByExample" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarningExample">
|
|
|
133
|
+ delete from storage_jkq_warning
|
|
|
134
|
+ <if test="_parameter != null">
|
|
|
135
|
+ <include refid="Example_Where_Clause" />
|
|
|
136
|
+ </if>
|
|
|
137
|
+ </delete>
|
|
|
138
|
+ <insert id="insert" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
139
|
+ insert into storage_jkq_warning (id, org_id, ch,
|
|
|
140
|
+ hwh, jhwh, lhnd, jkqzt,
|
|
|
141
|
+ jkqjzr, jzrqylrsl, jzrqsylrsl,
|
|
|
142
|
+ yjrq, clzt, clr, clsj,
|
|
|
143
|
+ scsj, updatetime, clyj
|
|
|
144
|
+ )
|
|
|
145
|
+ values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{ch,jdbcType=INTEGER},
|
|
|
146
|
+ #{hwh,jdbcType=INTEGER}, #{jhwh,jdbcType=VARCHAR}, #{lhnd,jdbcType=VARCHAR}, #{jkqzt,jdbcType=VARCHAR},
|
|
|
147
|
+ #{jkqjzr,jdbcType=VARCHAR}, #{jzrqylrsl,jdbcType=DECIMAL}, #{jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
148
|
+ #{yjrq,jdbcType=VARCHAR}, #{clzt,jdbcType=VARCHAR}, #{clr,jdbcType=VARCHAR}, #{clsj,jdbcType=TIMESTAMP},
|
|
|
149
|
+ #{scsj,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{clyj,jdbcType=LONGVARCHAR}
|
|
|
150
|
+ )
|
|
|
151
|
+ </insert>
|
|
|
152
|
+ <insert id="insertSelective" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
153
|
+ insert into storage_jkq_warning
|
|
|
154
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
155
|
+ <if test="id != null">
|
|
|
156
|
+ id,
|
|
|
157
|
+ </if>
|
|
|
158
|
+ <if test="orgId != null">
|
|
|
159
|
+ org_id,
|
|
|
160
|
+ </if>
|
|
|
161
|
+ <if test="ch != null">
|
|
|
162
|
+ ch,
|
|
|
163
|
+ </if>
|
|
|
164
|
+ <if test="hwh != null">
|
|
|
165
|
+ hwh,
|
|
|
166
|
+ </if>
|
|
|
167
|
+ <if test="jhwh != null">
|
|
|
168
|
+ jhwh,
|
|
|
169
|
+ </if>
|
|
|
170
|
+ <if test="lhnd != null">
|
|
|
171
|
+ lhnd,
|
|
|
172
|
+ </if>
|
|
|
173
|
+ <if test="jkqzt != null">
|
|
|
174
|
+ jkqzt,
|
|
|
175
|
+ </if>
|
|
|
176
|
+ <if test="jkqjzr != null">
|
|
|
177
|
+ jkqjzr,
|
|
|
178
|
+ </if>
|
|
|
179
|
+ <if test="jzrqylrsl != null">
|
|
|
180
|
+ jzrqylrsl,
|
|
|
181
|
+ </if>
|
|
|
182
|
+ <if test="jzrqsylrsl != null">
|
|
|
183
|
+ jzrqsylrsl,
|
|
|
184
|
+ </if>
|
|
|
185
|
+ <if test="yjrq != null">
|
|
|
186
|
+ yjrq,
|
|
|
187
|
+ </if>
|
|
|
188
|
+ <if test="clzt != null">
|
|
|
189
|
+ clzt,
|
|
|
190
|
+ </if>
|
|
|
191
|
+ <if test="clr != null">
|
|
|
192
|
+ clr,
|
|
|
193
|
+ </if>
|
|
|
194
|
+ <if test="clsj != null">
|
|
|
195
|
+ clsj,
|
|
|
196
|
+ </if>
|
|
|
197
|
+ <if test="scsj != null">
|
|
|
198
|
+ scsj,
|
|
|
199
|
+ </if>
|
|
|
200
|
+ <if test="updatetime != null">
|
|
|
201
|
+ updatetime,
|
|
|
202
|
+ </if>
|
|
|
203
|
+ <if test="clyj != null">
|
|
|
204
|
+ clyj,
|
|
|
205
|
+ </if>
|
|
|
206
|
+ </trim>
|
|
|
207
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
208
|
+ <if test="id != null">
|
|
|
209
|
+ #{id,jdbcType=VARCHAR},
|
|
|
210
|
+ </if>
|
|
|
211
|
+ <if test="orgId != null">
|
|
|
212
|
+ #{orgId,jdbcType=INTEGER},
|
|
|
213
|
+ </if>
|
|
|
214
|
+ <if test="ch != null">
|
|
|
215
|
+ #{ch,jdbcType=INTEGER},
|
|
|
216
|
+ </if>
|
|
|
217
|
+ <if test="hwh != null">
|
|
|
218
|
+ #{hwh,jdbcType=INTEGER},
|
|
|
219
|
+ </if>
|
|
|
220
|
+ <if test="jhwh != null">
|
|
|
221
|
+ #{jhwh,jdbcType=VARCHAR},
|
|
|
222
|
+ </if>
|
|
|
223
|
+ <if test="lhnd != null">
|
|
|
224
|
+ #{lhnd,jdbcType=VARCHAR},
|
|
|
225
|
+ </if>
|
|
|
226
|
+ <if test="jkqzt != null">
|
|
|
227
|
+ #{jkqzt,jdbcType=VARCHAR},
|
|
|
228
|
+ </if>
|
|
|
229
|
+ <if test="jkqjzr != null">
|
|
|
230
|
+ #{jkqjzr,jdbcType=VARCHAR},
|
|
|
231
|
+ </if>
|
|
|
232
|
+ <if test="jzrqylrsl != null">
|
|
|
233
|
+ #{jzrqylrsl,jdbcType=DECIMAL},
|
|
|
234
|
+ </if>
|
|
|
235
|
+ <if test="jzrqsylrsl != null">
|
|
|
236
|
+ #{jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
237
|
+ </if>
|
|
|
238
|
+ <if test="yjrq != null">
|
|
|
239
|
+ #{yjrq,jdbcType=VARCHAR},
|
|
|
240
|
+ </if>
|
|
|
241
|
+ <if test="clzt != null">
|
|
|
242
|
+ #{clzt,jdbcType=VARCHAR},
|
|
|
243
|
+ </if>
|
|
|
244
|
+ <if test="clr != null">
|
|
|
245
|
+ #{clr,jdbcType=VARCHAR},
|
|
|
246
|
+ </if>
|
|
|
247
|
+ <if test="clsj != null">
|
|
|
248
|
+ #{clsj,jdbcType=TIMESTAMP},
|
|
|
249
|
+ </if>
|
|
|
250
|
+ <if test="scsj != null">
|
|
|
251
|
+ #{scsj,jdbcType=TIMESTAMP},
|
|
|
252
|
+ </if>
|
|
|
253
|
+ <if test="updatetime != null">
|
|
|
254
|
+ #{updatetime,jdbcType=TIMESTAMP},
|
|
|
255
|
+ </if>
|
|
|
256
|
+ <if test="clyj != null">
|
|
|
257
|
+ #{clyj,jdbcType=LONGVARCHAR},
|
|
|
258
|
+ </if>
|
|
|
259
|
+ </trim>
|
|
|
260
|
+ </insert>
|
|
|
261
|
+ <select id="countByExample" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarningExample" resultType="java.lang.Integer">
|
|
|
262
|
+ select count(*) from storage_jkq_warning
|
|
|
263
|
+ <if test="_parameter != null">
|
|
|
264
|
+ <include refid="Example_Where_Clause" />
|
|
|
265
|
+ </if>
|
|
|
266
|
+ </select>
|
|
|
267
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
268
|
+ update storage_jkq_warning
|
|
|
269
|
+ <set>
|
|
|
270
|
+ <if test="record.id != null">
|
|
|
271
|
+ id = #{record.id,jdbcType=VARCHAR},
|
|
|
272
|
+ </if>
|
|
|
273
|
+ <if test="record.orgId != null">
|
|
|
274
|
+ org_id = #{record.orgId,jdbcType=INTEGER},
|
|
|
275
|
+ </if>
|
|
|
276
|
+ <if test="record.ch != null">
|
|
|
277
|
+ ch = #{record.ch,jdbcType=INTEGER},
|
|
|
278
|
+ </if>
|
|
|
279
|
+ <if test="record.hwh != null">
|
|
|
280
|
+ hwh = #{record.hwh,jdbcType=INTEGER},
|
|
|
281
|
+ </if>
|
|
|
282
|
+ <if test="record.jhwh != null">
|
|
|
283
|
+ jhwh = #{record.jhwh,jdbcType=VARCHAR},
|
|
|
284
|
+ </if>
|
|
|
285
|
+ <if test="record.lhnd != null">
|
|
|
286
|
+ lhnd = #{record.lhnd,jdbcType=VARCHAR},
|
|
|
287
|
+ </if>
|
|
|
288
|
+ <if test="record.jkqzt != null">
|
|
|
289
|
+ jkqzt = #{record.jkqzt,jdbcType=VARCHAR},
|
|
|
290
|
+ </if>
|
|
|
291
|
+ <if test="record.jkqjzr != null">
|
|
|
292
|
+ jkqjzr = #{record.jkqjzr,jdbcType=VARCHAR},
|
|
|
293
|
+ </if>
|
|
|
294
|
+ <if test="record.jzrqylrsl != null">
|
|
|
295
|
+ jzrqylrsl = #{record.jzrqylrsl,jdbcType=DECIMAL},
|
|
|
296
|
+ </if>
|
|
|
297
|
+ <if test="record.jzrqsylrsl != null">
|
|
|
298
|
+ jzrqsylrsl = #{record.jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
299
|
+ </if>
|
|
|
300
|
+ <if test="record.yjrq != null">
|
|
|
301
|
+ yjrq = #{record.yjrq,jdbcType=VARCHAR},
|
|
|
302
|
+ </if>
|
|
|
303
|
+ <if test="record.clzt != null">
|
|
|
304
|
+ clzt = #{record.clzt,jdbcType=VARCHAR},
|
|
|
305
|
+ </if>
|
|
|
306
|
+ <if test="record.clr != null">
|
|
|
307
|
+ clr = #{record.clr,jdbcType=VARCHAR},
|
|
|
308
|
+ </if>
|
|
|
309
|
+ <if test="record.clsj != null">
|
|
|
310
|
+ clsj = #{record.clsj,jdbcType=TIMESTAMP},
|
|
|
311
|
+ </if>
|
|
|
312
|
+ <if test="record.scsj != null">
|
|
|
313
|
+ scsj = #{record.scsj,jdbcType=TIMESTAMP},
|
|
|
314
|
+ </if>
|
|
|
315
|
+ <if test="record.updatetime != null">
|
|
|
316
|
+ updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
|
317
|
+ </if>
|
|
|
318
|
+ <if test="record.clyj != null">
|
|
|
319
|
+ clyj = #{record.clyj,jdbcType=LONGVARCHAR},
|
|
|
320
|
+ </if>
|
|
|
321
|
+ </set>
|
|
|
322
|
+ <if test="_parameter != null">
|
|
|
323
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
324
|
+ </if>
|
|
|
325
|
+ </update>
|
|
|
326
|
+ <update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
327
|
+ update storage_jkq_warning
|
|
|
328
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
329
|
+ org_id = #{record.orgId,jdbcType=INTEGER},
|
|
|
330
|
+ ch = #{record.ch,jdbcType=INTEGER},
|
|
|
331
|
+ hwh = #{record.hwh,jdbcType=INTEGER},
|
|
|
332
|
+ jhwh = #{record.jhwh,jdbcType=VARCHAR},
|
|
|
333
|
+ lhnd = #{record.lhnd,jdbcType=VARCHAR},
|
|
|
334
|
+ jkqzt = #{record.jkqzt,jdbcType=VARCHAR},
|
|
|
335
|
+ jkqjzr = #{record.jkqjzr,jdbcType=VARCHAR},
|
|
|
336
|
+ jzrqylrsl = #{record.jzrqylrsl,jdbcType=DECIMAL},
|
|
|
337
|
+ jzrqsylrsl = #{record.jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
338
|
+ yjrq = #{record.yjrq,jdbcType=VARCHAR},
|
|
|
339
|
+ clzt = #{record.clzt,jdbcType=VARCHAR},
|
|
|
340
|
+ clr = #{record.clr,jdbcType=VARCHAR},
|
|
|
341
|
+ clsj = #{record.clsj,jdbcType=TIMESTAMP},
|
|
|
342
|
+ scsj = #{record.scsj,jdbcType=TIMESTAMP},
|
|
|
343
|
+ updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
|
344
|
+ clyj = #{record.clyj,jdbcType=LONGVARCHAR}
|
|
|
345
|
+ <if test="_parameter != null">
|
|
|
346
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
347
|
+ </if>
|
|
|
348
|
+ </update>
|
|
|
349
|
+ <update id="updateByExample" parameterType="map">
|
|
|
350
|
+ update storage_jkq_warning
|
|
|
351
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
352
|
+ org_id = #{record.orgId,jdbcType=INTEGER},
|
|
|
353
|
+ ch = #{record.ch,jdbcType=INTEGER},
|
|
|
354
|
+ hwh = #{record.hwh,jdbcType=INTEGER},
|
|
|
355
|
+ jhwh = #{record.jhwh,jdbcType=VARCHAR},
|
|
|
356
|
+ lhnd = #{record.lhnd,jdbcType=VARCHAR},
|
|
|
357
|
+ jkqzt = #{record.jkqzt,jdbcType=VARCHAR},
|
|
|
358
|
+ jkqjzr = #{record.jkqjzr,jdbcType=VARCHAR},
|
|
|
359
|
+ jzrqylrsl = #{record.jzrqylrsl,jdbcType=DECIMAL},
|
|
|
360
|
+ jzrqsylrsl = #{record.jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
361
|
+ yjrq = #{record.yjrq,jdbcType=VARCHAR},
|
|
|
362
|
+ clzt = #{record.clzt,jdbcType=VARCHAR},
|
|
|
363
|
+ clr = #{record.clr,jdbcType=VARCHAR},
|
|
|
364
|
+ clsj = #{record.clsj,jdbcType=TIMESTAMP},
|
|
|
365
|
+ scsj = #{record.scsj,jdbcType=TIMESTAMP},
|
|
|
366
|
+ updatetime = #{record.updatetime,jdbcType=TIMESTAMP}
|
|
|
367
|
+ <if test="_parameter != null">
|
|
|
368
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
369
|
+ </if>
|
|
|
370
|
+ </update>
|
|
|
371
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
372
|
+ update storage_jkq_warning
|
|
|
373
|
+ <set>
|
|
|
374
|
+ <if test="orgId != null">
|
|
|
375
|
+ org_id = #{orgId,jdbcType=INTEGER},
|
|
|
376
|
+ </if>
|
|
|
377
|
+ <if test="ch != null">
|
|
|
378
|
+ ch = #{ch,jdbcType=INTEGER},
|
|
|
379
|
+ </if>
|
|
|
380
|
+ <if test="hwh != null">
|
|
|
381
|
+ hwh = #{hwh,jdbcType=INTEGER},
|
|
|
382
|
+ </if>
|
|
|
383
|
+ <if test="jhwh != null">
|
|
|
384
|
+ jhwh = #{jhwh,jdbcType=VARCHAR},
|
|
|
385
|
+ </if>
|
|
|
386
|
+ <if test="lhnd != null">
|
|
|
387
|
+ lhnd = #{lhnd,jdbcType=VARCHAR},
|
|
|
388
|
+ </if>
|
|
|
389
|
+ <if test="jkqzt != null">
|
|
|
390
|
+ jkqzt = #{jkqzt,jdbcType=VARCHAR},
|
|
|
391
|
+ </if>
|
|
|
392
|
+ <if test="jkqjzr != null">
|
|
|
393
|
+ jkqjzr = #{jkqjzr,jdbcType=VARCHAR},
|
|
|
394
|
+ </if>
|
|
|
395
|
+ <if test="jzrqylrsl != null">
|
|
|
396
|
+ jzrqylrsl = #{jzrqylrsl,jdbcType=DECIMAL},
|
|
|
397
|
+ </if>
|
|
|
398
|
+ <if test="jzrqsylrsl != null">
|
|
|
399
|
+ jzrqsylrsl = #{jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
400
|
+ </if>
|
|
|
401
|
+ <if test="yjrq != null">
|
|
|
402
|
+ yjrq = #{yjrq,jdbcType=VARCHAR},
|
|
|
403
|
+ </if>
|
|
|
404
|
+ <if test="clzt != null">
|
|
|
405
|
+ clzt = #{clzt,jdbcType=VARCHAR},
|
|
|
406
|
+ </if>
|
|
|
407
|
+ <if test="clr != null">
|
|
|
408
|
+ clr = #{clr,jdbcType=VARCHAR},
|
|
|
409
|
+ </if>
|
|
|
410
|
+ <if test="clsj != null">
|
|
|
411
|
+ clsj = #{clsj,jdbcType=TIMESTAMP},
|
|
|
412
|
+ </if>
|
|
|
413
|
+ <if test="scsj != null">
|
|
|
414
|
+ scsj = #{scsj,jdbcType=TIMESTAMP},
|
|
|
415
|
+ </if>
|
|
|
416
|
+ <if test="updatetime != null">
|
|
|
417
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
418
|
+ </if>
|
|
|
419
|
+ <if test="clyj != null">
|
|
|
420
|
+ clyj = #{clyj,jdbcType=LONGVARCHAR},
|
|
|
421
|
+ </if>
|
|
|
422
|
+ </set>
|
|
|
423
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
424
|
+ </update>
|
|
|
425
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
426
|
+ update storage_jkq_warning
|
|
|
427
|
+ set org_id = #{orgId,jdbcType=INTEGER},
|
|
|
428
|
+ ch = #{ch,jdbcType=INTEGER},
|
|
|
429
|
+ hwh = #{hwh,jdbcType=INTEGER},
|
|
|
430
|
+ jhwh = #{jhwh,jdbcType=VARCHAR},
|
|
|
431
|
+ lhnd = #{lhnd,jdbcType=VARCHAR},
|
|
|
432
|
+ jkqzt = #{jkqzt,jdbcType=VARCHAR},
|
|
|
433
|
+ jkqjzr = #{jkqjzr,jdbcType=VARCHAR},
|
|
|
434
|
+ jzrqylrsl = #{jzrqylrsl,jdbcType=DECIMAL},
|
|
|
435
|
+ jzrqsylrsl = #{jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
436
|
+ yjrq = #{yjrq,jdbcType=VARCHAR},
|
|
|
437
|
+ clzt = #{clzt,jdbcType=VARCHAR},
|
|
|
438
|
+ clr = #{clr,jdbcType=VARCHAR},
|
|
|
439
|
+ clsj = #{clsj,jdbcType=TIMESTAMP},
|
|
|
440
|
+ scsj = #{scsj,jdbcType=TIMESTAMP},
|
|
|
441
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
442
|
+ clyj = #{clyj,jdbcType=LONGVARCHAR}
|
|
|
443
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
444
|
+ </update>
|
|
|
445
|
+ <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.warningAndAlarm.model.StorageJkqWarning">
|
|
|
446
|
+ update storage_jkq_warning
|
|
|
447
|
+ set org_id = #{orgId,jdbcType=INTEGER},
|
|
|
448
|
+ ch = #{ch,jdbcType=INTEGER},
|
|
|
449
|
+ hwh = #{hwh,jdbcType=INTEGER},
|
|
|
450
|
+ jhwh = #{jhwh,jdbcType=VARCHAR},
|
|
|
451
|
+ lhnd = #{lhnd,jdbcType=VARCHAR},
|
|
|
452
|
+ jkqzt = #{jkqzt,jdbcType=VARCHAR},
|
|
|
453
|
+ jkqjzr = #{jkqjzr,jdbcType=VARCHAR},
|
|
|
454
|
+ jzrqylrsl = #{jzrqylrsl,jdbcType=DECIMAL},
|
|
|
455
|
+ jzrqsylrsl = #{jzrqsylrsl,jdbcType=DECIMAL},
|
|
|
456
|
+ yjrq = #{yjrq,jdbcType=VARCHAR},
|
|
|
457
|
+ clzt = #{clzt,jdbcType=VARCHAR},
|
|
|
458
|
+ clr = #{clr,jdbcType=VARCHAR},
|
|
|
459
|
+ clsj = #{clsj,jdbcType=TIMESTAMP},
|
|
|
460
|
+ scsj = #{scsj,jdbcType=TIMESTAMP},
|
|
|
461
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP}
|
|
|
462
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
463
|
+ </update>
|
|
|
464
|
+
|
|
|
465
|
+</mapper>
|