|
|
@@ -101,6 +101,12 @@
|
|
101
|
101
|
<result column="jdrxm" property="jdrxm" jdbcType="VARCHAR" />
|
|
102
|
102
|
<result column="ypbh" property="ypbh" jdbcType="VARCHAR" />
|
|
103
|
103
|
<result column="sfzcccnx" property="sfzcccnx" jdbcType="VARCHAR" />
|
|
|
104
|
+ <result column="jylb" property="jylb" jdbcType="VARCHAR" />
|
|
|
105
|
+ <result column="zbjgpd" property="zbjgpd" jdbcType="VARCHAR" />
|
|
|
106
|
+ <result column="qfrq" property="qfrq" jdbcType="TIMESTAMP" />
|
|
|
107
|
+ <result column="ypsl" property="ypsl" jdbcType="VARCHAR" />
|
|
|
108
|
+ <result column="dbsl" property="dbsl" jdbcType="VARCHAR" />
|
|
|
109
|
+ <result column="ypdj" property="ypdj" jdbcType="VARCHAR" />
|
|
104
|
110
|
</resultMap>
|
|
105
|
111
|
<sql id="Example_Where_Clause" >
|
|
106
|
112
|
<!--
|
|
|
@@ -189,7 +195,8 @@
|
|
189
|
195
|
check_result_time, store_quality, is_pest, inspection_standard_basis, quality, seal_date,
|
|
190
|
196
|
seal_status, auth_code, org_id, history_status, intermixing_rate, smelltaste, transparency,
|
|
191
|
197
|
peroxide_value, smoke_point, reeze_test, residual_solvent, lead, total_arsenic, aflatoxin,
|
|
192
|
|
- butyl_phenol, updatetime, zblb, qydbh, qysj, qyqy, jdrxm, ypbh, sfzcccnx, flag_type
|
|
|
198
|
+ butyl_phenol, updatetime, zblb, qydbh, qysj, qyqy, jdrxm, ypbh, sfzcccnx, flag_type,
|
|
|
199
|
+ jylb,zbjgpd,qfrq,ypsl,dbsl,ypdj
|
|
193
|
200
|
</sql>
|
|
194
|
201
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" >
|
|
195
|
202
|
<!--
|
|
|
@@ -277,7 +284,8 @@
|
|
277
|
284
|
reeze_test, residual_solvent, lead,
|
|
278
|
285
|
total_arsenic, aflatoxin, butyl_phenol,
|
|
279
|
286
|
updatetime, zblb, qydbh,
|
|
280
|
|
- qysj, qyqy, jdrxm,
|
|
|
287
|
+ qysj, qyqy, jdrxm,
|
|
|
288
|
+ jylb,zbjgpd,qfrq,ypsl,dbsl,ypdj,
|
|
281
|
289
|
ypbh, sfzcccnx)
|
|
282
|
290
|
values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{warehouseId,jdbcType=INTEGER},
|
|
283
|
291
|
#{type,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER}, #{subTypeDetailed,jdbcType=INTEGER},
|
|
|
@@ -309,7 +317,8 @@
|
|
309
|
317
|
#{reezeTest,jdbcType=VARCHAR}, #{residualSolvent,jdbcType=VARCHAR}, #{lead,jdbcType=VARCHAR},
|
|
310
|
318
|
#{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR},
|
|
311
|
319
|
#{updatetime,jdbcType=TIMESTAMP}, #{zblb,jdbcType=VARCHAR}, #{qydbh,jdbcType=VARCHAR},
|
|
312
|
|
- #{qysj,jdbcType=TIMESTAMP}, #{qyqy,jdbcType=VARCHAR}, #{jdrxm,jdbcType=VARCHAR},
|
|
|
320
|
+ #{qysj,jdbcType=TIMESTAMP}, #{qyqy,jdbcType=VARCHAR}, #{jdrxm,jdbcType=VARCHAR},
|
|
|
321
|
+ #{jylb,jdbcType=VARCHAR},#{zbjgpd,jdbcType=VARCHAR},#{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
|
|
313
|
322
|
#{ypbh,jdbcType=VARCHAR}, #{sfzcccnx,jdbcType=VARCHAR})
|
|
314
|
323
|
</insert>
|
|
315
|
324
|
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
|
|
|
@@ -599,6 +608,25 @@
|
|
599
|
608
|
<if test="sfzcccnx != null" >
|
|
600
|
609
|
sfzcccnx,
|
|
601
|
610
|
</if>
|
|
|
611
|
+
|
|
|
612
|
+ <if test="jylb != null" >
|
|
|
613
|
+ jylb,
|
|
|
614
|
+ </if>
|
|
|
615
|
+ <if test="zbjgpd != null" >
|
|
|
616
|
+ zbjgpd,
|
|
|
617
|
+ </if>
|
|
|
618
|
+ <if test="qfrq != null" >
|
|
|
619
|
+ qfrq,
|
|
|
620
|
+ </if>
|
|
|
621
|
+ <if test="ypsl != null" >
|
|
|
622
|
+ ypsl,
|
|
|
623
|
+ </if>
|
|
|
624
|
+ <if test="dbsl != null" >
|
|
|
625
|
+ dbsl,
|
|
|
626
|
+ </if>
|
|
|
627
|
+ <if test="ypdj != null" >
|
|
|
628
|
+ ypdj,
|
|
|
629
|
+ </if>
|
|
602
|
630
|
</trim>
|
|
603
|
631
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
604
|
632
|
<if test="id != null" >
|
|
|
@@ -880,6 +908,26 @@
|
|
880
|
908
|
<if test="sfzcccnx != null" >
|
|
881
|
909
|
#{sfzcccnx,jdbcType=VARCHAR},
|
|
882
|
910
|
</if>
|
|
|
911
|
+
|
|
|
912
|
+ <if test="jylb != null" >
|
|
|
913
|
+ #{jylb,jdbcType=VARCHAR},
|
|
|
914
|
+ </if>
|
|
|
915
|
+
|
|
|
916
|
+ <if test="zbjgpd != null" >
|
|
|
917
|
+ #{zbjgpd,jdbcType=VARCHAR},
|
|
|
918
|
+ </if>
|
|
|
919
|
+ <if test="qfrq != null" >
|
|
|
920
|
+ #{qfrq,jdbcType=TIMESTAMP},
|
|
|
921
|
+ </if>
|
|
|
922
|
+ <if test="ypsl != null" >
|
|
|
923
|
+ #{ypsl,jdbcType=VARCHAR},
|
|
|
924
|
+ </if>
|
|
|
925
|
+ <if test="dbsl != null" >
|
|
|
926
|
+ #{dbsl,jdbcType=VARCHAR},
|
|
|
927
|
+ </if>
|
|
|
928
|
+ <if test="ypdj != null" >
|
|
|
929
|
+ #{ypdj,jdbcType=VARCHAR},
|
|
|
930
|
+ </if>
|
|
883
|
931
|
</trim>
|
|
884
|
932
|
</insert>
|
|
885
|
933
|
<select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" resultType="java.lang.Integer" >
|
|
|
@@ -1180,6 +1228,26 @@
|
|
1180
|
1228
|
<if test="record.sfzcccnx != null" >
|
|
1181
|
1229
|
sfzcccnx = #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
1182
|
1230
|
</if>
|
|
|
1231
|
+
|
|
|
1232
|
+ <if test="record.jylb != null" >
|
|
|
1233
|
+ jylb = #{record.jylb,jdbcType=VARCHAR},
|
|
|
1234
|
+ </if>
|
|
|
1235
|
+
|
|
|
1236
|
+ <if test="record.zbjgpd != null" >
|
|
|
1237
|
+ zbjgpd = #{record.zbjgpd,jdbcType=VARCHAR},
|
|
|
1238
|
+ </if>
|
|
|
1239
|
+ <if test="record.qfrq != null" >
|
|
|
1240
|
+ qfrq = #{record.qfrq,jdbcType=TIMESTAMP},
|
|
|
1241
|
+ </if>
|
|
|
1242
|
+ <if test="record.ypsl != null" >
|
|
|
1243
|
+ ypsl = #{record.ypsl,jdbcType=VARCHAR},
|
|
|
1244
|
+ </if>
|
|
|
1245
|
+ <if test="record.dbsl != null" >
|
|
|
1246
|
+ dbsl = #{record.dbsl,jdbcType=VARCHAR},
|
|
|
1247
|
+ </if>
|
|
|
1248
|
+ <if test="record.ypdj != null" >
|
|
|
1249
|
+ ypdj = #{record.ypdj,jdbcType=VARCHAR},
|
|
|
1250
|
+ </if>
|
|
1183
|
1251
|
</set>
|
|
1184
|
1252
|
<if test="_parameter != null" >
|
|
1185
|
1253
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -1284,7 +1352,14 @@
|
|
1284
|
1352
|
qyqy = #{record.qyqy,jdbcType=VARCHAR},
|
|
1285
|
1353
|
jdrxm = #{record.jdrxm,jdbcType=VARCHAR},
|
|
1286
|
1354
|
ypbh = #{record.ypbh,jdbcType=VARCHAR},
|
|
1287
|
|
- sfzcccnx = #{record.sfzcccnx,jdbcType=VARCHAR}
|
|
|
1355
|
+ sfzcccnx = #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
|
1356
|
+
|
|
|
1357
|
+ jylb= #{record.jylb,jdbcType=VARCHAR},
|
|
|
1358
|
+ zbjgpd= #{record.zbjgpd,jdbcType=VARCHAR},
|
|
|
1359
|
+ qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
|
|
|
1360
|
+ ypsl= #{record.ypsl,jdbcType=VARCHAR},
|
|
|
1361
|
+ dbsl= #{record.dbsl,jdbcType=VARCHAR},
|
|
|
1362
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR}
|
|
1288
|
1363
|
<if test="_parameter != null" >
|
|
1289
|
1364
|
<include refid="Update_By_Example_Where_Clause" />
|
|
1290
|
1365
|
</if>
|
|
|
@@ -1573,6 +1648,26 @@
|
|
1573
|
1648
|
<if test="sfzcccnx != null" >
|
|
1574
|
1649
|
sfzcccnx = #{sfzcccnx,jdbcType=VARCHAR},
|
|
1575
|
1650
|
</if>
|
|
|
1651
|
+
|
|
|
1652
|
+ <if test="jylb != null" >
|
|
|
1653
|
+ jylb = #{jylb,jdbcType=VARCHAR},
|
|
|
1654
|
+ </if>
|
|
|
1655
|
+
|
|
|
1656
|
+ <if test="zbjgpd != null" >
|
|
|
1657
|
+ zbjgpd = #{zbjgpd,jdbcType=VARCHAR},
|
|
|
1658
|
+ </if>
|
|
|
1659
|
+ <if test="qfrq != null" >
|
|
|
1660
|
+ qfrq = #{qfrq,jdbcType=TIMESTAMP},
|
|
|
1661
|
+ </if>
|
|
|
1662
|
+ <if test="ypsl != null" >
|
|
|
1663
|
+ ypsl = #{ypsl,jdbcType=VARCHAR},
|
|
|
1664
|
+ </if>
|
|
|
1665
|
+ <if test="dbsl != null" >
|
|
|
1666
|
+ dbsl = #{dbsl,jdbcType=VARCHAR},
|
|
|
1667
|
+ </if>
|
|
|
1668
|
+ <if test="ypdj != null" >
|
|
|
1669
|
+ ypdj = #{ypdj,jdbcType=VARCHAR},
|
|
|
1670
|
+ </if>
|
|
1576
|
1671
|
</set>
|
|
1577
|
1672
|
where id = #{id,jdbcType=INTEGER}
|
|
1578
|
1673
|
</update>
|
|
|
@@ -1674,8 +1769,15 @@
|
|
1674
|
1769
|
qyqy = #{qyqy,jdbcType=VARCHAR},
|
|
1675
|
1770
|
jdrxm = #{jdrxm,jdbcType=VARCHAR},
|
|
1676
|
1771
|
ypbh = #{ypbh,jdbcType=VARCHAR},
|
|
1677
|
|
- sfzcccnx = #{sfzcccnx,jdbcType=VARCHAR}
|
|
1678
|
|
- where id = #{id,jdbcType=INTEGER}
|
|
|
1772
|
+ sfzcccnx = #{sfzcccnx,jdbcType=VARCHAR},
|
|
|
1773
|
+
|
|
|
1774
|
+ jylb= #{record.jylb,jdbcType=VARCHAR},
|
|
|
1775
|
+ zbjgpd= #{record.zbjgpd,jdbcType=VARCHAR},
|
|
|
1776
|
+ qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
|
|
|
1777
|
+ ypsl= #{record.ypsl,jdbcType=VARCHAR},
|
|
|
1778
|
+ dbsl= #{record.dbsl,jdbcType=VARCHAR},
|
|
|
1779
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR}
|
|
|
1780
|
+ where id = #{id,jdbcType=INTEGER}
|
|
1679
|
1781
|
</update>
|
|
1680
|
1782
|
|
|
1681
|
1783
|
|
|
|
@@ -1782,7 +1884,8 @@
|
|
1782
|
1884
|
sqk.pests, sqk.color_ratio, sqk.hard_index, sqk.gluten_water_count, sqk.remarks, approver, sqk.mildew_count,
|
|
1783
|
1885
|
sqk.damage_ratio, sqk.hot_damage_ratio, sqk.husked_rice_weight, sqk.reviewer, sqk.apply_check_time, sqk.check_time_type,
|
|
1784
|
1886
|
sqk.check_result_time, sqk.store_quality, sqk.is_pest, sqk.inspection_standard_basis, sqk.quality, sqk.seal_date,
|
|
1785
|
|
- sqk.seal_status, sqk.auth_code, sqk.org_id, sqk.history_status,sqk.zblb,sqk.qydbh,sqk.qysj,sqk.qyqy,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx
|
|
|
1887
|
+ sqk.seal_status, sqk.auth_code, sqk.org_id, sqk.history_status,sqk.zblb,sqk.qydbh,sqk.qysj,sqk.qyqy,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx,
|
|
|
1888
|
+ sqk.jylb, sqk.zbjgpd,sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj
|
|
1786
|
1889
|
<!--云南新增的字段,先注释掉方便调试-->
|
|
1787
|
1890
|
/*, sqk.intermixing_rate,sqk.smelltaste,sqk.transparency,sqk.peroxide_value,
|
|
1788
|
1891
|
sqk.smoke_point,sqk.reeze_test,sqk.residual_solvent,sqk.lead,sqk.total_arsenic,sqk.aflatoxin,sqk.butyl_phenol*/
|