|
|
@@ -365,12 +365,14 @@ public class TaxSourceServiceImpl extends ServiceImpl<TaxSourceMapper, TaxSource
|
|
|
|
|
|
// 税源
|
|
|
TaxSourceDto taxSourceDtos =
|
|
|
- taxSourceDtoList.stream().filter(x -> x.getIsTaxSource() == 1).collect(Collectors.toList()).get(0);
|
|
|
+ taxSourceDtoList.stream().filter(x -> x.getIsTaxSource().equals("1")).collect(Collectors.toList()).get(0);
|
|
|
|
|
|
if (!isExclude && (Float.parseFloat(volume) >= 1) && (taxSourceDtos != null)) {
|
|
|
resultId = taxSourceDtos.getAgreementId();
|
|
|
}
|
|
|
|
|
|
+ System.out.println(taxSourceDtos.getInsuranceRepertoire() + " " + productid);
|
|
|
+
|
|
|
// 不包含险种 随机其他保险公司
|
|
|
if (taxSourceDtos != null && taxSourceDtos.getAgreementId().equals(resultId) && taxSourceDtos.getInsuranceRepertoire().contains(productid)) {
|
|
|
resultId = taxSourceDtos.getBanishAgreementId();
|
|
|
@@ -379,9 +381,5 @@ public class TaxSourceServiceImpl extends ServiceImpl<TaxSourceMapper, TaxSource
|
|
|
return resultId;
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- System.out.println("".contains("0330034002"));
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
}
|