|
|
@@ -0,0 +1,815 @@
|
|
|
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.storage.mapper.StorageQualitystandardPreparationMapper" >
|
|
|
4
|
+ <resultMap id="BaseResultMap" type="com.chinaitop.depot.storage.model.StorageQualitystandardPreparation" >
|
|
|
5
|
+ <id column="id" property="id" jdbcType="VARCHAR" />
|
|
|
6
|
+ <result column="org_id" property="orgId" jdbcType="INTEGER" />
|
|
|
7
|
+ <result column="open_not" property="openNot" jdbcType="INTEGER" />
|
|
|
8
|
+ <result column="creater" property="creater" jdbcType="VARCHAR" />
|
|
|
9
|
+ <result column="createtime" property="createtime" jdbcType="TIMESTAMP" />
|
|
|
10
|
+ <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
|
|
|
11
|
+ <result column="sub_type" property="subType" jdbcType="INTEGER" />
|
|
|
12
|
+ <result column="sub_type_detailed" property="subTypeDetailed" jdbcType="INTEGER" />
|
|
|
13
|
+ <result column="standard_name" property="standardName" jdbcType="VARCHAR" />
|
|
|
14
|
+ <result column="level_update" property="levelUpdate" jdbcType="VARCHAR" />
|
|
|
15
|
+ <result column="capacity" property="capacity" jdbcType="VARCHAR" />
|
|
|
16
|
+ <result column="badpart" property="badpart" jdbcType="VARCHAR" />
|
|
|
17
|
+ <result column="impurity_total" property="impurityTotal" jdbcType="VARCHAR" />
|
|
|
18
|
+ <result column="mineral" property="mineral" jdbcType="VARCHAR" />
|
|
|
19
|
+ <result column="water" property="water" jdbcType="VARCHAR" />
|
|
|
20
|
+ <result column="colorsmell" property="colorsmell" jdbcType="VARCHAR" />
|
|
|
21
|
+ <result column="mildew_count" property="mildewCount" jdbcType="VARCHAR" />
|
|
|
22
|
+ <result column="goodpart" property="goodpart" jdbcType="VARCHAR" />
|
|
|
23
|
+ <result column="damage_ratio" property="damageRatio" jdbcType="VARCHAR" />
|
|
|
24
|
+ <result column="hot_damage_ratio" property="hotDamageRatio" jdbcType="VARCHAR" />
|
|
|
25
|
+ <result column="husked_ration" property="huskedRation" jdbcType="VARCHAR" />
|
|
|
26
|
+ <result column="full_good_ration" property="fullGoodRation" jdbcType="VARCHAR" />
|
|
|
27
|
+ <result column="yellow_part" property="yellowPart" jdbcType="VARCHAR" />
|
|
|
28
|
+ <result column="out_husked_ration" property="outHuskedRation" jdbcType="VARCHAR" />
|
|
|
29
|
+ <result column="intermixing_rate" property="intermixingRate" jdbcType="VARCHAR" />
|
|
|
30
|
+ <result column="brokenrice_total" property="brokenriceTotal" jdbcType="VARCHAR" />
|
|
|
31
|
+ <result column="brokenrice_small" property="brokenriceSmall" jdbcType="VARCHAR" />
|
|
|
32
|
+ <result column="machiningaccuracy" property="machiningaccuracy" jdbcType="VARCHAR" />
|
|
|
33
|
+ <result column="machiningaccuracy_essence" property="machiningaccuracyEssence" jdbcType="VARCHAR" />
|
|
|
34
|
+ <result column="machiningaccuracy_suitable" property="machiningaccuracySuitable" jdbcType="VARCHAR" />
|
|
|
35
|
+ <result column="impurity_inorganic" property="impurityInorganic" jdbcType="VARCHAR" />
|
|
|
36
|
+ <result column="ash_content" property="ashContent" jdbcType="VARCHAR" />
|
|
|
37
|
+ <result column="gluten" property="gluten" jdbcType="VARCHAR" />
|
|
|
38
|
+ <result column="silt_content" property="siltContent" jdbcType="VARCHAR" />
|
|
|
39
|
+ <result column="magnetic_metal" property="magneticMetal" jdbcType="VARCHAR" />
|
|
|
40
|
+ <result column="fat_index" property="fatIndex" jdbcType="VARCHAR" />
|
|
|
41
|
+ <result column="smelltaste" property="smelltaste" jdbcType="VARCHAR" />
|
|
|
42
|
+ <result column="acid_value" property="acidValue" jdbcType="VARCHAR" />
|
|
|
43
|
+ <result column="residual_solvent" property="residualSolvent" jdbcType="VARCHAR" />
|
|
|
44
|
+ <result column="water_volatiles" property="waterVolatiles" jdbcType="VARCHAR" />
|
|
|
45
|
+ <result column="insoluble_impurity" property="insolubleImpurity" jdbcType="VARCHAR" />
|
|
|
46
|
+ <result column="soap_content" property="soapContent" jdbcType="VARCHAR" />
|
|
|
47
|
+ <result column="smoke_point" property="smokePoint" jdbcType="VARCHAR" />
|
|
|
48
|
+ </resultMap>
|
|
|
49
|
+ <sql id="Example_Where_Clause" >
|
|
|
50
|
+ <where >
|
|
|
51
|
+ <foreach collection="oredCriteria" item="criteria" separator="or" >
|
|
|
52
|
+ <if test="criteria.valid" >
|
|
|
53
|
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
54
|
+ <foreach collection="criteria.criteria" item="criterion" >
|
|
|
55
|
+ <choose >
|
|
|
56
|
+ <when test="criterion.noValue" >
|
|
|
57
|
+ and ${criterion.condition}
|
|
|
58
|
+ </when>
|
|
|
59
|
+ <when test="criterion.singleValue" >
|
|
|
60
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
61
|
+ </when>
|
|
|
62
|
+ <when test="criterion.betweenValue" >
|
|
|
63
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
64
|
+ </when>
|
|
|
65
|
+ <when test="criterion.listValue" >
|
|
|
66
|
+ and ${criterion.condition}
|
|
|
67
|
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
68
|
+ #{listItem}
|
|
|
69
|
+ </foreach>
|
|
|
70
|
+ </when>
|
|
|
71
|
+ </choose>
|
|
|
72
|
+ </foreach>
|
|
|
73
|
+ </trim>
|
|
|
74
|
+ </if>
|
|
|
75
|
+ </foreach>
|
|
|
76
|
+ </where>
|
|
|
77
|
+ </sql>
|
|
|
78
|
+ <sql id="Update_By_Example_Where_Clause" >
|
|
|
79
|
+ <where >
|
|
|
80
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or" >
|
|
|
81
|
+ <if test="criteria.valid" >
|
|
|
82
|
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
83
|
+ <foreach collection="criteria.criteria" item="criterion" >
|
|
|
84
|
+ <choose >
|
|
|
85
|
+ <when test="criterion.noValue" >
|
|
|
86
|
+ and ${criterion.condition}
|
|
|
87
|
+ </when>
|
|
|
88
|
+ <when test="criterion.singleValue" >
|
|
|
89
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
90
|
+ </when>
|
|
|
91
|
+ <when test="criterion.betweenValue" >
|
|
|
92
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
93
|
+ </when>
|
|
|
94
|
+ <when test="criterion.listValue" >
|
|
|
95
|
+ and ${criterion.condition}
|
|
|
96
|
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
97
|
+ #{listItem}
|
|
|
98
|
+ </foreach>
|
|
|
99
|
+ </when>
|
|
|
100
|
+ </choose>
|
|
|
101
|
+ </foreach>
|
|
|
102
|
+ </trim>
|
|
|
103
|
+ </if>
|
|
|
104
|
+ </foreach>
|
|
|
105
|
+ </where>
|
|
|
106
|
+ </sql>
|
|
|
107
|
+ <sql id="Base_Column_List" >
|
|
|
108
|
+ id, org_id, open_not, creater, createtime, updatetime, sub_type, sub_type_detailed,
|
|
|
109
|
+ standard_name, level_update, capacity, badpart, impurity_total, mineral, water, colorsmell,
|
|
|
110
|
+ mildew_count, goodpart, damage_ratio, hot_damage_ratio, husked_ration, full_good_ration,
|
|
|
111
|
+ yellow_part, out_husked_ration, intermixing_rate, brokenrice_total, brokenrice_small,
|
|
|
112
|
+ machiningaccuracy, machiningaccuracy_essence, machiningaccuracy_suitable, impurity_inorganic,
|
|
|
113
|
+ ash_content, gluten, silt_content, magnetic_metal, fat_index, smelltaste, acid_value,
|
|
|
114
|
+ residual_solvent, water_volatiles, insoluble_impurity, soap_content, smoke_point
|
|
|
115
|
+ </sql>
|
|
|
116
|
+ <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparationExample" >
|
|
|
117
|
+ select
|
|
|
118
|
+ <if test="distinct" >
|
|
|
119
|
+ distinct
|
|
|
120
|
+ </if>
|
|
|
121
|
+ <include refid="Base_Column_List" />
|
|
|
122
|
+ from storage_qualitystandard_preparation
|
|
|
123
|
+ <if test="_parameter != null" >
|
|
|
124
|
+ <include refid="Example_Where_Clause" />
|
|
|
125
|
+ </if>
|
|
|
126
|
+ <if test="orderByClause != null" >
|
|
|
127
|
+ order by ${orderByClause}
|
|
|
128
|
+ </if>
|
|
|
129
|
+ </select>
|
|
|
130
|
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
131
|
+ select
|
|
|
132
|
+ <include refid="Base_Column_List" />
|
|
|
133
|
+ from storage_qualitystandard_preparation
|
|
|
134
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
135
|
+ </select>
|
|
|
136
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
137
|
+ delete from storage_qualitystandard_preparation
|
|
|
138
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
139
|
+ </delete>
|
|
|
140
|
+ <delete id="deleteByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparationExample" >
|
|
|
141
|
+ delete from storage_qualitystandard_preparation
|
|
|
142
|
+ <if test="_parameter != null" >
|
|
|
143
|
+ <include refid="Example_Where_Clause" />
|
|
|
144
|
+ </if>
|
|
|
145
|
+ </delete>
|
|
|
146
|
+ <insert id="insert" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparation" >
|
|
|
147
|
+ insert into storage_qualitystandard_preparation (id, org_id, open_not,
|
|
|
148
|
+ creater, createtime, updatetime,
|
|
|
149
|
+ sub_type, sub_type_detailed, standard_name,
|
|
|
150
|
+ level_update, capacity, badpart,
|
|
|
151
|
+ impurity_total, mineral, water,
|
|
|
152
|
+ colorsmell, mildew_count, goodpart,
|
|
|
153
|
+ damage_ratio, hot_damage_ratio, husked_ration,
|
|
|
154
|
+ full_good_ration, yellow_part, out_husked_ration,
|
|
|
155
|
+ intermixing_rate, brokenrice_total, brokenrice_small,
|
|
|
156
|
+ machiningaccuracy, machiningaccuracy_essence,
|
|
|
157
|
+ machiningaccuracy_suitable, impurity_inorganic,
|
|
|
158
|
+ ash_content, gluten, silt_content,
|
|
|
159
|
+ magnetic_metal, fat_index, smelltaste,
|
|
|
160
|
+ acid_value, residual_solvent, water_volatiles,
|
|
|
161
|
+ insoluble_impurity, soap_content, smoke_point
|
|
|
162
|
+ )
|
|
|
163
|
+ values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{openNot,jdbcType=INTEGER},
|
|
|
164
|
+ #{creater,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP},
|
|
|
165
|
+ #{subType,jdbcType=INTEGER}, #{subTypeDetailed,jdbcType=INTEGER}, #{standardName,jdbcType=VARCHAR},
|
|
|
166
|
+ #{levelUpdate,jdbcType=VARCHAR}, #{capacity,jdbcType=VARCHAR}, #{badpart,jdbcType=VARCHAR},
|
|
|
167
|
+ #{impurityTotal,jdbcType=VARCHAR}, #{mineral,jdbcType=VARCHAR}, #{water,jdbcType=VARCHAR},
|
|
|
168
|
+ #{colorsmell,jdbcType=VARCHAR}, #{mildewCount,jdbcType=VARCHAR}, #{goodpart,jdbcType=VARCHAR},
|
|
|
169
|
+ #{damageRatio,jdbcType=VARCHAR}, #{hotDamageRatio,jdbcType=VARCHAR}, #{huskedRation,jdbcType=VARCHAR},
|
|
|
170
|
+ #{fullGoodRation,jdbcType=VARCHAR}, #{yellowPart,jdbcType=VARCHAR}, #{outHuskedRation,jdbcType=VARCHAR},
|
|
|
171
|
+ #{intermixingRate,jdbcType=VARCHAR}, #{brokenriceTotal,jdbcType=VARCHAR}, #{brokenriceSmall,jdbcType=VARCHAR},
|
|
|
172
|
+ #{machiningaccuracy,jdbcType=VARCHAR}, #{machiningaccuracyEssence,jdbcType=VARCHAR},
|
|
|
173
|
+ #{machiningaccuracySuitable,jdbcType=VARCHAR}, #{impurityInorganic,jdbcType=VARCHAR},
|
|
|
174
|
+ #{ashContent,jdbcType=VARCHAR}, #{gluten,jdbcType=VARCHAR}, #{siltContent,jdbcType=VARCHAR},
|
|
|
175
|
+ #{magneticMetal,jdbcType=VARCHAR}, #{fatIndex,jdbcType=VARCHAR}, #{smelltaste,jdbcType=VARCHAR},
|
|
|
176
|
+ #{acidValue,jdbcType=VARCHAR}, #{residualSolvent,jdbcType=VARCHAR}, #{waterVolatiles,jdbcType=VARCHAR},
|
|
|
177
|
+ #{insolubleImpurity,jdbcType=VARCHAR}, #{soapContent,jdbcType=VARCHAR}, #{smokePoint,jdbcType=VARCHAR}
|
|
|
178
|
+ )
|
|
|
179
|
+ </insert>
|
|
|
180
|
+ <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparation" >
|
|
|
181
|
+ insert into storage_qualitystandard_preparation
|
|
|
182
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
183
|
+ <if test="id != null" >
|
|
|
184
|
+ id,
|
|
|
185
|
+ </if>
|
|
|
186
|
+ <if test="orgId != null" >
|
|
|
187
|
+ org_id,
|
|
|
188
|
+ </if>
|
|
|
189
|
+ <if test="openNot != null" >
|
|
|
190
|
+ open_not,
|
|
|
191
|
+ </if>
|
|
|
192
|
+ <if test="creater != null" >
|
|
|
193
|
+ creater,
|
|
|
194
|
+ </if>
|
|
|
195
|
+ <if test="createtime != null" >
|
|
|
196
|
+ createtime,
|
|
|
197
|
+ </if>
|
|
|
198
|
+ <if test="updatetime != null" >
|
|
|
199
|
+ updatetime,
|
|
|
200
|
+ </if>
|
|
|
201
|
+ <if test="subType != null" >
|
|
|
202
|
+ sub_type,
|
|
|
203
|
+ </if>
|
|
|
204
|
+ <if test="subTypeDetailed != null" >
|
|
|
205
|
+ sub_type_detailed,
|
|
|
206
|
+ </if>
|
|
|
207
|
+ <if test="standardName != null" >
|
|
|
208
|
+ standard_name,
|
|
|
209
|
+ </if>
|
|
|
210
|
+ <if test="levelUpdate != null" >
|
|
|
211
|
+ level_update,
|
|
|
212
|
+ </if>
|
|
|
213
|
+ <if test="capacity != null" >
|
|
|
214
|
+ capacity,
|
|
|
215
|
+ </if>
|
|
|
216
|
+ <if test="badpart != null" >
|
|
|
217
|
+ badpart,
|
|
|
218
|
+ </if>
|
|
|
219
|
+ <if test="impurityTotal != null" >
|
|
|
220
|
+ impurity_total,
|
|
|
221
|
+ </if>
|
|
|
222
|
+ <if test="mineral != null" >
|
|
|
223
|
+ mineral,
|
|
|
224
|
+ </if>
|
|
|
225
|
+ <if test="water != null" >
|
|
|
226
|
+ water,
|
|
|
227
|
+ </if>
|
|
|
228
|
+ <if test="colorsmell != null" >
|
|
|
229
|
+ colorsmell,
|
|
|
230
|
+ </if>
|
|
|
231
|
+ <if test="mildewCount != null" >
|
|
|
232
|
+ mildew_count,
|
|
|
233
|
+ </if>
|
|
|
234
|
+ <if test="goodpart != null" >
|
|
|
235
|
+ goodpart,
|
|
|
236
|
+ </if>
|
|
|
237
|
+ <if test="damageRatio != null" >
|
|
|
238
|
+ damage_ratio,
|
|
|
239
|
+ </if>
|
|
|
240
|
+ <if test="hotDamageRatio != null" >
|
|
|
241
|
+ hot_damage_ratio,
|
|
|
242
|
+ </if>
|
|
|
243
|
+ <if test="huskedRation != null" >
|
|
|
244
|
+ husked_ration,
|
|
|
245
|
+ </if>
|
|
|
246
|
+ <if test="fullGoodRation != null" >
|
|
|
247
|
+ full_good_ration,
|
|
|
248
|
+ </if>
|
|
|
249
|
+ <if test="yellowPart != null" >
|
|
|
250
|
+ yellow_part,
|
|
|
251
|
+ </if>
|
|
|
252
|
+ <if test="outHuskedRation != null" >
|
|
|
253
|
+ out_husked_ration,
|
|
|
254
|
+ </if>
|
|
|
255
|
+ <if test="intermixingRate != null" >
|
|
|
256
|
+ intermixing_rate,
|
|
|
257
|
+ </if>
|
|
|
258
|
+ <if test="brokenriceTotal != null" >
|
|
|
259
|
+ brokenrice_total,
|
|
|
260
|
+ </if>
|
|
|
261
|
+ <if test="brokenriceSmall != null" >
|
|
|
262
|
+ brokenrice_small,
|
|
|
263
|
+ </if>
|
|
|
264
|
+ <if test="machiningaccuracy != null" >
|
|
|
265
|
+ machiningaccuracy,
|
|
|
266
|
+ </if>
|
|
|
267
|
+ <if test="machiningaccuracyEssence != null" >
|
|
|
268
|
+ machiningaccuracy_essence,
|
|
|
269
|
+ </if>
|
|
|
270
|
+ <if test="machiningaccuracySuitable != null" >
|
|
|
271
|
+ machiningaccuracy_suitable,
|
|
|
272
|
+ </if>
|
|
|
273
|
+ <if test="impurityInorganic != null" >
|
|
|
274
|
+ impurity_inorganic,
|
|
|
275
|
+ </if>
|
|
|
276
|
+ <if test="ashContent != null" >
|
|
|
277
|
+ ash_content,
|
|
|
278
|
+ </if>
|
|
|
279
|
+ <if test="gluten != null" >
|
|
|
280
|
+ gluten,
|
|
|
281
|
+ </if>
|
|
|
282
|
+ <if test="siltContent != null" >
|
|
|
283
|
+ silt_content,
|
|
|
284
|
+ </if>
|
|
|
285
|
+ <if test="magneticMetal != null" >
|
|
|
286
|
+ magnetic_metal,
|
|
|
287
|
+ </if>
|
|
|
288
|
+ <if test="fatIndex != null" >
|
|
|
289
|
+ fat_index,
|
|
|
290
|
+ </if>
|
|
|
291
|
+ <if test="smelltaste != null" >
|
|
|
292
|
+ smelltaste,
|
|
|
293
|
+ </if>
|
|
|
294
|
+ <if test="acidValue != null" >
|
|
|
295
|
+ acid_value,
|
|
|
296
|
+ </if>
|
|
|
297
|
+ <if test="residualSolvent != null" >
|
|
|
298
|
+ residual_solvent,
|
|
|
299
|
+ </if>
|
|
|
300
|
+ <if test="waterVolatiles != null" >
|
|
|
301
|
+ water_volatiles,
|
|
|
302
|
+ </if>
|
|
|
303
|
+ <if test="insolubleImpurity != null" >
|
|
|
304
|
+ insoluble_impurity,
|
|
|
305
|
+ </if>
|
|
|
306
|
+ <if test="soapContent != null" >
|
|
|
307
|
+ soap_content,
|
|
|
308
|
+ </if>
|
|
|
309
|
+ <if test="smokePoint != null" >
|
|
|
310
|
+ smoke_point,
|
|
|
311
|
+ </if>
|
|
|
312
|
+ </trim>
|
|
|
313
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
314
|
+ <if test="id != null" >
|
|
|
315
|
+ #{id,jdbcType=VARCHAR},
|
|
|
316
|
+ </if>
|
|
|
317
|
+ <if test="orgId != null" >
|
|
|
318
|
+ #{orgId,jdbcType=INTEGER},
|
|
|
319
|
+ </if>
|
|
|
320
|
+ <if test="openNot != null" >
|
|
|
321
|
+ #{openNot,jdbcType=INTEGER},
|
|
|
322
|
+ </if>
|
|
|
323
|
+ <if test="creater != null" >
|
|
|
324
|
+ #{creater,jdbcType=VARCHAR},
|
|
|
325
|
+ </if>
|
|
|
326
|
+ <if test="createtime != null" >
|
|
|
327
|
+ #{createtime,jdbcType=TIMESTAMP},
|
|
|
328
|
+ </if>
|
|
|
329
|
+ <if test="updatetime != null" >
|
|
|
330
|
+ #{updatetime,jdbcType=TIMESTAMP},
|
|
|
331
|
+ </if>
|
|
|
332
|
+ <if test="subType != null" >
|
|
|
333
|
+ #{subType,jdbcType=INTEGER},
|
|
|
334
|
+ </if>
|
|
|
335
|
+ <if test="subTypeDetailed != null" >
|
|
|
336
|
+ #{subTypeDetailed,jdbcType=INTEGER},
|
|
|
337
|
+ </if>
|
|
|
338
|
+ <if test="standardName != null" >
|
|
|
339
|
+ #{standardName,jdbcType=VARCHAR},
|
|
|
340
|
+ </if>
|
|
|
341
|
+ <if test="levelUpdate != null" >
|
|
|
342
|
+ #{levelUpdate,jdbcType=VARCHAR},
|
|
|
343
|
+ </if>
|
|
|
344
|
+ <if test="capacity != null" >
|
|
|
345
|
+ #{capacity,jdbcType=VARCHAR},
|
|
|
346
|
+ </if>
|
|
|
347
|
+ <if test="badpart != null" >
|
|
|
348
|
+ #{badpart,jdbcType=VARCHAR},
|
|
|
349
|
+ </if>
|
|
|
350
|
+ <if test="impurityTotal != null" >
|
|
|
351
|
+ #{impurityTotal,jdbcType=VARCHAR},
|
|
|
352
|
+ </if>
|
|
|
353
|
+ <if test="mineral != null" >
|
|
|
354
|
+ #{mineral,jdbcType=VARCHAR},
|
|
|
355
|
+ </if>
|
|
|
356
|
+ <if test="water != null" >
|
|
|
357
|
+ #{water,jdbcType=VARCHAR},
|
|
|
358
|
+ </if>
|
|
|
359
|
+ <if test="colorsmell != null" >
|
|
|
360
|
+ #{colorsmell,jdbcType=VARCHAR},
|
|
|
361
|
+ </if>
|
|
|
362
|
+ <if test="mildewCount != null" >
|
|
|
363
|
+ #{mildewCount,jdbcType=VARCHAR},
|
|
|
364
|
+ </if>
|
|
|
365
|
+ <if test="goodpart != null" >
|
|
|
366
|
+ #{goodpart,jdbcType=VARCHAR},
|
|
|
367
|
+ </if>
|
|
|
368
|
+ <if test="damageRatio != null" >
|
|
|
369
|
+ #{damageRatio,jdbcType=VARCHAR},
|
|
|
370
|
+ </if>
|
|
|
371
|
+ <if test="hotDamageRatio != null" >
|
|
|
372
|
+ #{hotDamageRatio,jdbcType=VARCHAR},
|
|
|
373
|
+ </if>
|
|
|
374
|
+ <if test="huskedRation != null" >
|
|
|
375
|
+ #{huskedRation,jdbcType=VARCHAR},
|
|
|
376
|
+ </if>
|
|
|
377
|
+ <if test="fullGoodRation != null" >
|
|
|
378
|
+ #{fullGoodRation,jdbcType=VARCHAR},
|
|
|
379
|
+ </if>
|
|
|
380
|
+ <if test="yellowPart != null" >
|
|
|
381
|
+ #{yellowPart,jdbcType=VARCHAR},
|
|
|
382
|
+ </if>
|
|
|
383
|
+ <if test="outHuskedRation != null" >
|
|
|
384
|
+ #{outHuskedRation,jdbcType=VARCHAR},
|
|
|
385
|
+ </if>
|
|
|
386
|
+ <if test="intermixingRate != null" >
|
|
|
387
|
+ #{intermixingRate,jdbcType=VARCHAR},
|
|
|
388
|
+ </if>
|
|
|
389
|
+ <if test="brokenriceTotal != null" >
|
|
|
390
|
+ #{brokenriceTotal,jdbcType=VARCHAR},
|
|
|
391
|
+ </if>
|
|
|
392
|
+ <if test="brokenriceSmall != null" >
|
|
|
393
|
+ #{brokenriceSmall,jdbcType=VARCHAR},
|
|
|
394
|
+ </if>
|
|
|
395
|
+ <if test="machiningaccuracy != null" >
|
|
|
396
|
+ #{machiningaccuracy,jdbcType=VARCHAR},
|
|
|
397
|
+ </if>
|
|
|
398
|
+ <if test="machiningaccuracyEssence != null" >
|
|
|
399
|
+ #{machiningaccuracyEssence,jdbcType=VARCHAR},
|
|
|
400
|
+ </if>
|
|
|
401
|
+ <if test="machiningaccuracySuitable != null" >
|
|
|
402
|
+ #{machiningaccuracySuitable,jdbcType=VARCHAR},
|
|
|
403
|
+ </if>
|
|
|
404
|
+ <if test="impurityInorganic != null" >
|
|
|
405
|
+ #{impurityInorganic,jdbcType=VARCHAR},
|
|
|
406
|
+ </if>
|
|
|
407
|
+ <if test="ashContent != null" >
|
|
|
408
|
+ #{ashContent,jdbcType=VARCHAR},
|
|
|
409
|
+ </if>
|
|
|
410
|
+ <if test="gluten != null" >
|
|
|
411
|
+ #{gluten,jdbcType=VARCHAR},
|
|
|
412
|
+ </if>
|
|
|
413
|
+ <if test="siltContent != null" >
|
|
|
414
|
+ #{siltContent,jdbcType=VARCHAR},
|
|
|
415
|
+ </if>
|
|
|
416
|
+ <if test="magneticMetal != null" >
|
|
|
417
|
+ #{magneticMetal,jdbcType=VARCHAR},
|
|
|
418
|
+ </if>
|
|
|
419
|
+ <if test="fatIndex != null" >
|
|
|
420
|
+ #{fatIndex,jdbcType=VARCHAR},
|
|
|
421
|
+ </if>
|
|
|
422
|
+ <if test="smelltaste != null" >
|
|
|
423
|
+ #{smelltaste,jdbcType=VARCHAR},
|
|
|
424
|
+ </if>
|
|
|
425
|
+ <if test="acidValue != null" >
|
|
|
426
|
+ #{acidValue,jdbcType=VARCHAR},
|
|
|
427
|
+ </if>
|
|
|
428
|
+ <if test="residualSolvent != null" >
|
|
|
429
|
+ #{residualSolvent,jdbcType=VARCHAR},
|
|
|
430
|
+ </if>
|
|
|
431
|
+ <if test="waterVolatiles != null" >
|
|
|
432
|
+ #{waterVolatiles,jdbcType=VARCHAR},
|
|
|
433
|
+ </if>
|
|
|
434
|
+ <if test="insolubleImpurity != null" >
|
|
|
435
|
+ #{insolubleImpurity,jdbcType=VARCHAR},
|
|
|
436
|
+ </if>
|
|
|
437
|
+ <if test="soapContent != null" >
|
|
|
438
|
+ #{soapContent,jdbcType=VARCHAR},
|
|
|
439
|
+ </if>
|
|
|
440
|
+ <if test="smokePoint != null" >
|
|
|
441
|
+ #{smokePoint,jdbcType=VARCHAR},
|
|
|
442
|
+ </if>
|
|
|
443
|
+ </trim>
|
|
|
444
|
+ </insert>
|
|
|
445
|
+ <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparationExample" resultType="java.lang.Integer" >
|
|
|
446
|
+ select count(*) from storage_qualitystandard_preparation
|
|
|
447
|
+ <if test="_parameter != null" >
|
|
|
448
|
+ <include refid="Example_Where_Clause" />
|
|
|
449
|
+ </if>
|
|
|
450
|
+ </select>
|
|
|
451
|
+ <update id="updateByExampleSelective" parameterType="map" >
|
|
|
452
|
+ update storage_qualitystandard_preparation
|
|
|
453
|
+ <set >
|
|
|
454
|
+ <if test="record.id != null" >
|
|
|
455
|
+ id = #{record.id,jdbcType=VARCHAR},
|
|
|
456
|
+ </if>
|
|
|
457
|
+ <if test="record.orgId != null" >
|
|
|
458
|
+ org_id = #{record.orgId,jdbcType=INTEGER},
|
|
|
459
|
+ </if>
|
|
|
460
|
+ <if test="record.openNot != null" >
|
|
|
461
|
+ open_not = #{record.openNot,jdbcType=INTEGER},
|
|
|
462
|
+ </if>
|
|
|
463
|
+ <if test="record.creater != null" >
|
|
|
464
|
+ creater = #{record.creater,jdbcType=VARCHAR},
|
|
|
465
|
+ </if>
|
|
|
466
|
+ <if test="record.createtime != null" >
|
|
|
467
|
+ createtime = #{record.createtime,jdbcType=TIMESTAMP},
|
|
|
468
|
+ </if>
|
|
|
469
|
+ <if test="record.updatetime != null" >
|
|
|
470
|
+ updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
|
471
|
+ </if>
|
|
|
472
|
+ <if test="record.subType != null" >
|
|
|
473
|
+ sub_type = #{record.subType,jdbcType=INTEGER},
|
|
|
474
|
+ </if>
|
|
|
475
|
+ <if test="record.subTypeDetailed != null" >
|
|
|
476
|
+ sub_type_detailed = #{record.subTypeDetailed,jdbcType=INTEGER},
|
|
|
477
|
+ </if>
|
|
|
478
|
+ <if test="record.standardName != null" >
|
|
|
479
|
+ standard_name = #{record.standardName,jdbcType=VARCHAR},
|
|
|
480
|
+ </if>
|
|
|
481
|
+ <if test="record.levelUpdate != null" >
|
|
|
482
|
+ level_update = #{record.levelUpdate,jdbcType=VARCHAR},
|
|
|
483
|
+ </if>
|
|
|
484
|
+ <if test="record.capacity != null" >
|
|
|
485
|
+ capacity = #{record.capacity,jdbcType=VARCHAR},
|
|
|
486
|
+ </if>
|
|
|
487
|
+ <if test="record.badpart != null" >
|
|
|
488
|
+ badpart = #{record.badpart,jdbcType=VARCHAR},
|
|
|
489
|
+ </if>
|
|
|
490
|
+ <if test="record.impurityTotal != null" >
|
|
|
491
|
+ impurity_total = #{record.impurityTotal,jdbcType=VARCHAR},
|
|
|
492
|
+ </if>
|
|
|
493
|
+ <if test="record.mineral != null" >
|
|
|
494
|
+ mineral = #{record.mineral,jdbcType=VARCHAR},
|
|
|
495
|
+ </if>
|
|
|
496
|
+ <if test="record.water != null" >
|
|
|
497
|
+ water = #{record.water,jdbcType=VARCHAR},
|
|
|
498
|
+ </if>
|
|
|
499
|
+ <if test="record.colorsmell != null" >
|
|
|
500
|
+ colorsmell = #{record.colorsmell,jdbcType=VARCHAR},
|
|
|
501
|
+ </if>
|
|
|
502
|
+ <if test="record.mildewCount != null" >
|
|
|
503
|
+ mildew_count = #{record.mildewCount,jdbcType=VARCHAR},
|
|
|
504
|
+ </if>
|
|
|
505
|
+ <if test="record.goodpart != null" >
|
|
|
506
|
+ goodpart = #{record.goodpart,jdbcType=VARCHAR},
|
|
|
507
|
+ </if>
|
|
|
508
|
+ <if test="record.damageRatio != null" >
|
|
|
509
|
+ damage_ratio = #{record.damageRatio,jdbcType=VARCHAR},
|
|
|
510
|
+ </if>
|
|
|
511
|
+ <if test="record.hotDamageRatio != null" >
|
|
|
512
|
+ hot_damage_ratio = #{record.hotDamageRatio,jdbcType=VARCHAR},
|
|
|
513
|
+ </if>
|
|
|
514
|
+ <if test="record.huskedRation != null" >
|
|
|
515
|
+ husked_ration = #{record.huskedRation,jdbcType=VARCHAR},
|
|
|
516
|
+ </if>
|
|
|
517
|
+ <if test="record.fullGoodRation != null" >
|
|
|
518
|
+ full_good_ration = #{record.fullGoodRation,jdbcType=VARCHAR},
|
|
|
519
|
+ </if>
|
|
|
520
|
+ <if test="record.yellowPart != null" >
|
|
|
521
|
+ yellow_part = #{record.yellowPart,jdbcType=VARCHAR},
|
|
|
522
|
+ </if>
|
|
|
523
|
+ <if test="record.outHuskedRation != null" >
|
|
|
524
|
+ out_husked_ration = #{record.outHuskedRation,jdbcType=VARCHAR},
|
|
|
525
|
+ </if>
|
|
|
526
|
+ <if test="record.intermixingRate != null" >
|
|
|
527
|
+ intermixing_rate = #{record.intermixingRate,jdbcType=VARCHAR},
|
|
|
528
|
+ </if>
|
|
|
529
|
+ <if test="record.brokenriceTotal != null" >
|
|
|
530
|
+ brokenrice_total = #{record.brokenriceTotal,jdbcType=VARCHAR},
|
|
|
531
|
+ </if>
|
|
|
532
|
+ <if test="record.brokenriceSmall != null" >
|
|
|
533
|
+ brokenrice_small = #{record.brokenriceSmall,jdbcType=VARCHAR},
|
|
|
534
|
+ </if>
|
|
|
535
|
+ <if test="record.machiningaccuracy != null" >
|
|
|
536
|
+ machiningaccuracy = #{record.machiningaccuracy,jdbcType=VARCHAR},
|
|
|
537
|
+ </if>
|
|
|
538
|
+ <if test="record.machiningaccuracyEssence != null" >
|
|
|
539
|
+ machiningaccuracy_essence = #{record.machiningaccuracyEssence,jdbcType=VARCHAR},
|
|
|
540
|
+ </if>
|
|
|
541
|
+ <if test="record.machiningaccuracySuitable != null" >
|
|
|
542
|
+ machiningaccuracy_suitable = #{record.machiningaccuracySuitable,jdbcType=VARCHAR},
|
|
|
543
|
+ </if>
|
|
|
544
|
+ <if test="record.impurityInorganic != null" >
|
|
|
545
|
+ impurity_inorganic = #{record.impurityInorganic,jdbcType=VARCHAR},
|
|
|
546
|
+ </if>
|
|
|
547
|
+ <if test="record.ashContent != null" >
|
|
|
548
|
+ ash_content = #{record.ashContent,jdbcType=VARCHAR},
|
|
|
549
|
+ </if>
|
|
|
550
|
+ <if test="record.gluten != null" >
|
|
|
551
|
+ gluten = #{record.gluten,jdbcType=VARCHAR},
|
|
|
552
|
+ </if>
|
|
|
553
|
+ <if test="record.siltContent != null" >
|
|
|
554
|
+ silt_content = #{record.siltContent,jdbcType=VARCHAR},
|
|
|
555
|
+ </if>
|
|
|
556
|
+ <if test="record.magneticMetal != null" >
|
|
|
557
|
+ magnetic_metal = #{record.magneticMetal,jdbcType=VARCHAR},
|
|
|
558
|
+ </if>
|
|
|
559
|
+ <if test="record.fatIndex != null" >
|
|
|
560
|
+ fat_index = #{record.fatIndex,jdbcType=VARCHAR},
|
|
|
561
|
+ </if>
|
|
|
562
|
+ <if test="record.smelltaste != null" >
|
|
|
563
|
+ smelltaste = #{record.smelltaste,jdbcType=VARCHAR},
|
|
|
564
|
+ </if>
|
|
|
565
|
+ <if test="record.acidValue != null" >
|
|
|
566
|
+ acid_value = #{record.acidValue,jdbcType=VARCHAR},
|
|
|
567
|
+ </if>
|
|
|
568
|
+ <if test="record.residualSolvent != null" >
|
|
|
569
|
+ residual_solvent = #{record.residualSolvent,jdbcType=VARCHAR},
|
|
|
570
|
+ </if>
|
|
|
571
|
+ <if test="record.waterVolatiles != null" >
|
|
|
572
|
+ water_volatiles = #{record.waterVolatiles,jdbcType=VARCHAR},
|
|
|
573
|
+ </if>
|
|
|
574
|
+ <if test="record.insolubleImpurity != null" >
|
|
|
575
|
+ insoluble_impurity = #{record.insolubleImpurity,jdbcType=VARCHAR},
|
|
|
576
|
+ </if>
|
|
|
577
|
+ <if test="record.soapContent != null" >
|
|
|
578
|
+ soap_content = #{record.soapContent,jdbcType=VARCHAR},
|
|
|
579
|
+ </if>
|
|
|
580
|
+ <if test="record.smokePoint != null" >
|
|
|
581
|
+ smoke_point = #{record.smokePoint,jdbcType=VARCHAR},
|
|
|
582
|
+ </if>
|
|
|
583
|
+ </set>
|
|
|
584
|
+ <if test="_parameter != null" >
|
|
|
585
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
586
|
+ </if>
|
|
|
587
|
+ </update>
|
|
|
588
|
+ <update id="updateByExample" parameterType="map" >
|
|
|
589
|
+ update storage_qualitystandard_preparation
|
|
|
590
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
591
|
+ org_id = #{record.orgId,jdbcType=INTEGER},
|
|
|
592
|
+ open_not = #{record.openNot,jdbcType=INTEGER},
|
|
|
593
|
+ creater = #{record.creater,jdbcType=VARCHAR},
|
|
|
594
|
+ createtime = #{record.createtime,jdbcType=TIMESTAMP},
|
|
|
595
|
+ updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
|
596
|
+ sub_type = #{record.subType,jdbcType=INTEGER},
|
|
|
597
|
+ sub_type_detailed = #{record.subTypeDetailed,jdbcType=INTEGER},
|
|
|
598
|
+ standard_name = #{record.standardName,jdbcType=VARCHAR},
|
|
|
599
|
+ level_update = #{record.levelUpdate,jdbcType=VARCHAR},
|
|
|
600
|
+ capacity = #{record.capacity,jdbcType=VARCHAR},
|
|
|
601
|
+ badpart = #{record.badpart,jdbcType=VARCHAR},
|
|
|
602
|
+ impurity_total = #{record.impurityTotal,jdbcType=VARCHAR},
|
|
|
603
|
+ mineral = #{record.mineral,jdbcType=VARCHAR},
|
|
|
604
|
+ water = #{record.water,jdbcType=VARCHAR},
|
|
|
605
|
+ colorsmell = #{record.colorsmell,jdbcType=VARCHAR},
|
|
|
606
|
+ mildew_count = #{record.mildewCount,jdbcType=VARCHAR},
|
|
|
607
|
+ goodpart = #{record.goodpart,jdbcType=VARCHAR},
|
|
|
608
|
+ damage_ratio = #{record.damageRatio,jdbcType=VARCHAR},
|
|
|
609
|
+ hot_damage_ratio = #{record.hotDamageRatio,jdbcType=VARCHAR},
|
|
|
610
|
+ husked_ration = #{record.huskedRation,jdbcType=VARCHAR},
|
|
|
611
|
+ full_good_ration = #{record.fullGoodRation,jdbcType=VARCHAR},
|
|
|
612
|
+ yellow_part = #{record.yellowPart,jdbcType=VARCHAR},
|
|
|
613
|
+ out_husked_ration = #{record.outHuskedRation,jdbcType=VARCHAR},
|
|
|
614
|
+ intermixing_rate = #{record.intermixingRate,jdbcType=VARCHAR},
|
|
|
615
|
+ brokenrice_total = #{record.brokenriceTotal,jdbcType=VARCHAR},
|
|
|
616
|
+ brokenrice_small = #{record.brokenriceSmall,jdbcType=VARCHAR},
|
|
|
617
|
+ machiningaccuracy = #{record.machiningaccuracy,jdbcType=VARCHAR},
|
|
|
618
|
+ machiningaccuracy_essence = #{record.machiningaccuracyEssence,jdbcType=VARCHAR},
|
|
|
619
|
+ machiningaccuracy_suitable = #{record.machiningaccuracySuitable,jdbcType=VARCHAR},
|
|
|
620
|
+ impurity_inorganic = #{record.impurityInorganic,jdbcType=VARCHAR},
|
|
|
621
|
+ ash_content = #{record.ashContent,jdbcType=VARCHAR},
|
|
|
622
|
+ gluten = #{record.gluten,jdbcType=VARCHAR},
|
|
|
623
|
+ silt_content = #{record.siltContent,jdbcType=VARCHAR},
|
|
|
624
|
+ magnetic_metal = #{record.magneticMetal,jdbcType=VARCHAR},
|
|
|
625
|
+ fat_index = #{record.fatIndex,jdbcType=VARCHAR},
|
|
|
626
|
+ smelltaste = #{record.smelltaste,jdbcType=VARCHAR},
|
|
|
627
|
+ acid_value = #{record.acidValue,jdbcType=VARCHAR},
|
|
|
628
|
+ residual_solvent = #{record.residualSolvent,jdbcType=VARCHAR},
|
|
|
629
|
+ water_volatiles = #{record.waterVolatiles,jdbcType=VARCHAR},
|
|
|
630
|
+ insoluble_impurity = #{record.insolubleImpurity,jdbcType=VARCHAR},
|
|
|
631
|
+ soap_content = #{record.soapContent,jdbcType=VARCHAR},
|
|
|
632
|
+ smoke_point = #{record.smokePoint,jdbcType=VARCHAR}
|
|
|
633
|
+ <if test="_parameter != null" >
|
|
|
634
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
635
|
+ </if>
|
|
|
636
|
+ </update>
|
|
|
637
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparation" >
|
|
|
638
|
+ update storage_qualitystandard_preparation
|
|
|
639
|
+ <set >
|
|
|
640
|
+ <if test="orgId != null" >
|
|
|
641
|
+ org_id = #{orgId,jdbcType=INTEGER},
|
|
|
642
|
+ </if>
|
|
|
643
|
+ <if test="openNot != null" >
|
|
|
644
|
+ open_not = #{openNot,jdbcType=INTEGER},
|
|
|
645
|
+ </if>
|
|
|
646
|
+ <if test="creater != null" >
|
|
|
647
|
+ creater = #{creater,jdbcType=VARCHAR},
|
|
|
648
|
+ </if>
|
|
|
649
|
+ <if test="createtime != null" >
|
|
|
650
|
+ createtime = #{createtime,jdbcType=TIMESTAMP},
|
|
|
651
|
+ </if>
|
|
|
652
|
+ <if test="updatetime != null" >
|
|
|
653
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
654
|
+ </if>
|
|
|
655
|
+ <if test="subType != null" >
|
|
|
656
|
+ sub_type = #{subType,jdbcType=INTEGER},
|
|
|
657
|
+ </if>
|
|
|
658
|
+ <if test="subTypeDetailed != null" >
|
|
|
659
|
+ sub_type_detailed = #{subTypeDetailed,jdbcType=INTEGER},
|
|
|
660
|
+ </if>
|
|
|
661
|
+ <if test="standardName != null" >
|
|
|
662
|
+ standard_name = #{standardName,jdbcType=VARCHAR},
|
|
|
663
|
+ </if>
|
|
|
664
|
+ <if test="levelUpdate != null" >
|
|
|
665
|
+ level_update = #{levelUpdate,jdbcType=VARCHAR},
|
|
|
666
|
+ </if>
|
|
|
667
|
+ <if test="capacity != null" >
|
|
|
668
|
+ capacity = #{capacity,jdbcType=VARCHAR},
|
|
|
669
|
+ </if>
|
|
|
670
|
+ <if test="badpart != null" >
|
|
|
671
|
+ badpart = #{badpart,jdbcType=VARCHAR},
|
|
|
672
|
+ </if>
|
|
|
673
|
+ <if test="impurityTotal != null" >
|
|
|
674
|
+ impurity_total = #{impurityTotal,jdbcType=VARCHAR},
|
|
|
675
|
+ </if>
|
|
|
676
|
+ <if test="mineral != null" >
|
|
|
677
|
+ mineral = #{mineral,jdbcType=VARCHAR},
|
|
|
678
|
+ </if>
|
|
|
679
|
+ <if test="water != null" >
|
|
|
680
|
+ water = #{water,jdbcType=VARCHAR},
|
|
|
681
|
+ </if>
|
|
|
682
|
+ <if test="colorsmell != null" >
|
|
|
683
|
+ colorsmell = #{colorsmell,jdbcType=VARCHAR},
|
|
|
684
|
+ </if>
|
|
|
685
|
+ <if test="mildewCount != null" >
|
|
|
686
|
+ mildew_count = #{mildewCount,jdbcType=VARCHAR},
|
|
|
687
|
+ </if>
|
|
|
688
|
+ <if test="goodpart != null" >
|
|
|
689
|
+ goodpart = #{goodpart,jdbcType=VARCHAR},
|
|
|
690
|
+ </if>
|
|
|
691
|
+ <if test="damageRatio != null" >
|
|
|
692
|
+ damage_ratio = #{damageRatio,jdbcType=VARCHAR},
|
|
|
693
|
+ </if>
|
|
|
694
|
+ <if test="hotDamageRatio != null" >
|
|
|
695
|
+ hot_damage_ratio = #{hotDamageRatio,jdbcType=VARCHAR},
|
|
|
696
|
+ </if>
|
|
|
697
|
+ <if test="huskedRation != null" >
|
|
|
698
|
+ husked_ration = #{huskedRation,jdbcType=VARCHAR},
|
|
|
699
|
+ </if>
|
|
|
700
|
+ <if test="fullGoodRation != null" >
|
|
|
701
|
+ full_good_ration = #{fullGoodRation,jdbcType=VARCHAR},
|
|
|
702
|
+ </if>
|
|
|
703
|
+ <if test="yellowPart != null" >
|
|
|
704
|
+ yellow_part = #{yellowPart,jdbcType=VARCHAR},
|
|
|
705
|
+ </if>
|
|
|
706
|
+ <if test="outHuskedRation != null" >
|
|
|
707
|
+ out_husked_ration = #{outHuskedRation,jdbcType=VARCHAR},
|
|
|
708
|
+ </if>
|
|
|
709
|
+ <if test="intermixingRate != null" >
|
|
|
710
|
+ intermixing_rate = #{intermixingRate,jdbcType=VARCHAR},
|
|
|
711
|
+ </if>
|
|
|
712
|
+ <if test="brokenriceTotal != null" >
|
|
|
713
|
+ brokenrice_total = #{brokenriceTotal,jdbcType=VARCHAR},
|
|
|
714
|
+ </if>
|
|
|
715
|
+ <if test="brokenriceSmall != null" >
|
|
|
716
|
+ brokenrice_small = #{brokenriceSmall,jdbcType=VARCHAR},
|
|
|
717
|
+ </if>
|
|
|
718
|
+ <if test="machiningaccuracy != null" >
|
|
|
719
|
+ machiningaccuracy = #{machiningaccuracy,jdbcType=VARCHAR},
|
|
|
720
|
+ </if>
|
|
|
721
|
+ <if test="machiningaccuracyEssence != null" >
|
|
|
722
|
+ machiningaccuracy_essence = #{machiningaccuracyEssence,jdbcType=VARCHAR},
|
|
|
723
|
+ </if>
|
|
|
724
|
+ <if test="machiningaccuracySuitable != null" >
|
|
|
725
|
+ machiningaccuracy_suitable = #{machiningaccuracySuitable,jdbcType=VARCHAR},
|
|
|
726
|
+ </if>
|
|
|
727
|
+ <if test="impurityInorganic != null" >
|
|
|
728
|
+ impurity_inorganic = #{impurityInorganic,jdbcType=VARCHAR},
|
|
|
729
|
+ </if>
|
|
|
730
|
+ <if test="ashContent != null" >
|
|
|
731
|
+ ash_content = #{ashContent,jdbcType=VARCHAR},
|
|
|
732
|
+ </if>
|
|
|
733
|
+ <if test="gluten != null" >
|
|
|
734
|
+ gluten = #{gluten,jdbcType=VARCHAR},
|
|
|
735
|
+ </if>
|
|
|
736
|
+ <if test="siltContent != null" >
|
|
|
737
|
+ silt_content = #{siltContent,jdbcType=VARCHAR},
|
|
|
738
|
+ </if>
|
|
|
739
|
+ <if test="magneticMetal != null" >
|
|
|
740
|
+ magnetic_metal = #{magneticMetal,jdbcType=VARCHAR},
|
|
|
741
|
+ </if>
|
|
|
742
|
+ <if test="fatIndex != null" >
|
|
|
743
|
+ fat_index = #{fatIndex,jdbcType=VARCHAR},
|
|
|
744
|
+ </if>
|
|
|
745
|
+ <if test="smelltaste != null" >
|
|
|
746
|
+ smelltaste = #{smelltaste,jdbcType=VARCHAR},
|
|
|
747
|
+ </if>
|
|
|
748
|
+ <if test="acidValue != null" >
|
|
|
749
|
+ acid_value = #{acidValue,jdbcType=VARCHAR},
|
|
|
750
|
+ </if>
|
|
|
751
|
+ <if test="residualSolvent != null" >
|
|
|
752
|
+ residual_solvent = #{residualSolvent,jdbcType=VARCHAR},
|
|
|
753
|
+ </if>
|
|
|
754
|
+ <if test="waterVolatiles != null" >
|
|
|
755
|
+ water_volatiles = #{waterVolatiles,jdbcType=VARCHAR},
|
|
|
756
|
+ </if>
|
|
|
757
|
+ <if test="insolubleImpurity != null" >
|
|
|
758
|
+ insoluble_impurity = #{insolubleImpurity,jdbcType=VARCHAR},
|
|
|
759
|
+ </if>
|
|
|
760
|
+ <if test="soapContent != null" >
|
|
|
761
|
+ soap_content = #{soapContent,jdbcType=VARCHAR},
|
|
|
762
|
+ </if>
|
|
|
763
|
+ <if test="smokePoint != null" >
|
|
|
764
|
+ smoke_point = #{smokePoint,jdbcType=VARCHAR},
|
|
|
765
|
+ </if>
|
|
|
766
|
+ </set>
|
|
|
767
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
768
|
+ </update>
|
|
|
769
|
+ <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.storage.model.StorageQualitystandardPreparation" >
|
|
|
770
|
+ update storage_qualitystandard_preparation
|
|
|
771
|
+ set org_id = #{orgId,jdbcType=INTEGER},
|
|
|
772
|
+ open_not = #{openNot,jdbcType=INTEGER},
|
|
|
773
|
+ creater = #{creater,jdbcType=VARCHAR},
|
|
|
774
|
+ createtime = #{createtime,jdbcType=TIMESTAMP},
|
|
|
775
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
776
|
+ sub_type = #{subType,jdbcType=INTEGER},
|
|
|
777
|
+ sub_type_detailed = #{subTypeDetailed,jdbcType=INTEGER},
|
|
|
778
|
+ standard_name = #{standardName,jdbcType=VARCHAR},
|
|
|
779
|
+ level_update = #{levelUpdate,jdbcType=VARCHAR},
|
|
|
780
|
+ capacity = #{capacity,jdbcType=VARCHAR},
|
|
|
781
|
+ badpart = #{badpart,jdbcType=VARCHAR},
|
|
|
782
|
+ impurity_total = #{impurityTotal,jdbcType=VARCHAR},
|
|
|
783
|
+ mineral = #{mineral,jdbcType=VARCHAR},
|
|
|
784
|
+ water = #{water,jdbcType=VARCHAR},
|
|
|
785
|
+ colorsmell = #{colorsmell,jdbcType=VARCHAR},
|
|
|
786
|
+ mildew_count = #{mildewCount,jdbcType=VARCHAR},
|
|
|
787
|
+ goodpart = #{goodpart,jdbcType=VARCHAR},
|
|
|
788
|
+ damage_ratio = #{damageRatio,jdbcType=VARCHAR},
|
|
|
789
|
+ hot_damage_ratio = #{hotDamageRatio,jdbcType=VARCHAR},
|
|
|
790
|
+ husked_ration = #{huskedRation,jdbcType=VARCHAR},
|
|
|
791
|
+ full_good_ration = #{fullGoodRation,jdbcType=VARCHAR},
|
|
|
792
|
+ yellow_part = #{yellowPart,jdbcType=VARCHAR},
|
|
|
793
|
+ out_husked_ration = #{outHuskedRation,jdbcType=VARCHAR},
|
|
|
794
|
+ intermixing_rate = #{intermixingRate,jdbcType=VARCHAR},
|
|
|
795
|
+ brokenrice_total = #{brokenriceTotal,jdbcType=VARCHAR},
|
|
|
796
|
+ brokenrice_small = #{brokenriceSmall,jdbcType=VARCHAR},
|
|
|
797
|
+ machiningaccuracy = #{machiningaccuracy,jdbcType=VARCHAR},
|
|
|
798
|
+ machiningaccuracy_essence = #{machiningaccuracyEssence,jdbcType=VARCHAR},
|
|
|
799
|
+ machiningaccuracy_suitable = #{machiningaccuracySuitable,jdbcType=VARCHAR},
|
|
|
800
|
+ impurity_inorganic = #{impurityInorganic,jdbcType=VARCHAR},
|
|
|
801
|
+ ash_content = #{ashContent,jdbcType=VARCHAR},
|
|
|
802
|
+ gluten = #{gluten,jdbcType=VARCHAR},
|
|
|
803
|
+ silt_content = #{siltContent,jdbcType=VARCHAR},
|
|
|
804
|
+ magnetic_metal = #{magneticMetal,jdbcType=VARCHAR},
|
|
|
805
|
+ fat_index = #{fatIndex,jdbcType=VARCHAR},
|
|
|
806
|
+ smelltaste = #{smelltaste,jdbcType=VARCHAR},
|
|
|
807
|
+ acid_value = #{acidValue,jdbcType=VARCHAR},
|
|
|
808
|
+ residual_solvent = #{residualSolvent,jdbcType=VARCHAR},
|
|
|
809
|
+ water_volatiles = #{waterVolatiles,jdbcType=VARCHAR},
|
|
|
810
|
+ insoluble_impurity = #{insolubleImpurity,jdbcType=VARCHAR},
|
|
|
811
|
+ soap_content = #{soapContent,jdbcType=VARCHAR},
|
|
|
812
|
+ smoke_point = #{smokePoint,jdbcType=VARCHAR}
|
|
|
813
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
814
|
+ </update>
|
|
|
815
|
+</mapper>
|