本地修改push至服务
This commit is contained in:
@@ -156,7 +156,7 @@ public class FileTransferCfgController extends BaseController{
|
||||
@RequiresPermissions(value={"fileTransfer:fileDigest:config"})
|
||||
public String saveFileDigestCfg(Model model,HttpServletRequest request,HttpServletResponse response,String ids,
|
||||
FileDigestCfg entity,MultipartFile file,@ModelAttribute("areaCfgIds")String areaCfgIds) {
|
||||
try {
|
||||
try {
|
||||
Date fileTime=null;
|
||||
Date date=new Date();
|
||||
if(!StringUtil.isEmpty(entity.getCfgId())){
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
delete from area_ip_cfg where compile_id=#{compileId} and function_id=#{functionId}
|
||||
</delete>
|
||||
<update id="updateAreaIpCfgValid" parameterType="com.nis.domain.configuration.BaseCfg">
|
||||
update area_ip_cfg
|
||||
update area_ip_cfg
|
||||
<set>
|
||||
<if test="isValid != null" >
|
||||
is_valid = #{isValid,jdbcType=INTEGER},
|
||||
|
||||
@@ -373,7 +373,7 @@ public class AvContentCfgService extends BaseService{
|
||||
strRegionList=accountMap.get("dstList");
|
||||
}
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
//TODO DELETE后期删除
|
||||
//TODO DELETE后期删除
|
||||
for (AreaIpCfg areaIpCfga : areaIpCfgList) {
|
||||
areaIpCfga.setCfgType("NTC_IP_RANGE");
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
|
||||
}
|
||||
|
||||
public void saveOrUpdateFileDigestCfg(FileDigestCfg entity,ToMaatResult result,String areaCfgIds){
|
||||
//设置区域运营商信息
|
||||
//设置区域运营商信息
|
||||
setAreaEffectiveIds(entity);
|
||||
|
||||
entity.setIsValid(0);
|
||||
|
||||
@@ -831,7 +831,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
|
||||
strRegionList=map.get("dstList");
|
||||
}
|
||||
}
|
||||
//保存区域IP信息
|
||||
//保存区域IP信息
|
||||
if(entity.getAreaCfg()!=null && entity.getAreaCfg().size()>0){
|
||||
AreaIpCfg cfg = new AreaIpCfg();
|
||||
BeanUtils.copyProperties(entity, cfg, new String[]{"cfgId"});
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="row stringInfo">
|
||||
<span id="keywordError" style="display:none"><spring:message code="required"></spring:message></span>
|
||||
<span id="tagsinputTip" style="display:none"><spring:message code="multiple_keywords_tip"></spring:message></span>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group ">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="key_word"/></label>
|
||||
|
||||
@@ -125,7 +125,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><font color="red">*</font>
|
||||
<spring:message code="cfds_level" /></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required digits" type="text" range="[1,10]"
|
||||
<input class="form-control required digits" type="text" range="[1,10]"
|
||||
name="cfdsLevel"
|
||||
value="${_cfg.cfdsLevel}">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user