修改group_id国际化中文

隐藏dnsResStrategy 无策略配置信息
去掉dnsResStrategy新增的默认策略号
来函信息增加title的必输项验证
特定协议隐藏配置分组ID
This commit is contained in:
duandongmei
2018-07-18 20:08:12 +08:00
parent 726dff6d0c
commit 7560d7bb42
10 changed files with 15 additions and 14 deletions

View File

@@ -46,12 +46,12 @@ public class DnsResStrategyController extends BaseController {
initFormCondition(model, cfg);
model.addAttribute("isAdd", false);
}else{
//不存在响应策略为0的配置则新策略时cfgId默认为0
/*//不存在响应策略为0的配置则新策略时cfgId默认为0
DnsResStrategy dns0=dnsResStrategyService.getDnsResStrategy(0l,null);
if(dns0 == null){
cfg.setCfgId(0l);
cfg.setCfgDesc("无策略");
}
}*/
initFormCondition(model, cfg);
model.addAttribute("isAdd", true);
}

View File

@@ -123,6 +123,7 @@
<if test="functionId != null">
AND r.function_id=#{functionId,jdbcType=INTEGER}
</if>
<![CDATA[ and r.cfg_id <> 0]]>
<!-- 数据范围过滤 -->
${sqlMap.dsf}
</trim>
@@ -159,6 +160,7 @@
<if test="cfgId != null">
AND r.CFG_ID=#{cfgId,jdbcType=BIGINT}
</if>
<![CDATA[ and r.cfg_id <> 0]]>
</where>
order by cfg_Id
</select>