liurunyu
2023-12-07 60bd6a383b3f7c0d4922517974da9525a0166b68
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/PrefixedDataAvailableHandleImp.java
@@ -30,18 +30,18 @@
          try{
             PrefixedDataAvailableStatus pds = null ;
             
             HashMap<String, AnnotationPrefixedDataAvailableVo> prefixedDataAvailableMap = ProtocolCach.getPrefixedDataAvailableMap() ;
             HashMap<String, AnnotationPrefixedDataAvailableVo> prefixedDataAvailableMap = ProtocolCache.getPrefixedDataAvailableMap() ;
             Collection<AnnotationPrefixedDataAvailableVo> set = prefixedDataAvailableMap.values() ;
             if(set.size() == 0){
                throw new Exception("上线数据完整性检查时,得到的协议完整性检查类集合为空。") ;
             }
             int prority = ProtocolConstant.firstPriority ;
             int priority = ProtocolConstant.firstPriority ;
             while(true){
                Object[] objs = this.getClassObjAndAnnotationVo(prority, set) ;
                Object[] objs = this.getClassObjAndAnnotationVo(priority, set) ;
                PrefixedDataAvailable pda = (PrefixedDataAvailable)objs[0] ;
                if(pda == null && prority == ProtocolConstant.firstPriority){
                   throw new Exception("上线数据完整性检查时,未得到优先级为" + prority + "上线数据完整性检查类!") ;
                if(pda == null && priority == ProtocolConstant.firstPriority){
                   throw new Exception("上线数据完整性检查时,未得到优先级为" + priority + "上线数据完整性检查类!") ;
                }else if(pda == null){
                   //说明上线数据完整性检查类集合已经遍历完了。
                   break ;
@@ -53,7 +53,7 @@
                if(pds == null){
                  //说明不是对应的协议数据,需要另外的协议来处理上线
                  //循环继续
                  prority++ ;
                  priority++ ;
               }else{
                  //停止循环,返回结果
                  break ;
@@ -90,7 +90,7 @@
          try{
            PrefixedDataAvailableStatus pds = null ;
             
             HashMap<String, AnnotationPrefixedDataAvailableVo> prefixedDataAvailableMap = ProtocolCach.getPrefixedDataAvailableMap() ;
             HashMap<String, AnnotationPrefixedDataAvailableVo> prefixedDataAvailableMap = ProtocolCache.getPrefixedDataAvailableMap() ;
             Collection<AnnotationPrefixedDataAvailableVo> set = prefixedDataAvailableMap.values() ;
             if(set.size() == 0){
                throw new Exception("上线数据完整性检查时,得到的协议集合为空。") ;