|
|
@@ -91,6 +91,20 @@
|
|
91
|
91
|
<result column="quailtycard_id" property="quailtycardId" jdbcType="VARCHAR" />
|
|
92
|
92
|
<result column="butyl_phenol" property="butylPhenol" jdbcType="VARCHAR" />
|
|
93
|
93
|
<result column="flag_type" property="flagType" jdbcType="INTEGER" />
|
|
|
94
|
+
|
|
|
95
|
+ <result column="jylb" property="jylb" jdbcType="VARCHAR" />
|
|
|
96
|
+ <result column="qfrq" property="qfrq" jdbcType="TIMESTAMP" />
|
|
|
97
|
+ <result column="ypsl" property="ypsl" jdbcType="VARCHAR" />
|
|
|
98
|
+ <result column="dbsl" property="dbsl" jdbcType="VARCHAR" />
|
|
|
99
|
+ <result column="ypdj" property="ypdj" jdbcType="VARCHAR" />
|
|
|
100
|
+
|
|
|
101
|
+ <result column="qyqy" property="qyqy" jdbcType="VARCHAR" />
|
|
|
102
|
+ <result column="qydbh" property="qydbh" jdbcType="VARCHAR" />
|
|
|
103
|
+ <result column="zblb" property="zblb" jdbcType="VARCHAR" />
|
|
|
104
|
+ <result column="jdrxm" property="jdrxm" jdbcType="VARCHAR" />
|
|
|
105
|
+ <result column="ypbh" property="ypbh" jdbcType="VARCHAR" />
|
|
|
106
|
+ <result column="sfzcccnx" property="sfzcccnx" jdbcType="VARCHAR" />
|
|
|
107
|
+
|
|
94
|
108
|
</resultMap>
|
|
95
|
109
|
<sql id="Example_Where_Clause" >
|
|
96
|
110
|
<where >
|
|
|
@@ -165,7 +179,9 @@
|
|
165
|
179
|
store_quality, is_pest, inspection_standard_basis, quality, seal_date, seal_status,
|
|
166
|
180
|
auth_code, org_id, history_status, intermixing_rate, smelltaste, transparency, peroxide_value,
|
|
167
|
181
|
smoke_point, reeze_test, residual_solvent, lead, total_arsenic, aflatoxin, quailtycard_id,
|
|
168
|
|
- butyl_phenol, flag_type
|
|
|
182
|
+ butyl_phenol, flag_type,
|
|
|
183
|
+ jylb,qfrq,ypsl,dbsl,ypdj,
|
|
|
184
|
+ qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx
|
|
169
|
185
|
</sql>
|
|
170
|
186
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" >
|
|
171
|
187
|
select
|
|
|
@@ -227,7 +243,9 @@
|
|
227
|
243
|
org_id, history_status, intermixing_rate,
|
|
228
|
244
|
smelltaste, transparency, peroxide_value,
|
|
229
|
245
|
smoke_point, reeze_test, residual_solvent,
|
|
230
|
|
- lead, total_arsenic, aflatoxin,
|
|
|
246
|
+ lead, total_arsenic, aflatoxin,
|
|
|
247
|
+ jylb,qfrq,ypsl,dbsl,ypdj,
|
|
|
248
|
+ qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx,
|
|
231
|
249
|
quailtycard_id, butyl_phenol, flag_type)
|
|
232
|
250
|
values (SEQ_STORAGE_QUALITYCHECK.nextVal, #{depotId,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER},
|
|
233
|
251
|
#{warehouseId,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER},
|
|
|
@@ -258,7 +276,9 @@
|
|
258
|
276
|
#{orgId,jdbcType=INTEGER}, #{historyStatus,jdbcType=INTEGER}, #{intermixingRate,jdbcType=VARCHAR},
|
|
259
|
277
|
#{smelltaste,jdbcType=VARCHAR}, #{transparency,jdbcType=VARCHAR}, #{peroxideValue,jdbcType=VARCHAR},
|
|
260
|
278
|
#{smokePoint,jdbcType=VARCHAR}, #{reezeTest,jdbcType=VARCHAR}, #{residualSolvent,jdbcType=VARCHAR},
|
|
261
|
|
- #{lead,jdbcType=VARCHAR}, #{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR},
|
|
|
279
|
+ #{lead,jdbcType=VARCHAR}, #{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR},
|
|
|
280
|
+ #{jylb,jdbcType=VARCHAR}, #{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
|
|
|
281
|
+ #{qyqy,jdbcType=VARCHAR}, #{qydbh,jdbcType=VARCHAR},#{zblb,jdbcType=VARCHAR},#{jdrxm,jdbcType=VARCHAR},#{ypbh,jdbcType=VARCHAR},#{sfzcccnx,jdbcType=VARCHAR},
|
|
262
|
282
|
#{quailtycardId,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER})
|
|
263
|
283
|
</insert>
|
|
264
|
284
|
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
|
|
|
@@ -532,6 +552,41 @@
|
|
532
|
552
|
<if test="flagType != null" >
|
|
533
|
553
|
flag_type,
|
|
534
|
554
|
</if>
|
|
|
555
|
+ <if test="jylb != null" >
|
|
|
556
|
+ jylb,
|
|
|
557
|
+ </if>
|
|
|
558
|
+
|
|
|
559
|
+ <if test="qfrq != null" >
|
|
|
560
|
+ qfrq,
|
|
|
561
|
+ </if>
|
|
|
562
|
+ <if test="ypsl != null" >
|
|
|
563
|
+ ypsl,
|
|
|
564
|
+ </if>
|
|
|
565
|
+ <if test="dbsl != null" >
|
|
|
566
|
+ dbsl,
|
|
|
567
|
+ </if>
|
|
|
568
|
+ <if test="ypdj != null" >
|
|
|
569
|
+ ypdj,
|
|
|
570
|
+ </if>
|
|
|
571
|
+ <if test="qyqy != null" >
|
|
|
572
|
+ qyqy,
|
|
|
573
|
+ </if>
|
|
|
574
|
+ <if test="qydbh != null" >
|
|
|
575
|
+ qydbh,
|
|
|
576
|
+ </if>
|
|
|
577
|
+ <if test="zblb != null" >
|
|
|
578
|
+ zblb,
|
|
|
579
|
+ </if>
|
|
|
580
|
+ <if test="jdrxm != null" >
|
|
|
581
|
+ jdrxm,
|
|
|
582
|
+ </if>
|
|
|
583
|
+ <if test="ypbh != null" >
|
|
|
584
|
+ ypbh,
|
|
|
585
|
+ </if>
|
|
|
586
|
+ <if test="sfzcccnx != null" >
|
|
|
587
|
+ sfzcccnx,
|
|
|
588
|
+ </if>
|
|
|
589
|
+
|
|
535
|
590
|
</trim>
|
|
536
|
591
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
537
|
592
|
SEQ_STORAGE_QUALITYCHECK.nextVal,
|
|
|
@@ -799,6 +854,39 @@
|
|
799
|
854
|
<if test="flagType != null" >
|
|
800
|
855
|
#{flagType,jdbcType=INTEGER},
|
|
801
|
856
|
</if>
|
|
|
857
|
+ <if test="jylb != null" >
|
|
|
858
|
+ #{jylb,jdbcType=VARCHAR},
|
|
|
859
|
+ </if>
|
|
|
860
|
+ <if test="qfrq != null" >
|
|
|
861
|
+ #{qfrq,jdbcType=TIMESTAMP},
|
|
|
862
|
+ </if>
|
|
|
863
|
+ <if test="ypsl != null" >
|
|
|
864
|
+ #{ypsl,jdbcType=VARCHAR},
|
|
|
865
|
+ </if>
|
|
|
866
|
+ <if test="dbsl != null" >
|
|
|
867
|
+ #{dbsl,jdbcType=VARCHAR},
|
|
|
868
|
+ </if>
|
|
|
869
|
+ <if test="ypdj != null" >
|
|
|
870
|
+ #{ypdj,jdbcType=VARCHAR},
|
|
|
871
|
+ </if>
|
|
|
872
|
+ <if test="qyqy != null" >
|
|
|
873
|
+ #{qyqy,jdbcType=VARCHAR},
|
|
|
874
|
+ </if>
|
|
|
875
|
+ <if test="qydbh != null" >
|
|
|
876
|
+ #{qydbh,jdbcType=VARCHAR},
|
|
|
877
|
+ </if>
|
|
|
878
|
+ <if test="zblb != null" >
|
|
|
879
|
+ #{zblb,jdbcType=VARCHAR},
|
|
|
880
|
+ </if>
|
|
|
881
|
+ <if test="jdrxm != null" >
|
|
|
882
|
+ #{jdrxm,jdbcType=VARCHAR},
|
|
|
883
|
+ </if>
|
|
|
884
|
+ <if test="ypbh != null" >
|
|
|
885
|
+ #{ypbh,jdbcType=VARCHAR},
|
|
|
886
|
+ </if>
|
|
|
887
|
+ <if test="sfzcccnx != null" >
|
|
|
888
|
+ #{sfzcccnx,jdbcType=VARCHAR},
|
|
|
889
|
+ </if>
|
|
802
|
890
|
</trim>
|
|
803
|
891
|
</insert>
|
|
804
|
892
|
<select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" resultType="java.lang.Integer" >
|
|
|
@@ -1077,6 +1165,40 @@
|
|
1077
|
1165
|
<if test="record.flagType != null" >
|
|
1078
|
1166
|
flag_type = #{record.flagType,jdbcType=INTEGER},
|
|
1079
|
1167
|
</if>
|
|
|
1168
|
+ <if test="record.jylb != null" >
|
|
|
1169
|
+ jylb = #{record.jylb,jdbcType=VARCHAR},
|
|
|
1170
|
+ </if>
|
|
|
1171
|
+ <if test="record.qfrq != null" >
|
|
|
1172
|
+ qfrq = #{record.qfrq,jdbcType=TIMESTAMP},
|
|
|
1173
|
+ </if>
|
|
|
1174
|
+ <if test="record.ypsl != null" >
|
|
|
1175
|
+ ypsl = #{record.ypsl,jdbcType=VARCHAR},
|
|
|
1176
|
+ </if>
|
|
|
1177
|
+ <if test="record.dbsl != null" >
|
|
|
1178
|
+ dbsl = #{record.dbsl,jdbcType=VARCHAR},
|
|
|
1179
|
+ </if>
|
|
|
1180
|
+ <if test="record.ypdj != null" >
|
|
|
1181
|
+ ypdj = #{record.ypdj,jdbcType=VARCHAR},
|
|
|
1182
|
+ </if>
|
|
|
1183
|
+ <if test="record.qyqy != null" >
|
|
|
1184
|
+ qyqy = #{record.qyqy,jdbcType=VARCHAR},
|
|
|
1185
|
+ </if>
|
|
|
1186
|
+ <if test="record.qydbh != null" >
|
|
|
1187
|
+ qydbh = #{record.qydbh,jdbcType=VARCHAR},
|
|
|
1188
|
+ </if>
|
|
|
1189
|
+ <if test="record.zblb != null" >
|
|
|
1190
|
+ zblb = #{record.zblb,jdbcType=VARCHAR},
|
|
|
1191
|
+ </if>
|
|
|
1192
|
+ <if test="record.jdrxm != null" >
|
|
|
1193
|
+ jdrxm = #{record.jdrxm,jdbcType=VARCHAR},
|
|
|
1194
|
+ </if>
|
|
|
1195
|
+ <if test="record.ypbh != null" >
|
|
|
1196
|
+ ypbh = #{record.ypbh,jdbcType=VARCHAR},
|
|
|
1197
|
+ </if>
|
|
|
1198
|
+ <if test="record.sfzcccnx != null" >
|
|
|
1199
|
+ sfzcccnx = #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
|
1200
|
+ </if>
|
|
|
1201
|
+
|
|
1080
|
1202
|
</set>
|
|
1081
|
1203
|
<if test="_parameter != null" >
|
|
1082
|
1204
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -1173,6 +1295,17 @@
|
|
1173
|
1295
|
quailtycard_id = #{record.quailtycardId,jdbcType=VARCHAR},
|
|
1174
|
1296
|
butyl_phenol = #{record.butylPhenol,jdbcType=VARCHAR},
|
|
1175
|
1297
|
flag_type = #{record.flagType,jdbcType=INTEGER},
|
|
|
1298
|
+ jylb= #{record.jylb,jdbcType=VARCHAR},
|
|
|
1299
|
+ qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
|
|
|
1300
|
+ ypsl= #{record.ypsl,jdbcType=VARCHAR},
|
|
|
1301
|
+ dbsl= #{record.dbsl,jdbcType=VARCHAR},
|
|
|
1302
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR},
|
|
|
1303
|
+ qyqy= #{record.qyqy,jdbcType=VARCHAR},
|
|
|
1304
|
+ qydbh= #{record.qydbh,jdbcType=VARCHAR},
|
|
|
1305
|
+ zblb= #{record.zblb,jdbcType=VARCHAR},
|
|
|
1306
|
+ jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
|
|
|
1307
|
+ ypbh= #{record.ypbh,jdbcType=VARCHAR},
|
|
|
1308
|
+ sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR}
|
|
1176
|
1309
|
<if test="_parameter != null" >
|
|
1177
|
1310
|
<include refid="Update_By_Example_Where_Clause" />
|
|
1178
|
1311
|
</if>
|
|
|
@@ -1444,6 +1577,40 @@
|
|
1444
|
1577
|
<if test="flagType != null" >
|
|
1445
|
1578
|
flag_type = #{flagType,jdbcType=INTEGER},
|
|
1446
|
1579
|
</if>
|
|
|
1580
|
+ <if test="jylb != null" >
|
|
|
1581
|
+ jylb = #{jylb,jdbcType=VARCHAR},
|
|
|
1582
|
+ </if>
|
|
|
1583
|
+ <if test="qfrq != null" >
|
|
|
1584
|
+ qfrq = #{qfrq,jdbcType=TIMESTAMP},
|
|
|
1585
|
+ </if>
|
|
|
1586
|
+ <if test="ypsl != null" >
|
|
|
1587
|
+ ypsl = #{ypsl,jdbcType=VARCHAR},
|
|
|
1588
|
+ </if>
|
|
|
1589
|
+ <if test="dbsl != null" >
|
|
|
1590
|
+ dbsl = #{dbsl,jdbcType=VARCHAR},
|
|
|
1591
|
+ </if>
|
|
|
1592
|
+ <if test="ypdj != null" >
|
|
|
1593
|
+ ypdj = #{ypdj,jdbcType=VARCHAR},
|
|
|
1594
|
+ </if>
|
|
|
1595
|
+ <if test="qyqy != null" >
|
|
|
1596
|
+ qyqy = #{qyqy,jdbcType=VARCHAR},
|
|
|
1597
|
+ </if>
|
|
|
1598
|
+ <if test="qydbh != null" >
|
|
|
1599
|
+ qydbh = #{qydbh,jdbcType=VARCHAR},
|
|
|
1600
|
+ </if>
|
|
|
1601
|
+ <if test="zblb != null" >
|
|
|
1602
|
+ zblb = #{zblb,jdbcType=VARCHAR},
|
|
|
1603
|
+ </if>
|
|
|
1604
|
+ <if test="jdrxm != null" >
|
|
|
1605
|
+ jdrxm = #{jdrxm,jdbcType=VARCHAR},
|
|
|
1606
|
+ </if>
|
|
|
1607
|
+ <if test="ypbh != null" >
|
|
|
1608
|
+ ypbh = #{ypbh,jdbcType=VARCHAR},
|
|
|
1609
|
+ </if>
|
|
|
1610
|
+ <if test="sfzcccnx != null" >
|
|
|
1611
|
+ sfzcccnx = #{sfzcccnx,jdbcType=VARCHAR},
|
|
|
1612
|
+ </if>
|
|
|
1613
|
+
|
|
1447
|
1614
|
</set>
|
|
1448
|
1615
|
where id = #{id,jdbcType=INTEGER}
|
|
1449
|
1616
|
</update>
|
|
|
@@ -1536,7 +1703,18 @@
|
|
1536
|
1703
|
aflatoxin = #{aflatoxin,jdbcType=VARCHAR},
|
|
1537
|
1704
|
quailtycard_id = #{quailtycardId,jdbcType=VARCHAR},
|
|
1538
|
1705
|
butyl_phenol = #{butylPhenol,jdbcType=VARCHAR},
|
|
1539
|
|
- flag_type = #{flagType,jdbcType=INTEGER}
|
|
|
1706
|
+ flag_type = #{flagType,jdbcType=INTEGER},
|
|
|
1707
|
+ jylb= #{record.jylb,jdbcType=VARCHAR},
|
|
|
1708
|
+ qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
|
|
|
1709
|
+ ypsl= #{record.ypsl,jdbcType=VARCHAR},
|
|
|
1710
|
+ dbsl= #{record.dbsl,jdbcType=VARCHAR},
|
|
|
1711
|
+ qyqy= #{record.qyqy,jdbcType=VARCHAR},
|
|
|
1712
|
+ qydbh= #{record.qydbh,jdbcType=VARCHAR},
|
|
|
1713
|
+ zblb= #{record.zblb,jdbcType=VARCHAR},
|
|
|
1714
|
+ jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
|
|
|
1715
|
+ ypbh= #{record.ypbh,jdbcType=VARCHAR},
|
|
|
1716
|
+ sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
|
1717
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR}
|
|
1540
|
1718
|
where id = #{id,jdbcType=INTEGER}
|
|
1541
|
1719
|
</update>
|
|
1542
|
1720
|
|
|
|
@@ -1634,7 +1812,9 @@
|
|
1634
|
1812
|
sqk.store_quality, sqk.is_pest, sqk.inspection_standard_basis, sqk.quality, sqk.seal_date, sqk.seal_status,
|
|
1635
|
1813
|
sqk.auth_code, sqk.org_id, sqk.history_status, sqk.intermixing_rate, sqk.smelltaste, sqk.transparency, sqk.peroxide_value,
|
|
1636
|
1814
|
sqk.smoke_point, sqk.reeze_test, sqk.residual_solvent, sqk.lead, sqk.total_arsenic, sqk.aflatoxin, sqk.quailtycard_id,
|
|
1637
|
|
- sqk.butyl_phenol, sqk.flag_type
|
|
|
1815
|
+ sqk.butyl_phenol, sqk.flag_type,
|
|
|
1816
|
+ sqk.qyqy,sqk.qydbh,sqk.zblb,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx,
|
|
|
1817
|
+ sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj
|
|
1638
|
1818
|
</sql>
|
|
1639
|
1819
|
|
|
1640
|
1820
|
<select id="queryPrimaryKey" resultMap="BaseResultMap">
|