|
|
@@ -365,7 +365,8 @@ public class TaxSourceServiceImpl extends ServiceImpl<TaxSourceMapper, TaxSource
|
|
|
|
|
|
// 税源
|
|
|
TaxSourceDto taxSourceDtos =
|
|
|
- taxSourceDtoList.stream().filter(x -> x.getIsTaxSource().equals("1")).collect(Collectors.toList()).get(0);
|
|
|
+ taxSourceDtoList.stream().filter(x -> x.getIsTaxSource() == 1).collect(Collectors.toList()).get(0);
|
|
|
+
|
|
|
if (!isExclude && (Float.parseFloat(volume) >= 1) && (taxSourceDtos != null)) {
|
|
|
resultId = taxSourceDtos.getAgreementId();
|
|
|
}
|
|
|
@@ -378,4 +379,9 @@ public class TaxSourceServiceImpl extends ServiceImpl<TaxSourceMapper, TaxSource
|
|
|
return resultId;
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) {
|
|
|
+ System.out.println("".contains("0330034002"));
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|