|
|
@@ -35,6 +35,7 @@
|
|
35
|
35
|
<result column="lsmbqk" property="lsmbqk" jdbcType="INTEGER" />
|
|
36
|
36
|
<result column="cfywxl" property="cfywxl" jdbcType="INTEGER" />
|
|
37
|
37
|
<result column="sffc" property="sffc" jdbcType="INTEGER" />
|
|
|
38
|
+ <result column="commit_time" property="commitTime" jdbcType="INTEGER" />
|
|
38
|
39
|
</resultMap>
|
|
39
|
40
|
<sql id="Example_Where_Clause" >
|
|
40
|
41
|
<where >
|
|
|
@@ -98,7 +99,7 @@
|
|
98
|
99
|
id, house_id, warehouse_id, org_id, sub_type, check_time, checker, pests_position,
|
|
99
|
100
|
pests_density, pests_species, rain_check, ratfinch_check, other_check, find_question,
|
|
100
|
101
|
flag_type, rcdoor, rcwindow, rclamp, rchygiene, rccorridor, bgy, cyry,
|
|
101
|
|
- tqqk, lw, cw, qw, cns, cws, sfjl, lsmbqk, cfywxl, sffc
|
|
|
102
|
+ tqqk, lw, cw, qw, cns, cws, sfjl, lsmbqk, cfywxl, sffc, commit_time
|
|
102
|
103
|
</sql>
|
|
103
|
104
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageDailycheckExample" >
|
|
104
|
105
|
select
|
|
|
@@ -137,7 +138,7 @@
|
|
137
|
138
|
pests_species, rain_check, ratfinch_check,
|
|
138
|
139
|
other_check, find_question, flag_type,
|
|
139
|
140
|
rcdoor, rcwindow,rclamp, rchygiene, rccorridor, bgy, cyry,
|
|
140
|
|
- tqqk, lw, cw, qw, cns, cws, sfjl, lsmbqk, cfywxl, sffc
|
|
|
141
|
+ tqqk, lw, cw, qw, cns, cws, sfjl, lsmbqk, cfywxl, sffc, commit_time
|
|
141
|
142
|
)
|
|
142
|
143
|
values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{warehouseId,jdbcType=INTEGER},
|
|
143
|
144
|
#{orgId,jdbcType=INTEGER}, #{subType,jdbcType=INTEGER}, #{checkTime,jdbcType=TIMESTAMP},
|
|
|
@@ -148,7 +149,7 @@
|
|
148
|
149
|
#{bgy,jdbcType=VARCHAR}, #{cyry,jdbcType=VARCHAR}, #{tqqk,jdbcType=VARCHAR}, #{lw,jdbcType=DECIMAL},
|
|
149
|
150
|
#{cw,jdbcType=VARCHAR}, #{qw,jdbcType=VARCHAR}, #{cns,jdbcType=VARCHAR}, #{cws,jdbcType=VARCHAR},
|
|
150
|
151
|
#{sfjl,jdbcType=INTEGER}, #{lsmbqk,jdbcType=INTEGER}, #{cfywxl,jdbcType=INTEGER},
|
|
151
|
|
- #{sffc,jdbcType=INTEGER})
|
|
|
152
|
+ #{sffc,jdbcType=INTEGER}, #{commitTime,jdbcType=TIMESTAMP})
|
|
152
|
153
|
</insert>
|
|
153
|
154
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageDailycheck" >
|
|
154
|
155
|
insert into storage_dailycheck
|
|
|
@@ -250,6 +251,9 @@
|
|
250
|
251
|
<if test="sffc != null" >
|
|
251
|
252
|
sffc,
|
|
252
|
253
|
</if>
|
|
|
254
|
+ <if test="commitTime != null" >
|
|
|
255
|
+ commit_time,
|
|
|
256
|
+ </if>
|
|
253
|
257
|
</trim>
|
|
254
|
258
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
255
|
259
|
SEQ_STORAGE_DAILYCHECK.nextVal,
|
|
|
@@ -349,6 +353,9 @@
|
|
349
|
353
|
<if test="sffc != null" >
|
|
350
|
354
|
#{sffc,jdbcType=INTEGER},
|
|
351
|
355
|
</if>
|
|
|
356
|
+ <if test="commitTime != null" >
|
|
|
357
|
+ #{commitTime,jdbcType=TIMESTAMP},
|
|
|
358
|
+ </if>
|
|
352
|
359
|
</trim>
|
|
353
|
360
|
</insert>
|
|
354
|
361
|
<select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageDailycheckExample" resultType="java.lang.Integer" >
|
|
|
@@ -459,6 +466,9 @@
|
|
459
|
466
|
<if test="record.sffc != null" >
|
|
460
|
467
|
sffc = #{record.sffc,jdbcType=INTEGER},
|
|
461
|
468
|
</if>
|
|
|
469
|
+ <if test="record.commitTime != null" >
|
|
|
470
|
+ commit_time = #{record.commitTime,jdbcType=TIMESTAMP},
|
|
|
471
|
+ </if>
|
|
462
|
472
|
</set>
|
|
463
|
473
|
<if test="_parameter != null" >
|
|
464
|
474
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -497,7 +507,8 @@
|
|
497
|
507
|
sfjl = #{record.sfjl,jdbcType=INTEGER},
|
|
498
|
508
|
lsmbqk = #{record.lsmbqk,jdbcType=INTEGER},
|
|
499
|
509
|
cfywxl = #{record.cfywxl,jdbcType=INTEGER},
|
|
500
|
|
- sffc = #{record.sffc,jdbcType=INTEGER}
|
|
|
510
|
+ sffc = #{record.sffc,jdbcType=INTEGER},
|
|
|
511
|
+ commit_time = #{record.commitTime,jdbcType=TIMESTAMP}
|
|
501
|
512
|
<if test="_parameter != null" >
|
|
502
|
513
|
<include refid="Update_By_Example_Where_Clause" />
|
|
503
|
514
|
</if>
|
|
|
@@ -601,6 +612,9 @@
|
|
601
|
612
|
<if test="sffc != null" >
|
|
602
|
613
|
sffc = #{sffc,jdbcType=INTEGER},
|
|
603
|
614
|
</if>
|
|
|
615
|
+ <if test="commitTime != null" >
|
|
|
616
|
+ commit_time = #{commitTime,jdbcType=TIMESTAMP},
|
|
|
617
|
+ </if>
|
|
604
|
618
|
</set>
|
|
605
|
619
|
where id = #{id,jdbcType=INTEGER}
|
|
606
|
620
|
</update>
|
|
|
@@ -636,7 +650,8 @@
|
|
636
|
650
|
sfjl = #{sfjl,jdbcType=INTEGER},
|
|
637
|
651
|
lsmbqk = #{lsmbqk,jdbcType=INTEGER},
|
|
638
|
652
|
cfywxl = #{cfywxl,jdbcType=INTEGER},
|
|
639
|
|
- sffc = #{sffc,jdbcType=INTEGER}
|
|
|
653
|
+ sffc = #{sffc,jdbcType=INTEGER},
|
|
|
654
|
+ commit_time = #{commitTime,jdbcType=TIMESTAMP}
|
|
640
|
655
|
where id = #{id,jdbcType=INTEGER}
|
|
641
|
656
|
</update>
|
|
642
|
657
|
|