|
|
@@ -106,6 +106,7 @@
|
|
106
|
106
|
<result column="ypsl" property="ypsl" jdbcType="VARCHAR" />
|
|
107
|
107
|
<result column="dbsl" property="dbsl" jdbcType="VARCHAR" />
|
|
108
|
108
|
<result column="ypdj" property="ypdj" jdbcType="VARCHAR" />
|
|
|
109
|
+ <result column="bgbh" property="bgbh" jdbcType="VARCHAR" />
|
|
109
|
110
|
<result column="flag_type" property="flagType" jdbcType="INTEGER" />
|
|
110
|
111
|
</resultMap>
|
|
111
|
112
|
<sql id="Example_Where_Clause" >
|
|
|
@@ -197,7 +198,7 @@
|
|
197
|
198
|
intermixing_rate, smelltaste, transparency, peroxide_value, smoke_point, reeze_test,
|
|
198
|
199
|
residual_solvent, lead, total_arsenic, aflatoxin, butyl_phenol, updatetime, zblb,
|
|
199
|
200
|
qydbh, qyqy, jdrxm, ypbh, sfzcccnx, qysj,
|
|
200
|
|
- jylb,qfrq,ypsl,dbsl,ypdj, flag_type
|
|
|
201
|
+ jylb,qfrq,ypsl,dbsl,ypdj,bgbh, flag_type
|
|
201
|
202
|
</sql>
|
|
202
|
203
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" >
|
|
203
|
204
|
<!--
|
|
|
@@ -287,7 +288,7 @@
|
|
287
|
288
|
total_arsenic, aflatoxin, butyl_phenol,
|
|
288
|
289
|
updatetime, zblb, qydbh,
|
|
289
|
290
|
qyqy, jdrxm, ypbh,
|
|
290
|
|
- jylb,qfrq,ypsl,dbsl,ypdj,
|
|
|
291
|
+ jylb,qfrq,ypsl,dbsl,ypdj,bgbh,
|
|
291
|
292
|
sfzcccnx, qysj,flag_type)
|
|
292
|
293
|
values (#{id,jdbcType=INTEGER}, #{tankId,jdbcType=VARCHAR}, #{houseId,jdbcType=INTEGER},
|
|
293
|
294
|
#{warehouseId,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER},
|
|
|
@@ -321,7 +322,7 @@
|
|
321
|
322
|
#{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR},
|
|
322
|
323
|
#{updatetime,jdbcType=TIMESTAMP}, #{zblb,jdbcType=VARCHAR}, #{qydbh,jdbcType=VARCHAR},
|
|
323
|
324
|
#{qyqy,jdbcType=VARCHAR}, #{jdrxm,jdbcType=VARCHAR}, #{ypbh,jdbcType=VARCHAR},
|
|
324
|
|
- #{jylb,jdbcType=VARCHAR},#{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
|
|
|
325
|
+ #{jylb,jdbcType=VARCHAR},#{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},#{bgbh,jdbcType=VARCHAR},
|
|
325
|
326
|
#{sfzcccnx,jdbcType=VARCHAR}, #{qysj,jdbcType=TIMESTAMP},#{flag_type,jdbcType=INTEGER})
|
|
326
|
327
|
</insert>
|
|
327
|
328
|
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
|
|
|
@@ -629,6 +630,9 @@
|
|
629
|
630
|
<if test="ypdj != null" >
|
|
630
|
631
|
ypdj,
|
|
631
|
632
|
</if>
|
|
|
633
|
+ <if test="bgbh != null" >
|
|
|
634
|
+ bgbh,
|
|
|
635
|
+ </if>
|
|
632
|
636
|
<if test="flagType != null" >
|
|
633
|
637
|
flag_type,
|
|
634
|
638
|
</if>
|
|
|
@@ -931,6 +935,9 @@
|
|
931
|
935
|
<if test="ypdj != null" >
|
|
932
|
936
|
#{ypdj,jdbcType=VARCHAR},
|
|
933
|
937
|
</if>
|
|
|
938
|
+ <if test="bgbh != null" >
|
|
|
939
|
+ #{bgbh,jdbcType=VARCHAR},
|
|
|
940
|
+ </if>
|
|
934
|
941
|
<if test="flagType != null" >
|
|
935
|
942
|
#{flagType,jdbcType=INTEGER},
|
|
936
|
943
|
</if>
|
|
|
@@ -1252,6 +1259,9 @@
|
|
1252
|
1259
|
<if test="record.ypdj != null" >
|
|
1253
|
1260
|
ypdj = #{record.ypdj,jdbcType=VARCHAR},
|
|
1254
|
1261
|
</if>
|
|
|
1262
|
+ <if test="record.bgbh != null" >
|
|
|
1263
|
+ ypdj = #{record.bgbh,jdbcType=VARCHAR},
|
|
|
1264
|
+ </if>
|
|
1255
|
1265
|
</set>
|
|
1256
|
1266
|
<if test="_parameter != null" >
|
|
1257
|
1267
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -1362,7 +1372,8 @@
|
|
1362
|
1372
|
qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
|
|
1363
|
1373
|
ypsl= #{record.ypsl,jdbcType=VARCHAR},
|
|
1364
|
1374
|
dbsl= #{record.dbsl,jdbcType=VARCHAR},
|
|
1365
|
|
- ypdj= #{record.ypdj,jdbcType=VARCHAR}
|
|
|
1375
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR},
|
|
|
1376
|
+ bgbh= #{record.bgbh,jdbcType=VARCHAR}
|
|
1366
|
1377
|
<if test="_parameter != null" >
|
|
1367
|
1378
|
<include refid="Update_By_Example_Where_Clause" />
|
|
1368
|
1379
|
</if>
|
|
|
@@ -1669,6 +1680,9 @@
|
|
1669
|
1680
|
<if test="ypdj != null" >
|
|
1670
|
1681
|
ypdj = #{ypdj,jdbcType=VARCHAR},
|
|
1671
|
1682
|
</if>
|
|
|
1683
|
+ <if test="bgbh != null" >
|
|
|
1684
|
+ bgbh = #{bgbh,jdbcType=VARCHAR},
|
|
|
1685
|
+ </if>
|
|
1672
|
1686
|
</set>
|
|
1673
|
1687
|
where id = #{id,jdbcType=INTEGER}
|
|
1674
|
1688
|
</update>
|
|
|
@@ -1776,7 +1790,8 @@
|
|
1776
|
1790
|
qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
|
|
1777
|
1791
|
ypsl= #{record.ypsl,jdbcType=VARCHAR},
|
|
1778
|
1792
|
dbsl= #{record.dbsl,jdbcType=VARCHAR},
|
|
1779
|
|
- ypdj= #{record.ypdj,jdbcType=VARCHAR}
|
|
|
1793
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR},
|
|
|
1794
|
+ bgbh= #{record.bgbh,jdbcType=VARCHAR}
|
|
1780
|
1795
|
where id = #{id,jdbcType=INTEGER}
|
|
1781
|
1796
|
</update>
|
|
1782
|
1797
|
<update id="updateByFlagType" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
|
|
|
@@ -1884,7 +1899,7 @@
|
|
1884
|
1899
|
sqk.check_result_time, sqk.store_quality, sqk.is_pest, sqk.inspection_standard_basis, sqk.quality, sqk.seal_date,
|
|
1885
|
1900
|
sqk.seal_status, sqk.auth_code, sqk.org_id, sqk.history_status, sqk.smoke_point, sqk.residual_solvent, sqk.transparency,
|
|
1886
|
1901
|
sqk.zblb,sqk.qydbh,sqk.qysj,sqk.qyqy,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx,
|
|
1887
|
|
- sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj,sqk.flag_type
|
|
|
1902
|
+ sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj,sqk.bgbh,sqk.flag_type
|
|
1888
|
1903
|
<!--云南新增的字段,先注释掉方便调试-->
|
|
1889
|
1904
|
/*, sqk.intermixing_rate,sqk.smelltaste,sqk.transparency,sqk.peroxide_value,
|
|
1890
|
1905
|
sqk.smoke_point,sqk.reeze_test,sqk.residual_solvent,sqk.lead,sqk.total_arsenic,sqk.aflatoxin,sqk.butyl_phenol*/
|