|
|
@@ -109,7 +109,7 @@ public class HuaTaiOrderApiServiceImpl implements HuaTaiOrderApiService {
|
|
|
huaTaiModelsQueryRequest.setLoginCom(huaTaiConfigureParameters.getComCode());
|
|
|
huaTaiModelsQueryRequest.setAgentCode(huaTaiConfigureParameters.getAgentCode());
|
|
|
List<HuaTaiModelsQueryResponse.CarModelDto> carModelDtos = huaTaiRequestApiComponents.modelQuery(huaTaiModelsQueryRequest,
|
|
|
- HuaTaiModelsQueryResponse.class , huaTaiConfigureParameters.getInsuredCode());
|
|
|
+ HuaTaiModelsQueryResponse.class, huaTaiConfigureParameters.getInsuredCode());
|
|
|
|
|
|
List<HuaTaiModelsQueryResponse.CarModelDto.FullCarDataDto> fullCarDataDtos = new ArrayList<>();
|
|
|
for (HuaTaiModelsQueryResponse.CarModelDto carModelDto : carModelDtos) {
|
|
|
@@ -457,10 +457,10 @@ public class HuaTaiOrderApiServiceImpl implements HuaTaiOrderApiService {
|
|
|
for (HuaTaiInsurancePolicyPrintResponse.ElecDownLoadResultDto elecDownLoadResultDto : urlList) {
|
|
|
String url = elecDownLoadResultDto.getDownURL();
|
|
|
if (InsuranceRisk.TRAFFIC.getCode().equals(riskCode)) {
|
|
|
- crawlerPolicyPrintVo.setJqxPolicyUrl(gainCarInsPolicy(url, licensePlate + "-交强险保单.pdf", insAreaCompany.getId(), password));
|
|
|
- crawlerPolicyPrintVo.setJqxFlagUrl(gainCarInsPolicy(url, licensePlate + "-交强险标志.pdf", insAreaCompany.getId(), password));
|
|
|
+ crawlerPolicyPrintVo.setJqxPolicyUrl(gainCarInsPolicy(url, licensePlate + "-交强险", insAreaCompany.getId(), password) + "保单.pdf");
|
|
|
+ crawlerPolicyPrintVo.setJqxFlagUrl(gainCarInsPolicy(url, licensePlate + "-交强险", insAreaCompany.getId(), password) + "标志.pdf");
|
|
|
} else if (InsuranceRisk.BUSINESS.getCode().equals(riskCode)) {
|
|
|
- crawlerPolicyPrintVo.setSyxPolicyUrl(gainCarInsPolicy(url, licensePlate + "-商业险保单.pdf", insAreaCompany.getId(), password));
|
|
|
+ crawlerPolicyPrintVo.setSyxPolicyUrl(gainCarInsPolicy(url, licensePlate + "-商业险", insAreaCompany.getId(), password) + "保单.pdf");
|
|
|
}
|
|
|
/**
|
|
|
* 先下载到本地,然后再解压到固定路径
|
|
|
@@ -739,14 +739,13 @@ public class HuaTaiOrderApiServiceImpl implements HuaTaiOrderApiService {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @Description 更新支付状态和支付时间
|
|
|
- * @Author xingming
|
|
|
- * @Date 2024/3/28 16:49
|
|
|
- * @Param
|
|
|
- * @Return
|
|
|
- * @Exception
|
|
|
- *
|
|
|
- */
|
|
|
+ * @Description 更新支付状态和支付时间
|
|
|
+ * @Author xingming
|
|
|
+ * @Date 2024/3/28 16:49
|
|
|
+ * @Param
|
|
|
+ * @Return
|
|
|
+ * @Exception
|
|
|
+ */
|
|
|
@Override
|
|
|
public void paymentEnquiryNew(String companyId) {
|
|
|
InsAreaCompany insAreaCompany = insAreaCompanyService.getById(companyId);
|
|
|
@@ -784,7 +783,7 @@ public class HuaTaiOrderApiServiceImpl implements HuaTaiOrderApiService {
|
|
|
|
|
|
if (jqExistFlag || syExistFlag) {
|
|
|
//设置支付时间
|
|
|
- if(insAreaCompany.getPayDate()==null){
|
|
|
+ if (insAreaCompany.getPayDate() == null) {
|
|
|
insAreaCompany.setPayDate(LocalDateTime.now());
|
|
|
}
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|