bifrons 2 lat temu
rodzic
commit
c51f66a315

+ 1 - 1
src/main/java/com/ydtech/modules/protocol/service/impl/TaxSourceServiceImpl.java

@@ -342,7 +342,7 @@ public class TaxSourceServiceImpl extends ServiceImpl<TaxSourceMapper, TaxSource
         List<TaxSourceDto> taxSource =
                 taxSourceDtoList.stream().filter(x -> x.getLicense().equals(firstTwoPlates)).collect(Collectors.toList());
         if (!taxSource.isEmpty()) {
-            resultId = taxSourceDtoList.get(0).getAgreementId();
+            resultId = taxSource.get(0).getAgreementId();
         }
 
         boolean isExclude = false;