diff --git a/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml index a2ace008d..3ffaeea66 100644 --- a/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml @@ -1180,96 +1180,96 @@ update app_policy_cfg - + cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, - - + APP_CODE = #{appCode,jdbcType=INTEGER}, - - + BEHAV_CODE = #{behavCode,jdbcType=INTEGER}, - - + SPEC_SERVICE_ID = #{specServiceId,jdbcType=INTEGER}, - - + action = #{action,jdbcType=INTEGER}, - - + is_valid = #{isValid,jdbcType=INTEGER}, - - + is_audit = #{isAudit,jdbcType=INTEGER}, - + creator_id = #{creatorId,jdbcType=INTEGER}, - + create_time = #{createTime,jdbcType=TIMESTAMP}, - + editor_id = #{editorId,jdbcType=INTEGER}, edit_time = #{editTime,jdbcType=TIMESTAMP}, - + --> auditor_id = #{auditorId,jdbcType=INTEGER}, - - + + audit_time = #{auditTime,jdbcType=TIMESTAMP}, - + service_id = #{serviceId,jdbcType=INTEGER}, - - + request_id = #{requestId,jdbcType=INTEGER}, - - + compile_id = #{compileId,jdbcType=INTEGER}, - - + is_area_effective = #{isAreaEffective,jdbcType=INTEGER}, - - + classify = #{classify,jdbcType=VARCHAR}, - - + attribute = #{attribute,jdbcType=VARCHAR}, - - + lable = #{lable,jdbcType=VARCHAR}, - - + area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}, - - + function_id = #{functionId,jdbcType=INTEGER}, - - + RATELIMIT=#{ratelimit,jdbcType=INTEGER}, - - + CFG_REGION_CODE=#{cfgRegionCode,jdbcType=INTEGER}, - - + CFG_TYPE =#{cfgType,jdbcType=VARCHAR}, - - + USER_REGION1 =#{userRegion1,jdbcType=VARCHAR}, - - + USER_REGION2 =#{userRegion2,jdbcType=VARCHAR}, - - + USER_REGION1 =#{userRegion3,jdbcType=VARCHAR}, - - + USER_REGION1 =#{userRegion4,jdbcType=VARCHAR}, - - + USER_REGION1 =#{userRegion5,jdbcType=VARCHAR}, - + where cfg_id = #{cfgId,jdbcType=BIGINT} diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgForm.jsp index 3c94b1b52..508dfad05 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgForm.jsp @@ -53,6 +53,9 @@ $(function(){ if($("[name='behavCode']")&&$("[name='behavCode']").val()!=""){ $("input[name$='exprType']").val(1); } + if($("input[name='ratelimit']").is(":hidden")){ + $("input[name='ratelimit']").val(""); + } /* $("#appCode").val($("#specServiceIdId").val()); */ loading('onloading...'); form.submit(); @@ -190,12 +193,14 @@ var delContent = function(contentClassName, addBtnClassName) {
+
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp index fd73af01d..2c9ea71f2 100644 --- a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp @@ -53,6 +53,9 @@ $(function(){ if($("[name='behavCode']")&&$("[name='behavCode']").val()!=""){ $("input[name$='exprType']").val(1); } + if($("input[name='ratelimit']").is(":hidden")){ + $("input[name='ratelimit']").val(""); + } /* $("#appCode").val($("#specServiceIdId").val()); */ loading('onloading...'); form.submit();