批量审核取消添加条件判断避免执行无用代码
This commit is contained in:
@@ -26,7 +26,7 @@ public class StatusOfUsedService extends CrudService<WebsiteCfgDao, CfgIndexInfo
|
||||
return websiteCfgDao.getStatusOfUsed(entity);
|
||||
}
|
||||
public List<BaseCfg> removePolicyOfUsed(List<BaseCfg> list,Integer ServiceId){
|
||||
if(StringUtil.isEmpty(list)){
|
||||
if(StringUtil.isEmpty(list) || list.get(0).getIsValid() != 1){//避免空或非批量取消审核_执行无用代码
|
||||
return list;
|
||||
}
|
||||
Integer functionId = 0;
|
||||
|
||||
Reference in New Issue
Block a user