Commit 6118e4b6 authored by huyuchen's avatar huyuchen

商险问题修改

parent a94cd822
...@@ -5924,8 +5924,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -5924,8 +5924,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
continue; continue;
} }
//商险办理地权限校验 //商险办理地权限校验
boolean b = insuranceAreaResList.stream().anyMatch(s -> insuranceRefund.getInsuranceHandleCity().equals(s.getCity()) && insuranceRefund.getInsuranceHandleProvince().equals(s.getProvince())); if(insuranceAreaResList.stream().noneMatch(s -> insuranceRefund.getInsuranceHandleCity().toString().equals(s.getCity())
if(!b){ && insuranceRefund.getInsuranceHandleProvince().toString().equals(s.getProvince()))){
param.setErrorMessage(InsurancesConstants.NO_DETAIL_JURISDICTION); param.setErrorMessage(InsurancesConstants.NO_DETAIL_JURISDICTION);
errorList.add(param); errorList.add(param);
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment