|
|
@@ -53,6 +53,7 @@ import com.ydtech.modules.order.entity.dto.DrivingInsuranceDto;
|
|
|
import com.ydtech.modules.order.entity.dto.InquiryDetalsQueryDto;
|
|
|
import com.ydtech.modules.order.entity.dto.InsAreaCompanyQueryDto;
|
|
|
import com.ydtech.modules.order.entity.vo.*;
|
|
|
+import com.ydtech.modules.order.entity.vo.bohai.BoHaiQuoteAccidentVo;
|
|
|
import com.ydtech.modules.order.entity.vo.guoren.GuoRenQuoteVo;
|
|
|
import com.ydtech.modules.order.entity.vo.guoren.GuorenAccidentalDrivingVo;
|
|
|
import com.ydtech.modules.order.entity.vo.ya.YaExtendInfoDto;
|
|
|
@@ -999,8 +1000,8 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
Page<InsOrders> orderVoPage = new Page<>();
|
|
|
//注释逻辑给前台返回数据
|
|
|
if (agentUserIds != null && !agentUserIds.isEmpty() || !agreeIds.isEmpty()) {
|
|
|
- orderVoPage = baseMapper.queryPageOrderByLinkType(page, orderQueryVo, agentUserIds, agreeIds, deptIds, flag,type);
|
|
|
- total = baseMapper.queryPageOrderByLinkTypeCount(orderQueryVo, agentUserIds, agreeIds, deptIds, flag,type);
|
|
|
+ orderVoPage = baseMapper.queryPageOrderByLinkType(page, orderQueryVo, agentUserIds, agreeIds, deptIds, flag, type);
|
|
|
+ total = baseMapper.queryPageOrderByLinkTypeCount(orderQueryVo, agentUserIds, agreeIds, deptIds, flag, type);
|
|
|
}
|
|
|
orderVoPage.setTotal(total);
|
|
|
return new BasePageResult<>(orderQueryVo.getPageNum(), orderQueryVo.getPageSize(), orderVoPage.getTotal(),
|
|
|
@@ -1323,6 +1324,20 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
dajiaBaseQuoteVo.setAccidentalDrivingVo(jsonObject);
|
|
|
return dajiaBaseQuoteVo;
|
|
|
}
|
|
|
+
|
|
|
+ if (baseQuoteVo.getCompanyId().equals("BPIC1000000")) {
|
|
|
+ // 渤海财险
|
|
|
+ BaseQuoteVo<List<BoHaiQuoteAccidentVo>> bohaiBaseQuoteVo = new BaseQuoteVo<>();
|
|
|
+ BeanUtils.copyProperties(baseQuoteVo, bohaiBaseQuoteVo);
|
|
|
+ QuoteAccidentalDrivingVo accidentalDrivingVo = baseQuoteVo.getAccidentalDrivingVo();
|
|
|
+ BoHaiQuoteAccidentVo boHaiQuoteAccidentVo = new BoHaiQuoteAccidentVo();
|
|
|
+ boHaiQuoteAccidentVo.setPackageCode(accidentalDrivingVo.getParentCode());
|
|
|
+ boHaiQuoteAccidentVo.setProductCode(accidentalDrivingVo.getProjectCode());
|
|
|
+ boHaiQuoteAccidentVo.setCopies(String.valueOf(accidentalDrivingVo.getQuantity()));
|
|
|
+ bohaiBaseQuoteVo.setAccidentalDrivingVo(Collections.singletonList(boHaiQuoteAccidentVo));
|
|
|
+ return bohaiBaseQuoteVo;
|
|
|
+ }
|
|
|
+
|
|
|
return null;
|
|
|
}
|
|
|
|