|
|
@@ -74,6 +74,7 @@
|
|
74
|
74
|
<result column="rice_yield" property="riceYield" jdbcType="VARCHAR" />
|
|
75
|
75
|
<result column="imperfectgrains_scab_qtbl" property="imperfectgrainsScabQtbl" jdbcType="VARCHAR" />
|
|
76
|
76
|
<result column="color_smell" property="colorSmell" jdbcType="VARCHAR" />
|
|
|
77
|
+ <result column="wgxt" property="wgxt" jdbcType="VARCHAR" />
|
|
77
|
78
|
</resultMap>
|
|
78
|
79
|
<sql id="Example_Where_Clause" >
|
|
79
|
80
|
<where >
|
|
|
@@ -147,7 +148,7 @@
|
|
147
|
148
|
avg_length, rice_grains, brokenRice_total, brokenRice_big, brokenRice_small, machiningAccuracy,
|
|
148
|
149
|
chalkiness, machiningAccuracy_essence, machiningAccuracy_suitable, amylose, ash_content,
|
|
149
|
150
|
coarseness, gluten, silt_content, magnetic_metal, input_one, input_two, input_three,
|
|
150
|
|
- input_four,sieve_residue,rice_yield,imperfectgrains_scab_qtbl,color_smell
|
|
|
151
|
+ input_four,sieve_residue,rice_yield,imperfectgrains_scab_qtbl,color_smell,wgxt
|
|
151
|
152
|
</sql>
|
|
152
|
153
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckInspectionExample" >
|
|
153
|
154
|
select
|
|
|
@@ -205,7 +206,7 @@
|
|
205
|
206
|
coarseness, gluten, silt_content,
|
|
206
|
207
|
magnetic_metal, input_one, input_two,
|
|
207
|
208
|
input_three, input_four,
|
|
208
|
|
- sieve_residue,rice_yield,imperfectgrains_scab_qtbl,color_smell)
|
|
|
209
|
+ sieve_residue,rice_yield,imperfectgrains_scab_qtbl,color_smell,wgxt)
|
|
209
|
210
|
values (#{id,jdbcType=INTEGER}, #{qualitycheckId,jdbcType=INTEGER}, #{unitWeight,jdbcType=VARCHAR},
|
|
210
|
211
|
#{impurityTotal,jdbcType=VARCHAR}, #{impurityInorganic,jdbcType=VARCHAR}, #{impurityOrganic,jdbcType=VARCHAR},
|
|
211
|
212
|
#{impurityBranPowder,jdbcType=VARCHAR}, #{imperfectgrainsTotal,jdbcType=VARCHAR},
|
|
|
@@ -232,7 +233,7 @@
|
|
232
|
233
|
#{magneticMetal,jdbcType=VARCHAR}, #{inputOne,jdbcType=VARCHAR}, #{inputTwo,jdbcType=VARCHAR},
|
|
233
|
234
|
#{inputThree,jdbcType=VARCHAR}, #{inputFour,jdbcType=VARCHAR},
|
|
234
|
235
|
#{sieveResidue,jdbcType=VARCHAR}, #{riceYield,jdbcType=VARCHAR}, #{imperfectgrainsScabQtbl,jdbcType=VARCHAR}
|
|
235
|
|
- , #{colorSmell,jdbcType=VARCHAR})
|
|
|
236
|
+ , #{colorSmell,jdbcType=VARCHAR}, #{wgxt,jdbcType=VARCHAR})
|
|
236
|
237
|
</insert>
|
|
237
|
238
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckInspection" >
|
|
238
|
239
|
insert into storage_qualitycheck_inspection
|
|
|
@@ -451,6 +452,9 @@
|
|
451
|
452
|
<if test="colorSmell != null">
|
|
452
|
453
|
color_smell,
|
|
453
|
454
|
</if>
|
|
|
455
|
+ <if test="wgxt != null">
|
|
|
456
|
+ wgxt,
|
|
|
457
|
+ </if>
|
|
454
|
458
|
</trim>
|
|
455
|
459
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
456
|
460
|
SEQ_STORAGE_QUALITYCHECK_INSPECTION.nextVal,
|
|
|
@@ -667,6 +671,9 @@
|
|
667
|
671
|
<if test="colorSmell != null">
|
|
668
|
672
|
#{colorSmell,jdbcType=VARCHAR},
|
|
669
|
673
|
</if>
|
|
|
674
|
+ <if test="wgxt != null">
|
|
|
675
|
+ #{wgxt,jdbcType=VARCHAR},
|
|
|
676
|
+ </if>
|
|
670
|
677
|
</trim>
|
|
671
|
678
|
</insert>
|
|
672
|
679
|
<select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckInspectionExample" resultType="java.lang.Integer" >
|
|
|
@@ -894,6 +901,9 @@
|
|
894
|
901
|
<if test="record.colorSmell != null">
|
|
895
|
902
|
color_smell = #{record.colorSmell,jdbcType=VARCHAR},
|
|
896
|
903
|
</if>
|
|
|
904
|
+ <if test="record.wgxt != null">
|
|
|
905
|
+ wgxt = #{record.wgxt,jdbcType=VARCHAR},
|
|
|
906
|
+ </if>
|
|
897
|
907
|
</set>
|
|
898
|
908
|
<if test="_parameter != null" >
|
|
899
|
909
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -972,7 +982,8 @@
|
|
972
|
982
|
sieve_residue = #{record.sieveResidue,jdbcType=VARCHAR},
|
|
973
|
983
|
rice_yield = #{record.riceYield,jdbcType=VARCHAR},
|
|
974
|
984
|
imperfectgrains_scab_qtbl = #{record.imperfectgrainsScabQtbl,jdbcType=VARCHAR},
|
|
975
|
|
- color_smell = #{record.colorSmell,jdbcType=VARCHAR}
|
|
|
985
|
+ color_smell = #{record.colorSmell,jdbcType=VARCHAR},
|
|
|
986
|
+ wgxt = #{record.wgxt,jdbcType=VARCHAR}
|
|
976
|
987
|
<if test="_parameter != null" >
|
|
977
|
988
|
<include refid="Update_By_Example_Where_Clause" />
|
|
978
|
989
|
</if>
|
|
|
@@ -1193,6 +1204,9 @@
|
|
1193
|
1204
|
<if test="colorSmell != null">
|
|
1194
|
1205
|
color_smell = #{colorSmell,jdbcType=VARCHAR},
|
|
1195
|
1206
|
</if>
|
|
|
1207
|
+ <if test="wgxt != null">
|
|
|
1208
|
+ wgxt = #{wgxt,jdbcType=VARCHAR},
|
|
|
1209
|
+ </if>
|
|
1196
|
1210
|
</set>
|
|
1197
|
1211
|
where id = #{id,jdbcType=INTEGER}
|
|
1198
|
1212
|
</update>
|
|
|
@@ -1268,7 +1282,8 @@
|
|
1268
|
1282
|
sieve_residue = #{sieveResidue,jdbcType=VARCHAR},
|
|
1269
|
1283
|
rice_yield = #{riceYield,jdbcType=VARCHAR},
|
|
1270
|
1284
|
imperfectgrains_scab_qtbl = #{imperfectgrainsScabQtbl,jdbcType=VARCHAR},
|
|
1271
|
|
- color_smell = #{colorSmell,jdbcType=VARCHAR}
|
|
|
1285
|
+ color_smell = #{colorSmell,jdbcType=VARCHAR},
|
|
|
1286
|
+ wgxt = #{wgxt,jdbcType=VARCHAR}
|
|
1272
|
1287
|
where id = #{id,jdbcType=INTEGER}
|
|
1273
|
1288
|
</update>
|
|
1274
|
1289
|
|