|
@@ -18,6 +18,7 @@
|
|
<result property="subordinate" column="subordinate_"/>
|
|
<result property="subordinate" column="subordinate_"/>
|
|
<result property="attendanceTime" column="attendance_time"/>
|
|
<result property="attendanceTime" column="attendance_time"/>
|
|
<result property="classifier" column="classifier_"/>
|
|
<result property="classifier" column="classifier_"/>
|
|
|
|
+ <result property="needMeasureTemperature" column="need_measure_temperature"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
<insert id="insert" parameterType="com.jpsoft.smart.modules.base.entity.AlarmConfig">
|
|
<insert id="insert" parameterType="com.jpsoft.smart.modules.base.entity.AlarmConfig">
|
|
<!--
|
|
<!--
|
|
@@ -28,7 +29,7 @@
|
|
<![CDATA[
|
|
<![CDATA[
|
|
insert into base_alarm_config
|
|
insert into base_alarm_config
|
|
(id_,company_id,weekdays_,start_time,end_time,del_flag,create_by,create_time,
|
|
(id_,company_id,weekdays_,start_time,end_time,del_flag,create_by,create_time,
|
|
- update_by,update_time,subordinate_,attendance_time,classifier_)
|
|
|
|
|
|
+ update_by,update_time,subordinate_,attendance_time,classifier_,need_measure_temperature)
|
|
values
|
|
values
|
|
(
|
|
(
|
|
#{id,jdbcType=VARCHAR}
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -43,7 +44,8 @@
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
,#{subordinate,jdbcType= NUMERIC }
|
|
,#{subordinate,jdbcType= NUMERIC }
|
|
,#{attendanceTime,jdbcType= VARCHAR }
|
|
,#{attendanceTime,jdbcType= VARCHAR }
|
|
- ,#{classifier,jdbcType= NUMERIC }
|
|
|
|
|
|
+ ,#{classifier,jdbcType= NUMERIC}
|
|
|
|
+ ,#{needMeasureTemperature,jdbcType= NUMERIC}}
|
|
)
|
|
)
|
|
]]>
|
|
]]>
|
|
</insert>
|
|
</insert>
|
|
@@ -92,6 +94,9 @@
|
|
<if test="classifier!=null">
|
|
<if test="classifier!=null">
|
|
classifier_=#{classifier,jdbcType= NUMERIC },
|
|
classifier_=#{classifier,jdbcType= NUMERIC },
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="needMeasureTemperature!=null">
|
|
|
|
+ need_measure_temperature=#{needMeasureTemperature,jdbcType= NUMERIC },
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id_=#{id}
|
|
where id_=#{id}
|
|
</update>
|
|
</update>
|