|
|
@@ -93,6 +93,7 @@
|
|
93
|
93
|
<result column="yjmc" property="yjmc" jdbcType="INTEGER" />
|
|
94
|
94
|
<result column="jx" property="jx" jdbcType="INTEGER" />
|
|
95
|
95
|
<result column="lyhjzl" property="lyhjzl" jdbcType="VARCHAR" />
|
|
|
96
|
+ <result column="cjr" property="cjr" jdbcType="VARCHAR" />
|
|
96
|
97
|
</resultMap>
|
|
97
|
98
|
<sql id="Example_Where_Clause" >
|
|
98
|
99
|
<where >
|
|
|
@@ -169,7 +170,7 @@
|
|
169
|
170
|
task_state, task_end_time, creater, create_time, update_time, org_id, delete_state,
|
|
170
|
171
|
data_source, updatetime, yqbjyaqjc, byqcnlhqnd, mbnd, jsbyl, byzypzr, fznd, mbndwcts,
|
|
171
|
172
|
lswzjc, lqbwcqdbjcs, mbsj, ctz, sqqlhqnd, sqpzr, sqcsts, sqjsslhqnd,record_id,remark,data_status,
|
|
172
|
|
- yjlysqbh, yjmc, jx, lyhjzl
|
|
|
173
|
+ yjlysqbh, yjmc, jx, lyhjzl, cjr
|
|
173
|
174
|
</sql>
|
|
174
|
175
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.fumigation.model.TFumigationProcessExample" >
|
|
175
|
176
|
select
|
|
|
@@ -233,7 +234,7 @@
|
|
233
|
234
|
jsbyl, byzypzr, fznd,
|
|
234
|
235
|
mbndwcts, lswzjc, lqbwcqdbjcs,
|
|
235
|
236
|
mbsj, ctz, sqqlhqnd,
|
|
236
|
|
- sqpzr, sqcsts, sqjsslhqnd,record_id,remark,data_status, yjlysqbh, yjmc, jx, lyhjzl
|
|
|
237
|
+ sqpzr, sqcsts, sqjsslhqnd,record_id,remark,data_status, yjlysqbh, yjmc, jx, lyhjzl, cjr
|
|
237
|
238
|
)
|
|
238
|
239
|
values (#{id,jdbcType=VARCHAR}, #{fumigationId,jdbcType=VARCHAR}, #{concentration,jdbcType=VARCHAR},
|
|
239
|
240
|
#{heapMedication,jdbcType=VARCHAR}, #{spaceMedication,jdbcType=VARCHAR}, #{deliquescenceMethod,jdbcType=VARCHAR},
|
|
|
@@ -268,7 +269,7 @@
|
|
268
|
269
|
#{mbsj,jdbcType=INTEGER}, #{ctz,jdbcType=DECIMAL}, #{sqqlhqnd,jdbcType=DECIMAL},
|
|
269
|
270
|
#{sqpzr,jdbcType=VARCHAR}, #{sqcsts,jdbcType=INTEGER}, #{sqjsslhqnd,jdbcType=DECIMAL},#{recordId,jdbcType=VARCHAR},
|
|
270
|
271
|
#{remark,jdbcType=VARCHAR},#{dataStatus,jdbcType=VARCHAR},#{yjlysqbh,jdbcType=VARCHAR}, #{yjmc,jdbcType=INTEGER},
|
|
271
|
|
- #{jx,jdbcType=INTEGER}, #{lyhjzl,jdbcType=VARCHAR})
|
|
|
272
|
+ #{jx,jdbcType=INTEGER}, #{lyhjzl,jdbcType=VARCHAR}, #{cjr,jdbcType=VARCHAR})
|
|
272
|
273
|
</insert>
|
|
273
|
274
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.fumigation.model.TFumigationProcess" >
|
|
274
|
275
|
insert into t_fumigation_process
|
|
|
@@ -543,6 +544,9 @@
|
|
543
|
544
|
<if test="lyhjzl != null">
|
|
544
|
545
|
lyhjzl,
|
|
545
|
546
|
</if>
|
|
|
547
|
+ <if test="cjr != null">
|
|
|
548
|
+ cjr,
|
|
|
549
|
+ </if>
|
|
546
|
550
|
</trim>
|
|
547
|
551
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
548
|
552
|
<if test="id != null" >
|
|
|
@@ -815,6 +819,9 @@
|
|
815
|
819
|
<if test="lyhjzl != null">
|
|
816
|
820
|
#{lyhjzl,jdbcType=VARCHAR},
|
|
817
|
821
|
</if>
|
|
|
822
|
+ <if test="cjr != null">
|
|
|
823
|
+ #{cjr,jdbcType=VARCHAR},
|
|
|
824
|
+ </if>
|
|
818
|
825
|
</trim>
|
|
819
|
826
|
</insert>
|
|
820
|
827
|
<select id="countByExample" parameterType="com.chinaitop.depot.fumigation.model.TFumigationProcessExample" resultType="java.lang.Integer" >
|
|
|
@@ -1096,6 +1103,9 @@
|
|
1096
|
1103
|
<if test="record.lyhjzl != null">
|
|
1097
|
1104
|
lyhjzl = #{record.lyhjzl,jdbcType=VARCHAR},
|
|
1098
|
1105
|
</if>
|
|
|
1106
|
+ <if test="record.cjr != null">
|
|
|
1107
|
+ cjr = #{record.cjr,jdbcType=VARCHAR},
|
|
|
1108
|
+ </if>
|
|
1099
|
1109
|
</set>
|
|
1100
|
1110
|
<if test="_parameter != null" >
|
|
1101
|
1111
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -1192,7 +1202,8 @@
|
|
1192
|
1202
|
yjlysqbh = #{record.yjlysqbh,jdbcType=VARCHAR},
|
|
1193
|
1203
|
yjmc = #{record.yjmc,jdbcType=INTEGER},
|
|
1194
|
1204
|
jx = #{record.jx,jdbcType=INTEGER},
|
|
1195
|
|
- lyhjzl = #{record.lyhjzl,jdbcType=VARCHAR}
|
|
|
1205
|
+ lyhjzl = #{record.lyhjzl,jdbcType=VARCHAR},
|
|
|
1206
|
+ cjr = #{record.cjr,jdbcType=VARCHAR}
|
|
1196
|
1207
|
<if test="_parameter != null" >
|
|
1197
|
1208
|
<include refid="Update_By_Example_Where_Clause" />
|
|
1198
|
1209
|
</if>
|
|
|
@@ -1470,6 +1481,9 @@
|
|
1470
|
1481
|
<if test="lyhjzl != null">
|
|
1471
|
1482
|
lyhjzl = #{lyhjzl,jdbcType=VARCHAR},
|
|
1472
|
1483
|
</if>
|
|
|
1484
|
+ <if test="cjr != null">
|
|
|
1485
|
+ cjr = #{cjr,jdbcType=VARCHAR},
|
|
|
1486
|
+ </if>
|
|
1473
|
1487
|
</set>
|
|
1474
|
1488
|
where id = #{id,jdbcType=VARCHAR}
|
|
1475
|
1489
|
</update>
|
|
|
@@ -1564,7 +1578,8 @@
|
|
1564
|
1578
|
yjlysqbh = #{yjlysqbh,jdbcType=VARCHAR},
|
|
1565
|
1579
|
yjmc = #{yjmc,jdbcType=INTEGER},
|
|
1566
|
1580
|
jx = #{jx,jdbcType=INTEGER},
|
|
1567
|
|
- lyhjzl = #{lyhjzl,jdbcType=VARCHAR}
|
|
|
1581
|
+ lyhjzl = #{lyhjzl,jdbcType=VARCHAR},
|
|
|
1582
|
+ cjr = #{cjr,jdbcType=VARCHAR}
|
|
1568
|
1583
|
where id = #{id,jdbcType=VARCHAR}
|
|
1569
|
1584
|
</update>
|
|
1570
|
1585
|
|
|
|
@@ -1575,10 +1590,11 @@
|
|
1575
|
1590
|
record.house_id houseId,
|
|
1576
|
1591
|
record.lspz grainKind,
|
|
1577
|
1592
|
record.yjmc drugName,
|
|
1578
|
|
- case when record.cgxzfs!='' then '常规熏蒸' when record.hlxzfs!='' then '环流熏蒸方式' when record.hlxzynhljsjh!='' then '环流熏蒸与内环流技术结合' else '常规熏蒸' end fumigationType,
|
|
|
1593
|
+ case record.xzfs when '5245' then '常规熏蒸' when '5246' then '环流熏蒸方式' when '5248' then '环流熏蒸与内环流技术结合' else '常规熏蒸' end fumigationType,
|
|
1579
|
1594
|
record.creater,
|
|
1580
|
1595
|
to_char(pro.create_time, 'yyyy-mm-dd hh24:mi:ss') createTime,
|
|
1581
|
|
- record.id recordId
|
|
|
1596
|
+ record.id recordId,
|
|
|
1597
|
+ pro.data_status datastatus
|
|
1582
|
1598
|
FROM
|
|
1583
|
1599
|
t_fumigation_process pro
|
|
1584
|
1600
|
INNER JOIN t_fumigation_forrecord record ON pro.record_id = record.id
|
|
|
@@ -1612,7 +1628,7 @@
|
|
1612
|
1628
|
drug_residue_rate, dcsqtinfo_id, task_state,
|
|
1613
|
1629
|
task_end_time, creater, create_time,
|
|
1614
|
1630
|
update_time, org_id, delete_state,
|
|
1615
|
|
- data_source,record_id,remark,data_status, yjlysqbh, yjmc, jx, lyhjzl)
|
|
|
1631
|
+ data_source,record_id,remark,data_status, yjlysqbh, yjmc, jx, lyhjzl, cjr)
|
|
1616
|
1632
|
values
|
|
1617
|
1633
|
<foreach collection="list" item="process" index="index" separator=",">
|
|
1618
|
1634
|
(#{process.id,jdbcType=INTEGER}, #{process.fumigationId,jdbcType=VARCHAR}, #{process.firstUseDrugTime,jdbcType=TIMESTAMP},
|
|
|
@@ -1632,7 +1648,8 @@
|
|
1632
|
1648
|
#{process.taskEndTime,jdbcType=TIMESTAMP}, #{process.creater,jdbcType=INTEGER}, #{process.createTime,jdbcType=TIMESTAMP},
|
|
1633
|
1649
|
#{process.updateTime,jdbcType=TIMESTAMP}, #{process.orgId,jdbcType=INTEGER}, #{process.deleteState,jdbcType=VARCHAR},
|
|
1634
|
1650
|
#{process.dataSource,jdbcType=VARCHAR},#{process.recordId,jdbcType=VARCHAR}, #{process.remark,jdbcType=VARCHAR},#{process.dataStatus,jdbcType=VARCHAR},
|
|
1635
|
|
- #{process.yjlysqbh,jdbcType=VARCHAR}, #{process.yjmc,jdbcType=INTEGER}, #{process.jx,jdbcType=INTEGER}, #{process.lyhjzl,jdbcType=VARCHAR})
|
|
|
1651
|
+ #{process.yjlysqbh,jdbcType=VARCHAR}, #{process.yjmc,jdbcType=INTEGER}, #{process.jx,jdbcType=INTEGER}, #{process.lyhjzl,jdbcType=VARCHAR},
|
|
|
1652
|
+ #{process.cjr,jdbcType=VARCHAR})
|
|
1636
|
1653
|
</foreach>
|
|
1637
|
1654
|
</insert>
|
|
1638
|
1655
|
</mapper>
|