|
|
@@ -105,6 +105,7 @@
|
|
105
|
105
|
<result column="ypbh" property="ypbh" jdbcType="VARCHAR" />
|
|
106
|
106
|
<result column="sfzcccnx" property="sfzcccnx" jdbcType="VARCHAR" />
|
|
107
|
107
|
<result column="file_route" property="fileRoute" jdbcType="VARCHAR" />
|
|
|
108
|
+ <result column="zhycsj" property="zhycsj" jdbcType="TIMESTAMP" />
|
|
108
|
109
|
|
|
109
|
110
|
</resultMap>
|
|
110
|
111
|
<sql id="Example_Where_Clause" >
|
|
|
@@ -182,7 +183,7 @@
|
|
182
|
183
|
smoke_point, reeze_test, residual_solvent, lead, total_arsenic, aflatoxin, quailtycard_id,
|
|
183
|
184
|
butyl_phenol, flag_type,
|
|
184
|
185
|
jylb,qfrq,ypsl,dbsl,ypdj,
|
|
185
|
|
- qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx, file_route
|
|
|
186
|
+ qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx, file_route, zhycsj
|
|
186
|
187
|
</sql>
|
|
187
|
188
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" >
|
|
188
|
189
|
select
|
|
|
@@ -247,7 +248,7 @@
|
|
247
|
248
|
lead, total_arsenic, aflatoxin,
|
|
248
|
249
|
jylb,qfrq,ypsl,dbsl,ypdj,
|
|
249
|
250
|
qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx,
|
|
250
|
|
- quailtycard_id, butyl_phenol, flag_type, file_route)
|
|
|
251
|
+ quailtycard_id, butyl_phenol, flag_type, file_route, zhycsj)
|
|
251
|
252
|
values (SEQ_STORAGE_QUALITYCHECK.nextVal, #{depotId,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER},
|
|
252
|
253
|
#{warehouseId,jdbcType=INTEGER}, #{typeUpdate,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER},
|
|
253
|
254
|
#{subTypeDetailed,jdbcType=INTEGER}, #{checkTime,jdbcType=TIMESTAMP}, #{checkResult,jdbcType=VARCHAR},
|
|
|
@@ -280,7 +281,7 @@
|
|
280
|
281
|
#{lead,jdbcType=VARCHAR}, #{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR},
|
|
281
|
282
|
#{jylb,jdbcType=VARCHAR}, #{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
|
|
282
|
283
|
#{qyqy,jdbcType=VARCHAR}, #{qydbh,jdbcType=VARCHAR},#{zblb,jdbcType=VARCHAR},#{jdrxm,jdbcType=VARCHAR},#{ypbh,jdbcType=VARCHAR},#{sfzcccnx,jdbcType=VARCHAR},
|
|
283
|
|
- #{quailtycardId,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER}, #{fileRoute,jdbcType=VARCHAR})
|
|
|
284
|
+ #{quailtycardId,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER}, #{fileRoute,jdbcType=VARCHAR}, #{zhycsj,jdbcType=TIMESTAMP})
|
|
284
|
285
|
</insert>
|
|
285
|
286
|
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
|
|
286
|
287
|
insert into storage_qualitycheck
|
|
|
@@ -590,6 +591,9 @@
|
|
590
|
591
|
<if test="fileRoute != null" >
|
|
591
|
592
|
fileRoute,
|
|
592
|
593
|
</if>
|
|
|
594
|
+ <if test="zhycsj != null">
|
|
|
595
|
+ zhycsj,
|
|
|
596
|
+ </if>
|
|
593
|
597
|
</trim>
|
|
594
|
598
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
595
|
599
|
SEQ_STORAGE_QUALITYCHECK.nextVal,
|
|
|
@@ -893,6 +897,9 @@
|
|
893
|
897
|
<if test="fileRoute != null" >
|
|
894
|
898
|
#{fileRoute,jdbcType=VARCHAR},
|
|
895
|
899
|
</if>
|
|
|
900
|
+ <if test="zhycsj != null">
|
|
|
901
|
+ #{zhycsj,jdbcType=TIMESTAMP},
|
|
|
902
|
+ </if>
|
|
896
|
903
|
</trim>
|
|
897
|
904
|
</insert>
|
|
898
|
905
|
<select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" resultType="java.lang.Integer" >
|
|
|
@@ -1207,6 +1214,9 @@
|
|
1207
|
1214
|
<if test="record.fileRoute != null" >
|
|
1208
|
1215
|
file_route = #{record.fileRoute,jdbcType=VARCHAR},
|
|
1209
|
1216
|
</if>
|
|
|
1217
|
+ <if test="record.zhycsj != null">
|
|
|
1218
|
+ zhycsj = #{record.zhycsj,jdbcType=TIMESTAMP},
|
|
|
1219
|
+ </if>
|
|
1210
|
1220
|
</set>
|
|
1211
|
1221
|
<if test="_parameter != null" >
|
|
1212
|
1222
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -1314,7 +1324,8 @@
|
|
1314
|
1324
|
jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
|
|
1315
|
1325
|
ypbh= #{record.ypbh,jdbcType=VARCHAR},
|
|
1316
|
1326
|
sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
1317
|
|
- file_route = #{record.fileRoute,jdbcType=VARCHAR}
|
|
|
1327
|
+ file_route = #{record.fileRoute,jdbcType=VARCHAR},
|
|
|
1328
|
+ zhycsj = #{record.zhycsj,jdbcType=TIMESTAMP}
|
|
1318
|
1329
|
<if test="_parameter != null" >
|
|
1319
|
1330
|
<include refid="Update_By_Example_Where_Clause" />
|
|
1320
|
1331
|
</if>
|
|
|
@@ -1622,6 +1633,9 @@
|
|
1622
|
1633
|
<if test="fileRoute != null" >
|
|
1623
|
1634
|
file_route = #{fileRoute,jdbcType=VARCHAR},
|
|
1624
|
1635
|
</if>
|
|
|
1636
|
+ <if test="zhycsj != null">
|
|
|
1637
|
+ zhycsj = #{zhycsj,jdbcType=TIMESTAMP},
|
|
|
1638
|
+ </if>
|
|
1625
|
1639
|
</set>
|
|
1626
|
1640
|
where id = #{id,jdbcType=INTEGER}
|
|
1627
|
1641
|
</update>
|
|
|
@@ -1726,7 +1740,8 @@
|
|
1726
|
1740
|
ypbh= #{record.ypbh,jdbcType=VARCHAR},
|
|
1727
|
1741
|
sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR},
|
|
1728
|
1742
|
ypdj= #{record.ypdj,jdbcType=VARCHAR},
|
|
1729
|
|
- file_route = #{fileRoute,jdbcType=VARCHAR}
|
|
|
1743
|
+ file_route = #{fileRoute,jdbcType=VARCHAR},
|
|
|
1744
|
+ zhycsj = #{zhycsj,jdbcType=TIMESTAMP}
|
|
1730
|
1745
|
where id = #{id,jdbcType=INTEGER}
|
|
1731
|
1746
|
</update>
|
|
1732
|
1747
|
|
|
|
@@ -1826,7 +1841,7 @@
|
|
1826
|
1841
|
sqk.smoke_point, sqk.reeze_test, sqk.residual_solvent, sqk.lead, sqk.total_arsenic, sqk.aflatoxin, sqk.quailtycard_id,
|
|
1827
|
1842
|
sqk.butyl_phenol, sqk.flag_type,
|
|
1828
|
1843
|
sqk.qyqy,sqk.qydbh,sqk.zblb,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx,
|
|
1829
|
|
- sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj, sqk.file_route
|
|
|
1844
|
+ sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj, sqk.file_route, sqk.zhycsj
|
|
1830
|
1845
|
</sql>
|
|
1831
|
1846
|
|
|
1832
|
1847
|
<select id="queryPrimaryKey" resultMap="BaseResultMap">
|