本地修改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"});
|
||||
|
||||
Reference in New Issue
Block a user