|
|
@@ -428,7 +428,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
if(quoteVo.getJqpolicyno() == null){
|
|
|
throw new SystemException("交强险保单号不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getJqPolicyList().isEmpty()){
|
|
|
+ if(quoteVo.getJqPolicyList() == null || quoteVo.getJqPolicyList().isEmpty()){
|
|
|
throw new SystemException("交强险保单不能为空");
|
|
|
}
|
|
|
if(quoteVo.getJqpremium() == null){
|
|
|
@@ -446,7 +446,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
if(quoteVo.getSypolicyno() == null){
|
|
|
throw new SystemException("商业险保单号不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getSyPolicyList().isEmpty()){
|
|
|
+ if(quoteVo.getSyPolicyList() == null || quoteVo.getSyPolicyList().isEmpty()){
|
|
|
throw new SystemException("商业险保单不能为空");
|
|
|
}
|
|
|
if(quoteVo.getSypremium() == null){
|
|
|
@@ -464,7 +464,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
if(quoteVo.getJypolicyno() == null){
|
|
|
throw new SystemException("非车险保单号不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getNoPolicyList().isEmpty()){
|
|
|
+ if(quoteVo.getNoPolicyList() == null || quoteVo.getNoPolicyList().isEmpty()){
|
|
|
throw new SystemException("非车险保单不能为空");
|
|
|
}
|
|
|
if(quoteVo.getJypremium() == null){
|