|
|
@@ -104,6 +104,7 @@
|
|
104
|
104
|
<result column="jdrxm" property="jdrxm" jdbcType="VARCHAR" />
|
|
105
|
105
|
<result column="ypbh" property="ypbh" jdbcType="VARCHAR" />
|
|
106
|
106
|
<result column="sfzcccnx" property="sfzcccnx" jdbcType="VARCHAR" />
|
|
|
107
|
+ <result column="file_route" property="fileRoute" jdbcType="VARCHAR" />
|
|
107
|
108
|
|
|
108
|
109
|
</resultMap>
|
|
109
|
110
|
<sql id="Example_Where_Clause" >
|
|
|
@@ -181,7 +182,7 @@
|
|
181
|
182
|
smoke_point, reeze_test, residual_solvent, lead, total_arsenic, aflatoxin, quailtycard_id,
|
|
182
|
183
|
butyl_phenol, flag_type,
|
|
183
|
184
|
jylb,qfrq,ypsl,dbsl,ypdj,
|
|
184
|
|
- qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx
|
|
|
185
|
+ qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx, file_route
|
|
185
|
186
|
</sql>
|
|
186
|
187
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" >
|
|
187
|
188
|
select
|
|
|
@@ -246,7 +247,7 @@
|
|
246
|
247
|
lead, total_arsenic, aflatoxin,
|
|
247
|
248
|
jylb,qfrq,ypsl,dbsl,ypdj,
|
|
248
|
249
|
qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx,
|
|
249
|
|
- quailtycard_id, butyl_phenol, flag_type)
|
|
|
250
|
+ quailtycard_id, butyl_phenol, flag_type, file_route)
|
|
250
|
251
|
values (SEQ_STORAGE_QUALITYCHECK.nextVal, #{depotId,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER},
|
|
251
|
252
|
#{warehouseId,jdbcType=INTEGER}, #{typeUpdate,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER},
|
|
252
|
253
|
#{subTypeDetailed,jdbcType=INTEGER}, #{checkTime,jdbcType=TIMESTAMP}, #{checkResult,jdbcType=VARCHAR},
|
|
|
@@ -279,7 +280,7 @@
|
|
279
|
280
|
#{lead,jdbcType=VARCHAR}, #{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR},
|
|
280
|
281
|
#{jylb,jdbcType=VARCHAR}, #{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
|
|
281
|
282
|
#{qyqy,jdbcType=VARCHAR}, #{qydbh,jdbcType=VARCHAR},#{zblb,jdbcType=VARCHAR},#{jdrxm,jdbcType=VARCHAR},#{ypbh,jdbcType=VARCHAR},#{sfzcccnx,jdbcType=VARCHAR},
|
|
282
|
|
- #{quailtycardId,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER})
|
|
|
283
|
+ #{quailtycardId,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER}, #{fileRoute,jdbcType=VARCHAR})
|
|
283
|
284
|
</insert>
|
|
284
|
285
|
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
|
|
285
|
286
|
insert into storage_qualitycheck
|
|
|
@@ -586,7 +587,9 @@
|
|
586
|
587
|
<if test="sfzcccnx != null" >
|
|
587
|
588
|
sfzcccnx,
|
|
588
|
589
|
</if>
|
|
589
|
|
-
|
|
|
590
|
+ <if test="fileRoute != null" >
|
|
|
591
|
+ fileRoute,
|
|
|
592
|
+ </if>
|
|
590
|
593
|
</trim>
|
|
591
|
594
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
592
|
595
|
SEQ_STORAGE_QUALITYCHECK.nextVal,
|
|
|
@@ -887,6 +890,9 @@
|
|
887
|
890
|
<if test="sfzcccnx != null" >
|
|
888
|
891
|
#{sfzcccnx,jdbcType=VARCHAR},
|
|
889
|
892
|
</if>
|
|
|
893
|
+ <if test="fileRoute != null" >
|
|
|
894
|
+ #{fileRoute,jdbcType=VARCHAR},
|
|
|
895
|
+ </if>
|
|
890
|
896
|
</trim>
|
|
891
|
897
|
</insert>
|
|
892
|
898
|
<select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" resultType="java.lang.Integer" >
|
|
|
@@ -1198,7 +1204,9 @@
|
|
1198
|
1204
|
<if test="record.sfzcccnx != null" >
|
|
1199
|
1205
|
sfzcccnx = #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
1200
|
1206
|
</if>
|
|
1201
|
|
-
|
|
|
1207
|
+ <if test="record.fileRoute != null" >
|
|
|
1208
|
+ file_route = #{record.fileRoute,jdbcType=VARCHAR},
|
|
|
1209
|
+ </if>
|
|
1202
|
1210
|
</set>
|
|
1203
|
1211
|
<if test="_parameter != null" >
|
|
1204
|
1212
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -1305,7 +1313,8 @@
|
|
1305
|
1313
|
zblb= #{record.zblb,jdbcType=VARCHAR},
|
|
1306
|
1314
|
jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
|
|
1307
|
1315
|
ypbh= #{record.ypbh,jdbcType=VARCHAR},
|
|
1308
|
|
- sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR}
|
|
|
1316
|
+ sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
|
1317
|
+ file_route = #{record.fileRoute,jdbcType=VARCHAR}
|
|
1309
|
1318
|
<if test="_parameter != null" >
|
|
1310
|
1319
|
<include refid="Update_By_Example_Where_Clause" />
|
|
1311
|
1320
|
</if>
|
|
|
@@ -1610,7 +1619,9 @@
|
|
1610
|
1619
|
<if test="sfzcccnx != null" >
|
|
1611
|
1620
|
sfzcccnx = #{sfzcccnx,jdbcType=VARCHAR},
|
|
1612
|
1621
|
</if>
|
|
1613
|
|
-
|
|
|
1622
|
+ <if test="fileRoute != null" >
|
|
|
1623
|
+ file_route = #{fileRoute,jdbcType=VARCHAR},
|
|
|
1624
|
+ </if>
|
|
1614
|
1625
|
</set>
|
|
1615
|
1626
|
where id = #{id,jdbcType=INTEGER}
|
|
1616
|
1627
|
</update>
|
|
|
@@ -1714,7 +1725,8 @@
|
|
1714
|
1725
|
jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
|
|
1715
|
1726
|
ypbh= #{record.ypbh,jdbcType=VARCHAR},
|
|
1716
|
1727
|
sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
1717
|
|
- ypdj= #{record.ypdj,jdbcType=VARCHAR}
|
|
|
1728
|
+ ypdj= #{record.ypdj,jdbcType=VARCHAR},
|
|
|
1729
|
+ file_route = #{fileRoute,jdbcType=VARCHAR}
|
|
1718
|
1730
|
where id = #{id,jdbcType=INTEGER}
|
|
1719
|
1731
|
</update>
|
|
1720
|
1732
|
|
|
|
@@ -1814,7 +1826,7 @@
|
|
1814
|
1826
|
sqk.smoke_point, sqk.reeze_test, sqk.residual_solvent, sqk.lead, sqk.total_arsenic, sqk.aflatoxin, sqk.quailtycard_id,
|
|
1815
|
1827
|
sqk.butyl_phenol, sqk.flag_type,
|
|
1816
|
1828
|
sqk.qyqy,sqk.qydbh,sqk.zblb,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx,
|
|
1817
|
|
- sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj
|
|
|
1829
|
+ sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj, sqk.file_route
|
|
1818
|
1830
|
</sql>
|
|
1819
|
1831
|
|
|
1820
|
1832
|
<select id="queryPrimaryKey" resultMap="BaseResultMap">
|