1.修改视频场景增加监测封堵按钮2.增加patch调用接口更改配置状态方法
This commit is contained in:
@@ -513,9 +513,32 @@
|
||||
</update>
|
||||
|
||||
<update id="updateAvSignSampleValid" parameterType="com.nis.domain.configuration.AvSignSampleCfg" >
|
||||
update av_sign_sample_cfg set is_valid = #{isValid,jdbcType=INTEGER},
|
||||
editor_id = #{editorId,jdbcType=INTEGER} ,
|
||||
edit_time = #{editTime,jdbcType=TIMESTAMP} where cfg_id = #{cfgId,jdbcType=BIGINT}
|
||||
update av_sign_sample_cfg
|
||||
<set>
|
||||
is_valid = #{isValid,jdbcType=INTEGER},
|
||||
<if test="serviceId!=null">
|
||||
service_id=#{serviceId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="action!=null">
|
||||
action=#{action,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="level!=null">
|
||||
level=#{level,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="editorId != null" >
|
||||
editor_id = #{editorId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="editTime != null and editTime!=''" >
|
||||
edit_time = #{editTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="auditTime != null and auditTime!=''" >
|
||||
audit_time = #{auditTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="auditorId != null" >
|
||||
auditor_id = #{auditorId,jdbcType=INTEGER}
|
||||
</if>
|
||||
</set>
|
||||
where cfg_id = #{cfgId,jdbcType=BIGINT}
|
||||
</update>
|
||||
<update id="auditAvSignSample" parameterType="com.nis.domain.configuration.AvSignSampleCfg" >
|
||||
update av_sign_sample_cfg set is_audit = #{isAudit,jdbcType=INTEGER},
|
||||
|
||||
Reference in New Issue
Block a user