删除标注为过时的方法

This commit is contained in:
wangxin
2018-06-07 13:27:57 +08:00
parent 4158b86ec7
commit 51962c9f11
5 changed files with 5 additions and 153 deletions

View File

@@ -62,29 +62,7 @@ public class NumCfgService extends CrudService<NumCfgDao,NumBoundaryCfg> {
}
return numCfgDao.updateByPrimaryKeySelective(cfg);
}
/**
*
* auditNumCfg(审核IP类配置)
* (继承NumBoundaryCfg这个类方可使用)
* @param cfg
* @return
*int
* @throws Exception
* @exception
* @since 1.0.0
*/
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
public int auditNumCfg(NumBoundaryCfg sendCfg,NumBoundaryCfg cfg) throws Exception{
if(Constants.AUDIT_NOT_YES==cfg.getIsAudit().intValue()||
Constants.AUDIT_YES==cfg.getIsAudit().intValue()){//审核通过,取消审核通过需要发到maat
if(sendToMaatConvertor(cfg.getIsAudit(),null,sendCfg)){
return numCfgDao.audit(cfg);
}
}else{
return numCfgDao.audit(cfg);
}
return 0;
}
/**
*
* deleteNumCfg(删除IP类配置)