|
|
@@ -0,0 +1,678 @@
|
|
|
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.product.mapper.DataKcglCplkcswDefaultMapper" >
|
|
|
4
|
+ <resultMap id="BaseResultMap" type="com.chinaitop.depot.product.model.DataKcglCplkcswDefault" >
|
|
|
5
|
+ <id column="dataId" property="dataid" jdbcType="VARCHAR" />
|
|
|
6
|
+ <result column="unitid" property="unitid" jdbcType="VARCHAR" />
|
|
|
7
|
+ <result column="zdmc" property="zdmc" jdbcType="VARCHAR" />
|
|
|
8
|
+ <result column="zdbm" property="zdbm" jdbcType="VARCHAR" />
|
|
|
9
|
+ <result column="ch" property="ch" jdbcType="VARCHAR" />
|
|
|
10
|
+ <result column="hwh" property="hwh" jdbcType="VARCHAR" />
|
|
|
11
|
+ <result column="chmc" property="chmc" jdbcType="VARCHAR" />
|
|
|
12
|
+ <result column="hwmc" property="hwmc" jdbcType="VARCHAR" />
|
|
|
13
|
+ <result column="builder" property="builder" jdbcType="VARCHAR" />
|
|
|
14
|
+ <result column="cjsj" property="cjsj" jdbcType="TIMESTAMP" />
|
|
|
15
|
+ <result column="editor" property="editor" jdbcType="VARCHAR" />
|
|
|
16
|
+ <result column="modifyDate" property="modifydate" jdbcType="TIMESTAMP" />
|
|
|
17
|
+ <result column="updateTime" property="updatetime" jdbcType="TIMESTAMP" />
|
|
|
18
|
+ <result column="scrq" property="scrq" jdbcType="TIMESTAMP" />
|
|
|
19
|
+ <result column="bzq" property="bzq" jdbcType="VARCHAR" />
|
|
|
20
|
+ <result column="xz" property="xz" jdbcType="VARCHAR" />
|
|
|
21
|
+ <result column="deptId" property="deptid" jdbcType="VARCHAR" />
|
|
|
22
|
+ <result column="sjjlpzmc" property="sjjlpzmc" jdbcType="VARCHAR" />
|
|
|
23
|
+ <result column="sjjlpzbh" property="sjjlpzbh" jdbcType="VARCHAR" />
|
|
|
24
|
+ <result column="sjjlppmc" property="sjjlppmc" jdbcType="VARCHAR" />
|
|
|
25
|
+ <result column="sjjlppbh" property="sjjlppbh" jdbcType="VARCHAR" />
|
|
|
26
|
+ <result column="sjjldjbh" property="sjjldjbh" jdbcType="VARCHAR" />
|
|
|
27
|
+ <result column="sjjldjmc" property="sjjldjmc" jdbcType="VARCHAR" />
|
|
|
28
|
+ <result column="sjjlspmc" property="sjjlspmc" jdbcType="VARCHAR" />
|
|
|
29
|
+ <result column="sjjlspmcbh" property="sjjlspmcbh" jdbcType="VARCHAR" />
|
|
|
30
|
+ <result column="kcsl" property="kcsl" jdbcType="DOUBLE" />
|
|
|
31
|
+ <result column="scpc" property="scpc" jdbcType="VARCHAR" />
|
|
|
32
|
+ <result column="gg" property="gg" jdbcType="VARCHAR" />
|
|
|
33
|
+ <result column="jldw" property="jldw" jdbcType="VARCHAR" />
|
|
|
34
|
+ <result column="zje" property="zje" jdbcType="DOUBLE" />
|
|
|
35
|
+ <result column="js" property="js" jdbcType="DOUBLE" />
|
|
|
36
|
+ <result column="scnf" property="scnf" jdbcType="VARCHAR" />
|
|
|
37
|
+ <result column="cd" property="cd" jdbcType="VARCHAR" />
|
|
|
38
|
+ <result column="rcrq" property="rcrq" jdbcType="TIMESTAMP" />
|
|
|
39
|
+
|
|
|
40
|
+ <result column="orgName" property="orgName" jdbcType="VARCHAR" />
|
|
|
41
|
+ </resultMap>
|
|
|
42
|
+ <sql id="Example_Where_Clause" >
|
|
|
43
|
+ <where >
|
|
|
44
|
+ <foreach collection="oredCriteria" item="criteria" separator="or" >
|
|
|
45
|
+ <if test="criteria.valid" >
|
|
|
46
|
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
47
|
+ <foreach collection="criteria.criteria" item="criterion" >
|
|
|
48
|
+ <choose >
|
|
|
49
|
+ <when test="criterion.noValue" >
|
|
|
50
|
+ and ${criterion.condition}
|
|
|
51
|
+ </when>
|
|
|
52
|
+ <when test="criterion.singleValue" >
|
|
|
53
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
54
|
+ </when>
|
|
|
55
|
+ <when test="criterion.betweenValue" >
|
|
|
56
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
57
|
+ </when>
|
|
|
58
|
+ <when test="criterion.listValue" >
|
|
|
59
|
+ and ${criterion.condition}
|
|
|
60
|
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
61
|
+ #{listItem}
|
|
|
62
|
+ </foreach>
|
|
|
63
|
+ </when>
|
|
|
64
|
+ </choose>
|
|
|
65
|
+ </foreach>
|
|
|
66
|
+ </trim>
|
|
|
67
|
+ </if>
|
|
|
68
|
+ </foreach>
|
|
|
69
|
+ </where>
|
|
|
70
|
+ </sql>
|
|
|
71
|
+ <sql id="Update_By_Example_Where_Clause" >
|
|
|
72
|
+ <where >
|
|
|
73
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or" >
|
|
|
74
|
+ <if test="criteria.valid" >
|
|
|
75
|
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
76
|
+ <foreach collection="criteria.criteria" item="criterion" >
|
|
|
77
|
+ <choose >
|
|
|
78
|
+ <when test="criterion.noValue" >
|
|
|
79
|
+ and ${criterion.condition}
|
|
|
80
|
+ </when>
|
|
|
81
|
+ <when test="criterion.singleValue" >
|
|
|
82
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
83
|
+ </when>
|
|
|
84
|
+ <when test="criterion.betweenValue" >
|
|
|
85
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
86
|
+ </when>
|
|
|
87
|
+ <when test="criterion.listValue" >
|
|
|
88
|
+ and ${criterion.condition}
|
|
|
89
|
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
90
|
+ #{listItem}
|
|
|
91
|
+ </foreach>
|
|
|
92
|
+ </when>
|
|
|
93
|
+ </choose>
|
|
|
94
|
+ </foreach>
|
|
|
95
|
+ </trim>
|
|
|
96
|
+ </if>
|
|
|
97
|
+ </foreach>
|
|
|
98
|
+ </where>
|
|
|
99
|
+ </sql>
|
|
|
100
|
+ <sql id="Base_Column_List" >
|
|
|
101
|
+ dataId, unitid, zdmc, zdbm, ch, hwh, chmc, hwmc, builder, cjsj, editor, modifyDate,
|
|
|
102
|
+ updateTime, scrq, bzq, xz, deptId, sjjlpzmc, sjjlpzbh, sjjlppmc, sjjlppbh, sjjldjbh,
|
|
|
103
|
+ sjjldjmc, sjjlspmc, sjjlspmcbh, kcsl, scpc, gg, jldw, zje, js, scnf, cd, rcrq
|
|
|
104
|
+ </sql>
|
|
|
105
|
+
|
|
|
106
|
+ <sql id="Base_Column_List_Org" >
|
|
|
107
|
+ kc.dataId, kc.unitid, kc.zdmc, kc.zdbm, kc.ch, kc.hwh, kc.chmc, kc.hwmc, kc.builder, kc.cjsj, kc.editor, kc.modifyDate,
|
|
|
108
|
+ kc.updateTime, kc.scrq, kc.bzq, kc.xz, kc.deptId, kc.sjjlpzmc, kc.sjjlpzbh, kc.sjjlppmc, kc.sjjlppbh, kc.sjjldjbh,
|
|
|
109
|
+ kc.sjjldjmc, kc.sjjlspmc, kc.sjjlspmcbh, kc.kcsl, kc.scpc, kc.gg, kc.jldw, kc.zje, kc.js, kc.scnf, kc.cd, kc.rcrq
|
|
|
110
|
+ </sql>
|
|
|
111
|
+
|
|
|
112
|
+ <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefaultExample" >
|
|
|
113
|
+ select
|
|
|
114
|
+ <if test="distinct" >
|
|
|
115
|
+ distinct
|
|
|
116
|
+ </if>
|
|
|
117
|
+ <include refid="Base_Column_List" />
|
|
|
118
|
+ from data_kcgl_cplkcsw_default
|
|
|
119
|
+ <if test="_parameter != null" >
|
|
|
120
|
+ <include refid="Example_Where_Clause" />
|
|
|
121
|
+ </if>
|
|
|
122
|
+ <if test="orderByClause != null" >
|
|
|
123
|
+ order by ${orderByClause}
|
|
|
124
|
+ </if>
|
|
|
125
|
+ </select>
|
|
|
126
|
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
127
|
+ select
|
|
|
128
|
+ <include refid="Base_Column_List_Org" />,
|
|
|
129
|
+ o.org_name orgName
|
|
|
130
|
+ from data_kcgl_cplkcsw_default kc
|
|
|
131
|
+ left join org_info o on kc.unitid = o.org_id
|
|
|
132
|
+ where kc.dataId = #{dataid,jdbcType=VARCHAR}
|
|
|
133
|
+
|
|
|
134
|
+ </select>
|
|
|
135
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
136
|
+ delete from data_kcgl_cplkcsw_default
|
|
|
137
|
+ where dataId = #{dataid,jdbcType=VARCHAR}
|
|
|
138
|
+ </delete>
|
|
|
139
|
+ <delete id="deleteByExample" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefaultExample" >
|
|
|
140
|
+ delete from data_kcgl_cplkcsw_default
|
|
|
141
|
+ <if test="_parameter != null" >
|
|
|
142
|
+ <include refid="Example_Where_Clause" />
|
|
|
143
|
+ </if>
|
|
|
144
|
+ </delete>
|
|
|
145
|
+ <insert id="insert" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefault" >
|
|
|
146
|
+ insert into data_kcgl_cplkcsw_default (dataId, unitid, zdmc,
|
|
|
147
|
+ zdbm, ch, hwh, chmc,
|
|
|
148
|
+ hwmc, builder, cjsj,
|
|
|
149
|
+ editor, modifyDate, updateTime,
|
|
|
150
|
+ scrq, bzq, xz, deptId,
|
|
|
151
|
+ sjjlpzmc, sjjlpzbh, sjjlppmc,
|
|
|
152
|
+ sjjlppbh, sjjldjbh, sjjldjmc,
|
|
|
153
|
+ sjjlspmc, sjjlspmcbh, kcsl,
|
|
|
154
|
+ scpc, gg, jldw, zje,
|
|
|
155
|
+ js, scnf, cd, rcrq
|
|
|
156
|
+ )
|
|
|
157
|
+ values (#{dataid,jdbcType=VARCHAR}, #{unitid,jdbcType=VARCHAR}, #{zdmc,jdbcType=VARCHAR},
|
|
|
158
|
+ #{zdbm,jdbcType=VARCHAR}, #{ch,jdbcType=VARCHAR}, #{hwh,jdbcType=VARCHAR}, #{chmc,jdbcType=VARCHAR},
|
|
|
159
|
+ #{hwmc,jdbcType=VARCHAR}, #{builder,jdbcType=VARCHAR}, #{cjsj,jdbcType=TIMESTAMP},
|
|
|
160
|
+ #{editor,jdbcType=VARCHAR}, #{modifydate,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP},
|
|
|
161
|
+ #{scrq,jdbcType=TIMESTAMP}, #{bzq,jdbcType=VARCHAR}, #{xz,jdbcType=VARCHAR}, #{deptid,jdbcType=VARCHAR},
|
|
|
162
|
+ #{sjjlpzmc,jdbcType=VARCHAR}, #{sjjlpzbh,jdbcType=VARCHAR}, #{sjjlppmc,jdbcType=VARCHAR},
|
|
|
163
|
+ #{sjjlppbh,jdbcType=VARCHAR}, #{sjjldjbh,jdbcType=VARCHAR}, #{sjjldjmc,jdbcType=VARCHAR},
|
|
|
164
|
+ #{sjjlspmc,jdbcType=VARCHAR}, #{sjjlspmcbh,jdbcType=VARCHAR}, #{kcsl,jdbcType=DOUBLE},
|
|
|
165
|
+ #{scpc,jdbcType=VARCHAR}, #{gg,jdbcType=VARCHAR}, #{jldw,jdbcType=VARCHAR}, #{zje,jdbcType=DOUBLE},
|
|
|
166
|
+ #{js,jdbcType=DOUBLE}, #{scnf,jdbcType=VARCHAR}, #{cd,jdbcType=VARCHAR}, #{rcrq,jdbcType=TIMESTAMP}
|
|
|
167
|
+ )
|
|
|
168
|
+ </insert>
|
|
|
169
|
+ <insert id="insertSelective" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefault" >
|
|
|
170
|
+ insert into data_kcgl_cplkcsw_default
|
|
|
171
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
172
|
+ <if test="dataid != null" >
|
|
|
173
|
+ dataId,
|
|
|
174
|
+ </if>
|
|
|
175
|
+ <if test="unitid != null" >
|
|
|
176
|
+ unitid,
|
|
|
177
|
+ </if>
|
|
|
178
|
+ <if test="zdmc != null" >
|
|
|
179
|
+ zdmc,
|
|
|
180
|
+ </if>
|
|
|
181
|
+ <if test="zdbm != null" >
|
|
|
182
|
+ zdbm,
|
|
|
183
|
+ </if>
|
|
|
184
|
+ <if test="ch != null" >
|
|
|
185
|
+ ch,
|
|
|
186
|
+ </if>
|
|
|
187
|
+ <if test="hwh != null" >
|
|
|
188
|
+ hwh,
|
|
|
189
|
+ </if>
|
|
|
190
|
+ <if test="chmc != null" >
|
|
|
191
|
+ chmc,
|
|
|
192
|
+ </if>
|
|
|
193
|
+ <if test="hwmc != null" >
|
|
|
194
|
+ hwmc,
|
|
|
195
|
+ </if>
|
|
|
196
|
+ <if test="builder != null" >
|
|
|
197
|
+ builder,
|
|
|
198
|
+ </if>
|
|
|
199
|
+ <if test="cjsj != null" >
|
|
|
200
|
+ cjsj,
|
|
|
201
|
+ </if>
|
|
|
202
|
+ <if test="editor != null" >
|
|
|
203
|
+ editor,
|
|
|
204
|
+ </if>
|
|
|
205
|
+ <if test="modifydate != null" >
|
|
|
206
|
+ modifyDate,
|
|
|
207
|
+ </if>
|
|
|
208
|
+ <if test="updatetime != null" >
|
|
|
209
|
+ updateTime,
|
|
|
210
|
+ </if>
|
|
|
211
|
+ <if test="scrq != null" >
|
|
|
212
|
+ scrq,
|
|
|
213
|
+ </if>
|
|
|
214
|
+ <if test="bzq != null" >
|
|
|
215
|
+ bzq,
|
|
|
216
|
+ </if>
|
|
|
217
|
+ <if test="xz != null" >
|
|
|
218
|
+ xz,
|
|
|
219
|
+ </if>
|
|
|
220
|
+ <if test="deptid != null" >
|
|
|
221
|
+ deptId,
|
|
|
222
|
+ </if>
|
|
|
223
|
+ <if test="sjjlpzmc != null" >
|
|
|
224
|
+ sjjlpzmc,
|
|
|
225
|
+ </if>
|
|
|
226
|
+ <if test="sjjlpzbh != null" >
|
|
|
227
|
+ sjjlpzbh,
|
|
|
228
|
+ </if>
|
|
|
229
|
+ <if test="sjjlppmc != null" >
|
|
|
230
|
+ sjjlppmc,
|
|
|
231
|
+ </if>
|
|
|
232
|
+ <if test="sjjlppbh != null" >
|
|
|
233
|
+ sjjlppbh,
|
|
|
234
|
+ </if>
|
|
|
235
|
+ <if test="sjjldjbh != null" >
|
|
|
236
|
+ sjjldjbh,
|
|
|
237
|
+ </if>
|
|
|
238
|
+ <if test="sjjldjmc != null" >
|
|
|
239
|
+ sjjldjmc,
|
|
|
240
|
+ </if>
|
|
|
241
|
+ <if test="sjjlspmc != null" >
|
|
|
242
|
+ sjjlspmc,
|
|
|
243
|
+ </if>
|
|
|
244
|
+ <if test="sjjlspmcbh != null" >
|
|
|
245
|
+ sjjlspmcbh,
|
|
|
246
|
+ </if>
|
|
|
247
|
+ <if test="kcsl != null" >
|
|
|
248
|
+ kcsl,
|
|
|
249
|
+ </if>
|
|
|
250
|
+ <if test="scpc != null" >
|
|
|
251
|
+ scpc,
|
|
|
252
|
+ </if>
|
|
|
253
|
+ <if test="gg != null" >
|
|
|
254
|
+ gg,
|
|
|
255
|
+ </if>
|
|
|
256
|
+ <if test="jldw != null" >
|
|
|
257
|
+ jldw,
|
|
|
258
|
+ </if>
|
|
|
259
|
+ <if test="zje != null" >
|
|
|
260
|
+ zje,
|
|
|
261
|
+ </if>
|
|
|
262
|
+ <if test="js != null" >
|
|
|
263
|
+ js,
|
|
|
264
|
+ </if>
|
|
|
265
|
+ <if test="scnf != null" >
|
|
|
266
|
+ scnf,
|
|
|
267
|
+ </if>
|
|
|
268
|
+ <if test="cd != null" >
|
|
|
269
|
+ cd,
|
|
|
270
|
+ </if>
|
|
|
271
|
+ <if test="rcrq != null" >
|
|
|
272
|
+ rcrq,
|
|
|
273
|
+ </if>
|
|
|
274
|
+ </trim>
|
|
|
275
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
276
|
+ <if test="dataid != null" >
|
|
|
277
|
+ #{dataid,jdbcType=VARCHAR},
|
|
|
278
|
+ </if>
|
|
|
279
|
+ <if test="unitid != null" >
|
|
|
280
|
+ #{unitid,jdbcType=VARCHAR},
|
|
|
281
|
+ </if>
|
|
|
282
|
+ <if test="zdmc != null" >
|
|
|
283
|
+ #{zdmc,jdbcType=VARCHAR},
|
|
|
284
|
+ </if>
|
|
|
285
|
+ <if test="zdbm != null" >
|
|
|
286
|
+ #{zdbm,jdbcType=VARCHAR},
|
|
|
287
|
+ </if>
|
|
|
288
|
+ <if test="ch != null" >
|
|
|
289
|
+ #{ch,jdbcType=VARCHAR},
|
|
|
290
|
+ </if>
|
|
|
291
|
+ <if test="hwh != null" >
|
|
|
292
|
+ #{hwh,jdbcType=VARCHAR},
|
|
|
293
|
+ </if>
|
|
|
294
|
+ <if test="chmc != null" >
|
|
|
295
|
+ #{chmc,jdbcType=VARCHAR},
|
|
|
296
|
+ </if>
|
|
|
297
|
+ <if test="hwmc != null" >
|
|
|
298
|
+ #{hwmc,jdbcType=VARCHAR},
|
|
|
299
|
+ </if>
|
|
|
300
|
+ <if test="builder != null" >
|
|
|
301
|
+ #{builder,jdbcType=VARCHAR},
|
|
|
302
|
+ </if>
|
|
|
303
|
+ <if test="cjsj != null" >
|
|
|
304
|
+ #{cjsj,jdbcType=TIMESTAMP},
|
|
|
305
|
+ </if>
|
|
|
306
|
+ <if test="editor != null" >
|
|
|
307
|
+ #{editor,jdbcType=VARCHAR},
|
|
|
308
|
+ </if>
|
|
|
309
|
+ <if test="modifydate != null" >
|
|
|
310
|
+ #{modifydate,jdbcType=TIMESTAMP},
|
|
|
311
|
+ </if>
|
|
|
312
|
+ <if test="updatetime != null" >
|
|
|
313
|
+ #{updatetime,jdbcType=TIMESTAMP},
|
|
|
314
|
+ </if>
|
|
|
315
|
+ <if test="scrq != null" >
|
|
|
316
|
+ #{scrq,jdbcType=TIMESTAMP},
|
|
|
317
|
+ </if>
|
|
|
318
|
+ <if test="bzq != null" >
|
|
|
319
|
+ #{bzq,jdbcType=VARCHAR},
|
|
|
320
|
+ </if>
|
|
|
321
|
+ <if test="xz != null" >
|
|
|
322
|
+ #{xz,jdbcType=VARCHAR},
|
|
|
323
|
+ </if>
|
|
|
324
|
+ <if test="deptid != null" >
|
|
|
325
|
+ #{deptid,jdbcType=VARCHAR},
|
|
|
326
|
+ </if>
|
|
|
327
|
+ <if test="sjjlpzmc != null" >
|
|
|
328
|
+ #{sjjlpzmc,jdbcType=VARCHAR},
|
|
|
329
|
+ </if>
|
|
|
330
|
+ <if test="sjjlpzbh != null" >
|
|
|
331
|
+ #{sjjlpzbh,jdbcType=VARCHAR},
|
|
|
332
|
+ </if>
|
|
|
333
|
+ <if test="sjjlppmc != null" >
|
|
|
334
|
+ #{sjjlppmc,jdbcType=VARCHAR},
|
|
|
335
|
+ </if>
|
|
|
336
|
+ <if test="sjjlppbh != null" >
|
|
|
337
|
+ #{sjjlppbh,jdbcType=VARCHAR},
|
|
|
338
|
+ </if>
|
|
|
339
|
+ <if test="sjjldjbh != null" >
|
|
|
340
|
+ #{sjjldjbh,jdbcType=VARCHAR},
|
|
|
341
|
+ </if>
|
|
|
342
|
+ <if test="sjjldjmc != null" >
|
|
|
343
|
+ #{sjjldjmc,jdbcType=VARCHAR},
|
|
|
344
|
+ </if>
|
|
|
345
|
+ <if test="sjjlspmc != null" >
|
|
|
346
|
+ #{sjjlspmc,jdbcType=VARCHAR},
|
|
|
347
|
+ </if>
|
|
|
348
|
+ <if test="sjjlspmcbh != null" >
|
|
|
349
|
+ #{sjjlspmcbh,jdbcType=VARCHAR},
|
|
|
350
|
+ </if>
|
|
|
351
|
+ <if test="kcsl != null" >
|
|
|
352
|
+ #{kcsl,jdbcType=DOUBLE},
|
|
|
353
|
+ </if>
|
|
|
354
|
+ <if test="scpc != null" >
|
|
|
355
|
+ #{scpc,jdbcType=VARCHAR},
|
|
|
356
|
+ </if>
|
|
|
357
|
+ <if test="gg != null" >
|
|
|
358
|
+ #{gg,jdbcType=VARCHAR},
|
|
|
359
|
+ </if>
|
|
|
360
|
+ <if test="jldw != null" >
|
|
|
361
|
+ #{jldw,jdbcType=VARCHAR},
|
|
|
362
|
+ </if>
|
|
|
363
|
+ <if test="zje != null" >
|
|
|
364
|
+ #{zje,jdbcType=DOUBLE},
|
|
|
365
|
+ </if>
|
|
|
366
|
+ <if test="js != null" >
|
|
|
367
|
+ #{js,jdbcType=DOUBLE},
|
|
|
368
|
+ </if>
|
|
|
369
|
+ <if test="scnf != null" >
|
|
|
370
|
+ #{scnf,jdbcType=VARCHAR},
|
|
|
371
|
+ </if>
|
|
|
372
|
+ <if test="cd != null" >
|
|
|
373
|
+ #{cd,jdbcType=VARCHAR},
|
|
|
374
|
+ </if>
|
|
|
375
|
+ <if test="rcrq != null" >
|
|
|
376
|
+ #{rcrq,jdbcType=TIMESTAMP},
|
|
|
377
|
+ </if>
|
|
|
378
|
+ </trim>
|
|
|
379
|
+ </insert>
|
|
|
380
|
+ <select id="countByExample" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefaultExample" resultType="java.lang.Integer" >
|
|
|
381
|
+ select count(*) from data_kcgl_cplkcsw_default
|
|
|
382
|
+ <if test="_parameter != null" >
|
|
|
383
|
+ <include refid="Example_Where_Clause" />
|
|
|
384
|
+ </if>
|
|
|
385
|
+ </select>
|
|
|
386
|
+ <update id="updateByExampleSelective" parameterType="map" >
|
|
|
387
|
+ update data_kcgl_cplkcsw_default
|
|
|
388
|
+ <set >
|
|
|
389
|
+ <if test="record.dataid != null" >
|
|
|
390
|
+ dataId = #{record.dataid,jdbcType=VARCHAR},
|
|
|
391
|
+ </if>
|
|
|
392
|
+ <if test="record.unitid != null" >
|
|
|
393
|
+ unitid = #{record.unitid,jdbcType=VARCHAR},
|
|
|
394
|
+ </if>
|
|
|
395
|
+ <if test="record.zdmc != null" >
|
|
|
396
|
+ zdmc = #{record.zdmc,jdbcType=VARCHAR},
|
|
|
397
|
+ </if>
|
|
|
398
|
+ <if test="record.zdbm != null" >
|
|
|
399
|
+ zdbm = #{record.zdbm,jdbcType=VARCHAR},
|
|
|
400
|
+ </if>
|
|
|
401
|
+ <if test="record.ch != null" >
|
|
|
402
|
+ ch = #{record.ch,jdbcType=VARCHAR},
|
|
|
403
|
+ </if>
|
|
|
404
|
+ <if test="record.hwh != null" >
|
|
|
405
|
+ hwh = #{record.hwh,jdbcType=VARCHAR},
|
|
|
406
|
+ </if>
|
|
|
407
|
+ <if test="record.chmc != null" >
|
|
|
408
|
+ chmc = #{record.chmc,jdbcType=VARCHAR},
|
|
|
409
|
+ </if>
|
|
|
410
|
+ <if test="record.hwmc != null" >
|
|
|
411
|
+ hwmc = #{record.hwmc,jdbcType=VARCHAR},
|
|
|
412
|
+ </if>
|
|
|
413
|
+ <if test="record.builder != null" >
|
|
|
414
|
+ builder = #{record.builder,jdbcType=VARCHAR},
|
|
|
415
|
+ </if>
|
|
|
416
|
+ <if test="record.cjsj != null" >
|
|
|
417
|
+ cjsj = #{record.cjsj,jdbcType=TIMESTAMP},
|
|
|
418
|
+ </if>
|
|
|
419
|
+ <if test="record.editor != null" >
|
|
|
420
|
+ editor = #{record.editor,jdbcType=VARCHAR},
|
|
|
421
|
+ </if>
|
|
|
422
|
+ <if test="record.modifydate != null" >
|
|
|
423
|
+ modifyDate = #{record.modifydate,jdbcType=TIMESTAMP},
|
|
|
424
|
+ </if>
|
|
|
425
|
+ <if test="record.updatetime != null" >
|
|
|
426
|
+ updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
|
427
|
+ </if>
|
|
|
428
|
+ <if test="record.scrq != null" >
|
|
|
429
|
+ scrq = #{record.scrq,jdbcType=TIMESTAMP},
|
|
|
430
|
+ </if>
|
|
|
431
|
+ <if test="record.bzq != null" >
|
|
|
432
|
+ bzq = #{record.bzq,jdbcType=VARCHAR},
|
|
|
433
|
+ </if>
|
|
|
434
|
+ <if test="record.xz != null" >
|
|
|
435
|
+ xz = #{record.xz,jdbcType=VARCHAR},
|
|
|
436
|
+ </if>
|
|
|
437
|
+ <if test="record.deptid != null" >
|
|
|
438
|
+ deptId = #{record.deptid,jdbcType=VARCHAR},
|
|
|
439
|
+ </if>
|
|
|
440
|
+ <if test="record.sjjlpzmc != null" >
|
|
|
441
|
+ sjjlpzmc = #{record.sjjlpzmc,jdbcType=VARCHAR},
|
|
|
442
|
+ </if>
|
|
|
443
|
+ <if test="record.sjjlpzbh != null" >
|
|
|
444
|
+ sjjlpzbh = #{record.sjjlpzbh,jdbcType=VARCHAR},
|
|
|
445
|
+ </if>
|
|
|
446
|
+ <if test="record.sjjlppmc != null" >
|
|
|
447
|
+ sjjlppmc = #{record.sjjlppmc,jdbcType=VARCHAR},
|
|
|
448
|
+ </if>
|
|
|
449
|
+ <if test="record.sjjlppbh != null" >
|
|
|
450
|
+ sjjlppbh = #{record.sjjlppbh,jdbcType=VARCHAR},
|
|
|
451
|
+ </if>
|
|
|
452
|
+ <if test="record.sjjldjbh != null" >
|
|
|
453
|
+ sjjldjbh = #{record.sjjldjbh,jdbcType=VARCHAR},
|
|
|
454
|
+ </if>
|
|
|
455
|
+ <if test="record.sjjldjmc != null" >
|
|
|
456
|
+ sjjldjmc = #{record.sjjldjmc,jdbcType=VARCHAR},
|
|
|
457
|
+ </if>
|
|
|
458
|
+ <if test="record.sjjlspmc != null" >
|
|
|
459
|
+ sjjlspmc = #{record.sjjlspmc,jdbcType=VARCHAR},
|
|
|
460
|
+ </if>
|
|
|
461
|
+ <if test="record.sjjlspmcbh != null" >
|
|
|
462
|
+ sjjlspmcbh = #{record.sjjlspmcbh,jdbcType=VARCHAR},
|
|
|
463
|
+ </if>
|
|
|
464
|
+ <if test="record.kcsl != null" >
|
|
|
465
|
+ kcsl = #{record.kcsl,jdbcType=DOUBLE},
|
|
|
466
|
+ </if>
|
|
|
467
|
+ <if test="record.scpc != null" >
|
|
|
468
|
+ scpc = #{record.scpc,jdbcType=VARCHAR},
|
|
|
469
|
+ </if>
|
|
|
470
|
+ <if test="record.gg != null" >
|
|
|
471
|
+ gg = #{record.gg,jdbcType=VARCHAR},
|
|
|
472
|
+ </if>
|
|
|
473
|
+ <if test="record.jldw != null" >
|
|
|
474
|
+ jldw = #{record.jldw,jdbcType=VARCHAR},
|
|
|
475
|
+ </if>
|
|
|
476
|
+ <if test="record.zje != null" >
|
|
|
477
|
+ zje = #{record.zje,jdbcType=DOUBLE},
|
|
|
478
|
+ </if>
|
|
|
479
|
+ <if test="record.js != null" >
|
|
|
480
|
+ js = #{record.js,jdbcType=DOUBLE},
|
|
|
481
|
+ </if>
|
|
|
482
|
+ <if test="record.scnf != null" >
|
|
|
483
|
+ scnf = #{record.scnf,jdbcType=VARCHAR},
|
|
|
484
|
+ </if>
|
|
|
485
|
+ <if test="record.cd != null" >
|
|
|
486
|
+ cd = #{record.cd,jdbcType=VARCHAR},
|
|
|
487
|
+ </if>
|
|
|
488
|
+ <if test="record.rcrq != null" >
|
|
|
489
|
+ rcrq = #{record.rcrq,jdbcType=TIMESTAMP},
|
|
|
490
|
+ </if>
|
|
|
491
|
+ </set>
|
|
|
492
|
+ <if test="_parameter != null" >
|
|
|
493
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
494
|
+ </if>
|
|
|
495
|
+ </update>
|
|
|
496
|
+ <update id="updateByExample" parameterType="map" >
|
|
|
497
|
+ update data_kcgl_cplkcsw_default
|
|
|
498
|
+ set dataId = #{record.dataid,jdbcType=VARCHAR},
|
|
|
499
|
+ unitid = #{record.unitid,jdbcType=VARCHAR},
|
|
|
500
|
+ zdmc = #{record.zdmc,jdbcType=VARCHAR},
|
|
|
501
|
+ zdbm = #{record.zdbm,jdbcType=VARCHAR},
|
|
|
502
|
+ ch = #{record.ch,jdbcType=VARCHAR},
|
|
|
503
|
+ hwh = #{record.hwh,jdbcType=VARCHAR},
|
|
|
504
|
+ chmc = #{record.chmc,jdbcType=VARCHAR},
|
|
|
505
|
+ hwmc = #{record.hwmc,jdbcType=VARCHAR},
|
|
|
506
|
+ builder = #{record.builder,jdbcType=VARCHAR},
|
|
|
507
|
+ cjsj = #{record.cjsj,jdbcType=TIMESTAMP},
|
|
|
508
|
+ editor = #{record.editor,jdbcType=VARCHAR},
|
|
|
509
|
+ modifyDate = #{record.modifydate,jdbcType=TIMESTAMP},
|
|
|
510
|
+ updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
|
511
|
+ scrq = #{record.scrq,jdbcType=TIMESTAMP},
|
|
|
512
|
+ bzq = #{record.bzq,jdbcType=VARCHAR},
|
|
|
513
|
+ xz = #{record.xz,jdbcType=VARCHAR},
|
|
|
514
|
+ deptId = #{record.deptid,jdbcType=VARCHAR},
|
|
|
515
|
+ sjjlpzmc = #{record.sjjlpzmc,jdbcType=VARCHAR},
|
|
|
516
|
+ sjjlpzbh = #{record.sjjlpzbh,jdbcType=VARCHAR},
|
|
|
517
|
+ sjjlppmc = #{record.sjjlppmc,jdbcType=VARCHAR},
|
|
|
518
|
+ sjjlppbh = #{record.sjjlppbh,jdbcType=VARCHAR},
|
|
|
519
|
+ sjjldjbh = #{record.sjjldjbh,jdbcType=VARCHAR},
|
|
|
520
|
+ sjjldjmc = #{record.sjjldjmc,jdbcType=VARCHAR},
|
|
|
521
|
+ sjjlspmc = #{record.sjjlspmc,jdbcType=VARCHAR},
|
|
|
522
|
+ sjjlspmcbh = #{record.sjjlspmcbh,jdbcType=VARCHAR},
|
|
|
523
|
+ kcsl = #{record.kcsl,jdbcType=DOUBLE},
|
|
|
524
|
+ scpc = #{record.scpc,jdbcType=VARCHAR},
|
|
|
525
|
+ gg = #{record.gg,jdbcType=VARCHAR},
|
|
|
526
|
+ jldw = #{record.jldw,jdbcType=VARCHAR},
|
|
|
527
|
+ zje = #{record.zje,jdbcType=DOUBLE},
|
|
|
528
|
+ js = #{record.js,jdbcType=DOUBLE},
|
|
|
529
|
+ scnf = #{record.scnf,jdbcType=VARCHAR},
|
|
|
530
|
+ cd = #{record.cd,jdbcType=VARCHAR},
|
|
|
531
|
+ rcrq = #{record.rcrq,jdbcType=TIMESTAMP}
|
|
|
532
|
+ <if test="_parameter != null" >
|
|
|
533
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
534
|
+ </if>
|
|
|
535
|
+ </update>
|
|
|
536
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefault" >
|
|
|
537
|
+ update data_kcgl_cplkcsw_default
|
|
|
538
|
+ <set >
|
|
|
539
|
+ <if test="unitid != null" >
|
|
|
540
|
+ unitid = #{unitid,jdbcType=VARCHAR},
|
|
|
541
|
+ </if>
|
|
|
542
|
+ <if test="zdmc != null" >
|
|
|
543
|
+ zdmc = #{zdmc,jdbcType=VARCHAR},
|
|
|
544
|
+ </if>
|
|
|
545
|
+ <if test="zdbm != null" >
|
|
|
546
|
+ zdbm = #{zdbm,jdbcType=VARCHAR},
|
|
|
547
|
+ </if>
|
|
|
548
|
+ <if test="ch != null" >
|
|
|
549
|
+ ch = #{ch,jdbcType=VARCHAR},
|
|
|
550
|
+ </if>
|
|
|
551
|
+ <if test="hwh != null" >
|
|
|
552
|
+ hwh = #{hwh,jdbcType=VARCHAR},
|
|
|
553
|
+ </if>
|
|
|
554
|
+ <if test="chmc != null" >
|
|
|
555
|
+ chmc = #{chmc,jdbcType=VARCHAR},
|
|
|
556
|
+ </if>
|
|
|
557
|
+ <if test="hwmc != null" >
|
|
|
558
|
+ hwmc = #{hwmc,jdbcType=VARCHAR},
|
|
|
559
|
+ </if>
|
|
|
560
|
+ <if test="builder != null" >
|
|
|
561
|
+ builder = #{builder,jdbcType=VARCHAR},
|
|
|
562
|
+ </if>
|
|
|
563
|
+ <if test="cjsj != null" >
|
|
|
564
|
+ cjsj = #{cjsj,jdbcType=TIMESTAMP},
|
|
|
565
|
+ </if>
|
|
|
566
|
+ <if test="editor != null" >
|
|
|
567
|
+ editor = #{editor,jdbcType=VARCHAR},
|
|
|
568
|
+ </if>
|
|
|
569
|
+ <if test="modifydate != null" >
|
|
|
570
|
+ modifyDate = #{modifydate,jdbcType=TIMESTAMP},
|
|
|
571
|
+ </if>
|
|
|
572
|
+ <if test="updatetime != null" >
|
|
|
573
|
+ updateTime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
574
|
+ </if>
|
|
|
575
|
+ <if test="scrq != null" >
|
|
|
576
|
+ scrq = #{scrq,jdbcType=TIMESTAMP},
|
|
|
577
|
+ </if>
|
|
|
578
|
+ <if test="bzq != null" >
|
|
|
579
|
+ bzq = #{bzq,jdbcType=VARCHAR},
|
|
|
580
|
+ </if>
|
|
|
581
|
+ <if test="xz != null" >
|
|
|
582
|
+ xz = #{xz,jdbcType=VARCHAR},
|
|
|
583
|
+ </if>
|
|
|
584
|
+ <if test="deptid != null" >
|
|
|
585
|
+ deptId = #{deptid,jdbcType=VARCHAR},
|
|
|
586
|
+ </if>
|
|
|
587
|
+ <if test="sjjlpzmc != null" >
|
|
|
588
|
+ sjjlpzmc = #{sjjlpzmc,jdbcType=VARCHAR},
|
|
|
589
|
+ </if>
|
|
|
590
|
+ <if test="sjjlpzbh != null" >
|
|
|
591
|
+ sjjlpzbh = #{sjjlpzbh,jdbcType=VARCHAR},
|
|
|
592
|
+ </if>
|
|
|
593
|
+ <if test="sjjlppmc != null" >
|
|
|
594
|
+ sjjlppmc = #{sjjlppmc,jdbcType=VARCHAR},
|
|
|
595
|
+ </if>
|
|
|
596
|
+ <if test="sjjlppbh != null" >
|
|
|
597
|
+ sjjlppbh = #{sjjlppbh,jdbcType=VARCHAR},
|
|
|
598
|
+ </if>
|
|
|
599
|
+ <if test="sjjldjbh != null" >
|
|
|
600
|
+ sjjldjbh = #{sjjldjbh,jdbcType=VARCHAR},
|
|
|
601
|
+ </if>
|
|
|
602
|
+ <if test="sjjldjmc != null" >
|
|
|
603
|
+ sjjldjmc = #{sjjldjmc,jdbcType=VARCHAR},
|
|
|
604
|
+ </if>
|
|
|
605
|
+ <if test="sjjlspmc != null" >
|
|
|
606
|
+ sjjlspmc = #{sjjlspmc,jdbcType=VARCHAR},
|
|
|
607
|
+ </if>
|
|
|
608
|
+ <if test="sjjlspmcbh != null" >
|
|
|
609
|
+ sjjlspmcbh = #{sjjlspmcbh,jdbcType=VARCHAR},
|
|
|
610
|
+ </if>
|
|
|
611
|
+ <if test="kcsl != null" >
|
|
|
612
|
+ kcsl = #{kcsl,jdbcType=DOUBLE},
|
|
|
613
|
+ </if>
|
|
|
614
|
+ <if test="scpc != null" >
|
|
|
615
|
+ scpc = #{scpc,jdbcType=VARCHAR},
|
|
|
616
|
+ </if>
|
|
|
617
|
+ <if test="gg != null" >
|
|
|
618
|
+ gg = #{gg,jdbcType=VARCHAR},
|
|
|
619
|
+ </if>
|
|
|
620
|
+ <if test="jldw != null" >
|
|
|
621
|
+ jldw = #{jldw,jdbcType=VARCHAR},
|
|
|
622
|
+ </if>
|
|
|
623
|
+ <if test="zje != null" >
|
|
|
624
|
+ zje = #{zje,jdbcType=DOUBLE},
|
|
|
625
|
+ </if>
|
|
|
626
|
+ <if test="js != null" >
|
|
|
627
|
+ js = #{js,jdbcType=DOUBLE},
|
|
|
628
|
+ </if>
|
|
|
629
|
+ <if test="scnf != null" >
|
|
|
630
|
+ scnf = #{scnf,jdbcType=VARCHAR},
|
|
|
631
|
+ </if>
|
|
|
632
|
+ <if test="cd != null" >
|
|
|
633
|
+ cd = #{cd,jdbcType=VARCHAR},
|
|
|
634
|
+ </if>
|
|
|
635
|
+ <if test="rcrq != null" >
|
|
|
636
|
+ rcrq = #{rcrq,jdbcType=TIMESTAMP},
|
|
|
637
|
+ </if>
|
|
|
638
|
+ </set>
|
|
|
639
|
+ where dataId = #{dataid,jdbcType=VARCHAR}
|
|
|
640
|
+ </update>
|
|
|
641
|
+ <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.product.model.DataKcglCplkcswDefault" >
|
|
|
642
|
+ update data_kcgl_cplkcsw_default
|
|
|
643
|
+ set unitid = #{unitid,jdbcType=VARCHAR},
|
|
|
644
|
+ zdmc = #{zdmc,jdbcType=VARCHAR},
|
|
|
645
|
+ zdbm = #{zdbm,jdbcType=VARCHAR},
|
|
|
646
|
+ ch = #{ch,jdbcType=VARCHAR},
|
|
|
647
|
+ hwh = #{hwh,jdbcType=VARCHAR},
|
|
|
648
|
+ chmc = #{chmc,jdbcType=VARCHAR},
|
|
|
649
|
+ hwmc = #{hwmc,jdbcType=VARCHAR},
|
|
|
650
|
+ builder = #{builder,jdbcType=VARCHAR},
|
|
|
651
|
+ cjsj = #{cjsj,jdbcType=TIMESTAMP},
|
|
|
652
|
+ editor = #{editor,jdbcType=VARCHAR},
|
|
|
653
|
+ modifyDate = #{modifydate,jdbcType=TIMESTAMP},
|
|
|
654
|
+ updateTime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
655
|
+ scrq = #{scrq,jdbcType=TIMESTAMP},
|
|
|
656
|
+ bzq = #{bzq,jdbcType=VARCHAR},
|
|
|
657
|
+ xz = #{xz,jdbcType=VARCHAR},
|
|
|
658
|
+ deptId = #{deptid,jdbcType=VARCHAR},
|
|
|
659
|
+ sjjlpzmc = #{sjjlpzmc,jdbcType=VARCHAR},
|
|
|
660
|
+ sjjlpzbh = #{sjjlpzbh,jdbcType=VARCHAR},
|
|
|
661
|
+ sjjlppmc = #{sjjlppmc,jdbcType=VARCHAR},
|
|
|
662
|
+ sjjlppbh = #{sjjlppbh,jdbcType=VARCHAR},
|
|
|
663
|
+ sjjldjbh = #{sjjldjbh,jdbcType=VARCHAR},
|
|
|
664
|
+ sjjldjmc = #{sjjldjmc,jdbcType=VARCHAR},
|
|
|
665
|
+ sjjlspmc = #{sjjlspmc,jdbcType=VARCHAR},
|
|
|
666
|
+ sjjlspmcbh = #{sjjlspmcbh,jdbcType=VARCHAR},
|
|
|
667
|
+ kcsl = #{kcsl,jdbcType=DOUBLE},
|
|
|
668
|
+ scpc = #{scpc,jdbcType=VARCHAR},
|
|
|
669
|
+ gg = #{gg,jdbcType=VARCHAR},
|
|
|
670
|
+ jldw = #{jldw,jdbcType=VARCHAR},
|
|
|
671
|
+ zje = #{zje,jdbcType=DOUBLE},
|
|
|
672
|
+ js = #{js,jdbcType=DOUBLE},
|
|
|
673
|
+ scnf = #{scnf,jdbcType=VARCHAR},
|
|
|
674
|
+ cd = #{cd,jdbcType=VARCHAR},
|
|
|
675
|
+ rcrq = #{rcrq,jdbcType=TIMESTAMP}
|
|
|
676
|
+ where dataId = #{dataid,jdbcType=VARCHAR}
|
|
|
677
|
+ </update>
|
|
|
678
|
+</mapper>
|