Commit 6118e4b6 authored by huyuchen's avatar huyuchen

商险问题修改

parent a94cd822
......@@ -5924,8 +5924,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
continue;
}
//商险办理地权限校验
boolean b = insuranceAreaResList.stream().anyMatch(s -> insuranceRefund.getInsuranceHandleCity().equals(s.getCity()) && insuranceRefund.getInsuranceHandleProvince().equals(s.getProvince()));
if(!b){
if(insuranceAreaResList.stream().noneMatch(s -> insuranceRefund.getInsuranceHandleCity().toString().equals(s.getCity())
&& insuranceRefund.getInsuranceHandleProvince().toString().equals(s.getProvince()))){
param.setErrorMessage(InsurancesConstants.NO_DETAIL_JURISDICTION);
errorList.add(param);
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