|
|
@@ -29,6 +29,7 @@
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
<result property="remark" column="remark"/>
|
|
|
<result property="criticality" column="criticality"/>
|
|
|
+ <result property="isControl" column="is_control"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectHxpChemicalVo">
|
|
|
@@ -54,7 +55,8 @@
|
|
|
update_by,
|
|
|
update_time,
|
|
|
remark,
|
|
|
- criticality
|
|
|
+ criticality,
|
|
|
+ is_control
|
|
|
from hxp_chemical
|
|
|
</sql>
|
|
|
<sql id="selectHxpChemicalListVo">
|
|
|
@@ -80,7 +82,8 @@
|
|
|
t.update_by,
|
|
|
t.update_time,
|
|
|
t.remark,
|
|
|
- t.criticality
|
|
|
+ t.criticality,
|
|
|
+ t.is_control
|
|
|
from hxp_chemical as t
|
|
|
</sql>
|
|
|
<select id="selectHxpChemicalList" parameterType="com.zd.chemical.domain.vo.HxpChemicalSearch"
|
|
|
@@ -163,6 +166,7 @@
|
|
|
<if test="anotherNamePinyin != null">another_name_pinyin,</if>
|
|
|
<if test="anotherNameChar != null">another_name_char,</if>
|
|
|
<if test="criticality != null">criticality,</if>
|
|
|
+ <if test="isControl != null">is_control,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="chemicalNum != null">#{chemicalNum},</if>
|
|
|
@@ -191,6 +195,7 @@
|
|
|
<if test="anotherNamePinyin != null">#{anotherNamePinyin},</if>
|
|
|
<if test="anotherNameChar != null">#{anotherNameChar},</if>
|
|
|
<if test="criticality != null">#{criticality},</if>
|
|
|
+ <if test="isControl != null">#{isControl},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -224,7 +229,7 @@
|
|
|
<if test="anotherNamePinyin != null">another_name_pinyin = #{anotherNamePinyin},</if>
|
|
|
<if test="anotherNameChar != null">another_name_char = #{anotherNameChar},</if>
|
|
|
<if test="criticality != null">criticality = #{criticality},</if>
|
|
|
-
|
|
|
+ <if test="isControl != null">is_control = #{isControl},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|