From a9b78e358ac7ab7567a56affd97bd47dc50a24e9 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Wed, 17 Oct 2018 14:53:52 +0800 Subject: [PATCH] =?UTF-8?q?block=E6=97=B6level=E9=BB=98=E8=AE=A4=E4=B8=BA0?= =?UTF-8?q?=20monitor=E6=97=B6level=E9=BB=98=E8=AE=A4100=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9request=E3=80=81cfg=E3=80=81sys=5Flog=E3=80=81proc=5Fe?= =?UTF-8?q?xec=5Flog=E8=A1=A8=E7=9A=84id=E4=B8=BAbigint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/20181016/alert_table_id_length.sql | 8 ++++---- src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/resources/sql/20181016/alert_table_id_length.sql b/src/main/resources/sql/20181016/alert_table_id_length.sql index 6aaa88f79..563ba43e0 100644 --- a/src/main/resources/sql/20181016/alert_table_id_length.sql +++ b/src/main/resources/sql/20181016/alert_table_id_length.sql @@ -1,4 +1,4 @@ -alter table cfg_num_statistics modify column id bigint; -alter table request_num_statistics modify column id bigint; -alter table proc_exec_log modify column id bigint; -alter table sys_log modify column id bigint; \ No newline at end of file +alter table cfg_num_statistics modify column id bigint auto_increment; +alter table request_num_statistics modify column id bigint auto_increment; +alter table proc_exec_log modify column id bigint auto_increment; +alter table sys_log modify column id bigint auto_increment; \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp b/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp index 7a6b6ff19..a6db5dcff 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp @@ -88,10 +88,14 @@ function hiddenlevel(){ var action=$("input[name='action']:checked").val(); if(action==16){ $(".leveL").addClass("hidden"); - $("select[name='level']").val(0); + $("select[name='level']").find("option").eq(0).attr("value","0"); + $("select[name='level']").val("0"); + $("select[name='level']").selectpicker("refresh"); }else { $(".leveL").removeClass("hidden"); - $("select[name='level']").val(0); + $("select[name='level']").find("option").eq(0).attr("value",""); + $("select[name='level']").val("100"); + $("select[name='level']").selectpicker("refresh"); } }