审核修正同一个业务中既有maat又有callback的情况下,审核走maat的bug
This commit is contained in:
@@ -161,27 +161,18 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
|
|||||||
List<FunctionRegionDict> dictList = DictUtils.getFunctionRegionDictList(cfg.getFunctionId());
|
List<FunctionRegionDict> dictList = DictUtils.getFunctionRegionDictList(cfg.getFunctionId());
|
||||||
int maatType=0;
|
int maatType=0;
|
||||||
//判断下发类型是走maat还是callback
|
//判断下发类型是走maat还是callback
|
||||||
if(cfg.getCfgRegionCode()!=null){
|
|
||||||
for(FunctionRegionDict f:dictList){
|
List<SysDataDictionaryItem> maatServiceList = DictUtils.getDictList("MAAT_SERVICE");
|
||||||
if(f.getConfigRegionCode().intValue()==cfg.getCfgRegionCode()){
|
for(SysDataDictionaryItem maatService:maatServiceList){
|
||||||
maatType=f.getIsMaat();
|
if(Integer.parseInt(maatService.getItemCode())==cfg.getServiceId().intValue()){
|
||||||
break;
|
for(FunctionRegionDict f:dictList){
|
||||||
}
|
if(maatService.getItemValue().equals(f.getConfigRegionValue())){
|
||||||
}
|
maatType=f.getIsMaat();
|
||||||
}else{
|
break;
|
||||||
List<SysDataDictionaryItem> maatServiceList = DictUtils.getDictList("MAAT_SERVICE");
|
|
||||||
for(SysDataDictionaryItem maatService:maatServiceList){
|
|
||||||
if(Integer.parseInt(maatService.getItemCode())==cfg.getServiceId().intValue()){
|
|
||||||
for(FunctionRegionDict f:dictList){
|
|
||||||
if(maatService.getItemValue().equals(f.getConfigRegionValue())){
|
|
||||||
maatType=f.getIsMaat();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cfg.getIsAudit()==Constants.AUDIT_YES){
|
if(cfg.getIsAudit()==Constants.AUDIT_YES){
|
||||||
|
|||||||
Reference in New Issue
Block a user