优化配置审核方法中重复查询配置信息
This commit is contained in:
@@ -311,7 +311,7 @@ public class MailCfgService extends CrudService<MailCfgDao,CfgIndexInfo> {
|
||||
List<IpCfg> areaIpRegionList = new ArrayList();
|
||||
|
||||
//查询子配置并修改审核状态
|
||||
entity = this.getMailCfg(entity.getCfgId(),entity.getCompileId());
|
||||
//entity = this.getMailCfg(entity.getCfgId(),entity.getCompileId());
|
||||
if(entity.getIpPortList()!=null && entity.getIpPortList().size()>0){
|
||||
IpPortCfg cfg = new IpPortCfg();
|
||||
BeanUtils.copyProperties(entity, cfg, new String[]{"cfgId"});
|
||||
|
||||
Reference in New Issue
Block a user