文件摘要IsValid、IsAudit状态修改时,域配置也相应修改.
This commit is contained in:
@@ -501,8 +501,13 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
|
||||
entity.setFunctionId(functionId);
|
||||
fileTransferCfgDao.updateFileDigestCfg(entity);
|
||||
|
||||
entity = fileTransferCfgDao.getFileDigest(Long.parseLong(id));
|
||||
|
||||
entity = this.getFileDigestCfg(Long.parseLong(id));
|
||||
// 修改子域配置状态
|
||||
if((entity.getNtcSubscribeIdCfgList() != null) && (entity.getNtcSubscribeIdCfgList().size() > 0)) {
|
||||
NtcSubscribeIdCfg cfg = new NtcSubscribeIdCfg();
|
||||
BeanUtils.copyProperties(entity, cfg, new String[] {"cfgId"});
|
||||
stringCfgDao.updateSubscribeIdCfg(cfg);
|
||||
}
|
||||
AreaIpCfg areaIpCfg=new AreaIpCfg();
|
||||
BeanUtils.copyProperties(entity, areaIpCfg,new String[]{"cfgRegionCode"
|
||||
,"cfgType"
|
||||
@@ -522,20 +527,24 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
|
||||
entity.setAuditTime(auditTime);
|
||||
fileTransferCfgDao.updateFileDigestCfg(entity);
|
||||
|
||||
entity = fileTransferCfgDao.getFileDigest(Long.parseLong(id));
|
||||
entity = this.getFileDigestCfg(Long.parseLong(id));
|
||||
// 修改域配置审核状态
|
||||
if((entity.getNtcSubscribeIdCfgList() != null) && (entity.getNtcSubscribeIdCfgList().size() > 0)) {
|
||||
NtcSubscribeIdCfg cfg = new NtcSubscribeIdCfg();
|
||||
BeanUtils.copyProperties(entity, cfg, new String[] {"cfgId"});
|
||||
stringCfgDao.updateSubscribeIdCfg(cfg);
|
||||
}
|
||||
|
||||
List list=new ArrayList();
|
||||
list.add(entity);
|
||||
|
||||
AreaIpCfg areaIpCfg=new AreaIpCfg();
|
||||
BeanUtils.copyProperties(entity, areaIpCfg,new String[]{"cfgRegionCode"
|
||||
,"cfgType"
|
||||
,"cfgId"
|
||||
});
|
||||
areaIpCfgDao.updateAreaIpCfgValid(areaIpCfg);
|
||||
|
||||
List<AreaIpCfg> areaIpCfgList=areaIpCfgDao.getByCompileId(entity.getCompileId());
|
||||
|
||||
|
||||
ToMaatBean maatBean = new ToMaatBean();
|
||||
MaatCfg maatCfg = new MaatCfg();
|
||||
List<MaatCfg> configCompileList = new ArrayList();
|
||||
|
||||
Reference in New Issue
Block a user