|
|
@@ -494,7 +494,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
.or()
|
|
|
.eq(InsAreaCompany::getSypolicyno,quoteVo.getSypolicyno());
|
|
|
List<InsAreaCompany> list = this.list(queryWrapper);
|
|
|
- if(list.size() > 0){
|
|
|
+ if(!list.isEmpty()){
|
|
|
throw new SystemException("已存在订单");
|
|
|
}
|
|
|
|
|
|
@@ -723,8 +723,6 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
InsAreaCompany insAreaCompany = insOrdersEditingVo.getInsAreaCompanyList().get(0);
|
|
|
this.updateById(insAreaCompany);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
//通过协议id 查询费用
|
|
|
PtlAgreement ptlAgreement = ptlAgreementService.getById(insOrdersEditingVo.getAgreementId());
|
|
|
|