|
|
@@ -4,14 +4,18 @@ import com.alibaba.fastjson2.JSON;
|
|
|
import com.alibaba.fastjson2.JSONObject;
|
|
|
import com.google.gson.Gson;
|
|
|
import com.jzg.commons.constants.dict.InsOrderStatusEnum;
|
|
|
+import com.jzg.commons.core.page.HttpResult;
|
|
|
import com.jzg.commons.entity.orders.po.InsOrdersCarUserInfo;
|
|
|
+import com.jzg.commons.entity.po.SysUploadFiles;
|
|
|
import com.jzg.commons.entity.quote.vo.*;
|
|
|
import com.jzg.commons.entity.quote.vo.aggregated.*;
|
|
|
import com.jzg.commons.entity.quote.vo.base.LoginBase;
|
|
|
import com.jzg.commons.entity.quote.vo.image.InsuranceImageVo;
|
|
|
import com.jzg.commons.entity.vo.InsTaskImagesVo;
|
|
|
+import com.jzg.commons.util.MinioUtils;
|
|
|
import com.jzg.commons.util.idgen.IdGenerate;
|
|
|
import com.jzg.quotation.commons.annotation.QuoteCrawlerService;
|
|
|
+import com.jzg.quotation.commons.client.PlatformClient;
|
|
|
import com.jzg.quotation.commons.constant.InsuranceCode;
|
|
|
import com.jzg.quotation.taikang.crawler.JsonUtil;
|
|
|
import com.jzg.quotation.taikang.crawler.cache.RedisCacheUtil;
|
|
|
@@ -26,6 +30,7 @@ import com.jzg.quotation.taikang.crawler.service.TKQuotationBaseService;
|
|
|
import com.jzg.quotation.taikang.crawler.service.TKSimpleService;
|
|
|
import io.micrometer.core.instrument.simple.SimpleConfig;
|
|
|
import jakarta.annotation.Resource;
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
import org.redisson.api.RBucket;
|
|
|
import org.redisson.api.RedissonClient;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -39,6 +44,7 @@ import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
@QuoteCrawlerService(value = InsuranceCode.INSURANCE_TKIC)
|
|
|
+@RequiredArgsConstructor
|
|
|
public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
|
|
|
@Autowired
|
|
|
@@ -63,6 +69,8 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
private final String intermediaryName = "泰康人寿(个险)(64827)";
|
|
|
private static final String SESSION = "SESSION";
|
|
|
|
|
|
+ private final PlatformClient platformClient;
|
|
|
+
|
|
|
@Resource
|
|
|
private RedisCacheUtil redisCacheUtil;
|
|
|
|
|
|
@@ -95,7 +103,7 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
// String response = JSONObject.toJSONString(session);
|
|
|
// RBucket<String> bucket = redissonClient.getBucket(SESSION + username);
|
|
|
// bucket.set(response, Duration.ofHours(3L));
|
|
|
- redisCacheUtil.setSessionCache(session,username);
|
|
|
+ redisCacheUtil.setSessionCache(session, username);
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -119,7 +127,7 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
// # 申请获取到保单唯一id,后续的所有请求都是对此保单id进行的请求
|
|
|
String mainOrderId = tkSimpleService.newOrderId(session);
|
|
|
//缓存订单号
|
|
|
- redisCacheUtil.setCache(mainOrderId,commonQuoteVo.getOrder().getOrdersNo(),"DD");
|
|
|
+ redisCacheUtil.setCache(mainOrderId, commonQuoteVo.getOrder().getOrdersNo(), "DD");
|
|
|
|
|
|
|
|
|
// 查询代理机构
|
|
|
@@ -224,7 +232,7 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
quoteResultsVo.getCosts().setNiPremium(preciseInitResult.getDriverAccidentVo().getPremium().toString());
|
|
|
quoteResultsVo.setQuoteStatusEnum(InsOrderStatusEnum.WAIT_AUDIT);
|
|
|
//缓存报价书据数据
|
|
|
- redisCacheUtil.setPreciseInitResult(preciseInitResult,quoteResultsVo.getOrdersNo());
|
|
|
+ redisCacheUtil.setPreciseInitResult(preciseInitResult, quoteResultsVo.getOrdersNo());
|
|
|
|
|
|
return quoteResultsVo;
|
|
|
}
|
|
|
@@ -237,7 +245,7 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
// .getOrdersNo());
|
|
|
// RBucket<String> bucket1 = redissonClient.getBucket(underwritingVo.getOrder().getOrdersNo());
|
|
|
// PreciseInitResult preciseInitResult = JSON.parseObject(bucket1.get(), PreciseInitResult.class);
|
|
|
- PreciseInitResult preciseInitResult =redisCacheUtil.getPreciseInitResult(underwritingVo.getOrder().getOrdersNo());
|
|
|
+ PreciseInitResult preciseInitResult = redisCacheUtil.getPreciseInitResult(underwritingVo.getOrder().getOrdersNo());
|
|
|
|
|
|
// 保存报价,保存后不能再修改报价。
|
|
|
tkSimpleService.orderQuoteSave(session, preciseInitResult.getMainOrderId());
|
|
|
@@ -256,7 +264,7 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
String checkCarFlag = tkEntranceFor000038Result.getCheckCarFlag();
|
|
|
TKOrderData tkOrderData = tkEntranceFor000038Result.getData();
|
|
|
//核保成功,保单编号缓存
|
|
|
- redisCacheUtil.setCache(tkOrderData.getProposalNo(),underwritingVo.getOrder().getOrdersNo(),"HB");
|
|
|
+ redisCacheUtil.setCache(tkOrderData.getProposalNo(), underwritingVo.getOrder().getOrdersNo(), "HB");
|
|
|
String resultType = tkOrderData.getResultType();
|
|
|
//
|
|
|
// if (checkCarFlag != null && checkCarFlag.equals("1") || !resultType.equals("自核通过")) {
|
|
|
@@ -340,10 +348,9 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
@Override
|
|
|
public void uploadImage(InsuranceUploadImageVo insuranceUploadImageVo) {
|
|
|
- File file = null;
|
|
|
+
|
|
|
CarCheckUploadFileParam param = new CarCheckUploadFileParam();
|
|
|
TKLoginSession session = login("Tgengchenjie", "Gcj123456#");
|
|
|
//泰康订单
|
|
|
@@ -357,144 +364,173 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
param.setFullProposalNo(proposalNo);
|
|
|
param.setLastFullProposalNo("");
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
- param.setInputDate(dateFormat.format(new Date()));
|
|
|
+ Date date = new Date();
|
|
|
+ param.setInputDate(dateFormat.format(date));
|
|
|
param.setImgType(6);
|
|
|
param.setUploadType(1);
|
|
|
|
|
|
List<InsuranceImageVo> imageVoList = insuranceUploadImageVo.getImageVoList();
|
|
|
- imageVoList.forEach(s->{
|
|
|
- List<InsuranceImageVo.ImageDTO> imageBase64List = s.getImageBase64List();
|
|
|
- imageBase64List.forEach(c->{
|
|
|
-
|
|
|
- });
|
|
|
-
|
|
|
+ imageVoList.forEach(s -> {
|
|
|
+ //C01行驶证正面,C02车主身份证正面,D01行驶证反面
|
|
|
+ String imageCode = s.getImageCode();
|
|
|
+ if ("C01".equals(imageCode) || "D01".equals(imageCode)) {
|
|
|
+ List<InsuranceImageVo.ImageDTO> imageBase64List = s.getImageBase64List();
|
|
|
+ imageBase64List.forEach(c -> {
|
|
|
+ String imageId = c.getImageId();
|
|
|
+ SysUploadFiles sysUploadFiles = platformClient.getUploadFile(imageId);
|
|
|
+ String url = MinioUtils.getPresignedObjectUrl("jzg", sysUploadFiles.getFileName());
|
|
|
+ File file = new File(url);
|
|
|
+ param.setTypePath("01-15-01");
|
|
|
+ String info = "1fileOrgName" + param.getTypePath() + date.getTime() + "0";
|
|
|
+ param.setFileOrgName(info);
|
|
|
+ param.setTypeName("投保业务-车辆证件-行驶证");
|
|
|
+ param.setOnlyId("投保业务-车辆证件-行驶证-0");
|
|
|
+ param.setFileType(info);
|
|
|
+ httpService.carCheckUploadFile(file, param);
|
|
|
+ });
|
|
|
+
|
|
|
+ } else if ("C02".equals(imageCode)) {
|
|
|
+ List<InsuranceImageVo.ImageDTO> imageBase64List = s.getImageBase64List();
|
|
|
+ imageBase64List.forEach(c -> {
|
|
|
+ String imageId = c.getImageId();
|
|
|
+ SysUploadFiles sysUploadFiles = platformClient.getUploadFile(imageId);
|
|
|
+ String jzgTouXiang = MinioUtils.getPresignedObjectUrl("jzg", sysUploadFiles.getFileName());
|
|
|
+ File file = new File(jzgTouXiang);
|
|
|
+ param.setTypePath("01-14-01");
|
|
|
+ String info = "1fileOrgName" + param.getTypePath() + date.getTime() + "0";
|
|
|
+ param.setFileOrgName(info);
|
|
|
+ param.setTypeName("投保业务-证件照-证件照");
|
|
|
+ param.setOnlyId("投保业务-证件照-证件照-0");
|
|
|
+ param.setFileType(info);
|
|
|
+ httpService.carCheckUploadFile(file, param);
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
- {
|
|
|
- // 核保资料 / 新增设备发票与清单
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-12-01");
|
|
|
- param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
- param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 核保资料 / 投保资料 / 图片
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-12-01");
|
|
|
- param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
- param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 核保资料 / 投保资料 / 视频
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-12-01");
|
|
|
- param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
- param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 核保资料 / 减免税凭证
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-12-01");
|
|
|
- param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
- param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 核保资料 / 委托书
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-12-01");
|
|
|
- param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
- param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 证件照 / 证件照
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-14-01");
|
|
|
- param.setTypeName("投保业务-证件照-证件照");
|
|
|
- param.setOnlyId("投保业务-证件照-证件照-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 证件照 / 驾驶证
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-14-02");
|
|
|
- param.setTypeName("投保业务-证件照-驾驶证");
|
|
|
- param.setOnlyId("投保业务-证件照-驾驶证-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 证件照 / 人脸与身份证照
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-14-03");
|
|
|
- param.setTypeName("投保业务-证件照-人脸与身份证照");
|
|
|
- param.setOnlyId("投保业务-证件照-人脸与身份证照-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 车辆证件 / 行驶证
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-15-01");
|
|
|
- param.setTypeName("投保业务-车辆证件-行驶证");
|
|
|
- param.setOnlyId("投保业务-车辆证件-行驶证-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 车辆证件 / 购车发票
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-15-02");
|
|
|
- param.setTypeName("投保业务-车辆证件-购车发票");
|
|
|
- param.setOnlyId("投保业务-车辆证件-购车发票-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 车辆证件 / 合格证
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-15-03");
|
|
|
- param.setTypeName("投保业务-车辆证件-合格证");
|
|
|
- param.setOnlyId("投保业务-车辆证件-合格证-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 业务单证 / 投保单
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-17-01");
|
|
|
- param.setTypeName("投保业务-业务单证-投保单");
|
|
|
- param.setOnlyId("投保业务-业务单证-投保单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 业务单证 / 免责事项说明书
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-17-02");
|
|
|
- param.setTypeName("投保业务-业务单证-免责事项说明书");
|
|
|
- param.setOnlyId("投保业务-业务单证-免责事项说明书-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 业务单证 / 浮动告知单
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-17-03");
|
|
|
- param.setTypeName("投保业务-业务单证-浮动告知单");
|
|
|
- param.setOnlyId("投保业务-业务单证-浮动告知单-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
- {
|
|
|
- // 其他资料 / 其他资料
|
|
|
- param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
- param.setTypePath("01-18-01");
|
|
|
- param.setTypeName("投保业务-其他资料-其他资料");
|
|
|
- param.setOnlyId("投保业务-其他资料-其他资料-0");
|
|
|
- param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
- }
|
|
|
+// {
|
|
|
+// // 核保资料 / 新增设备发票与清单
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-12-01");
|
|
|
+// param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
+// param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 核保资料 / 投保资料 / 图片
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-12-01");
|
|
|
+// param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
+// param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 核保资料 / 投保资料 / 视频
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-12-01");
|
|
|
+// param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
+// param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 核保资料 / 减免税凭证
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-12-01");
|
|
|
+// param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
+// param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 核保资料 / 委托书
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-12-01");
|
|
|
+// param.setTypeName("投保业务-核保资料-新增设备发票与清单");
|
|
|
+// param.setOnlyId("投保业务-核保资料-新增设备发票与清单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 证件照 / 人像证件照
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-14-01");
|
|
|
+// param.setTypeName("投保业务-证件照-证件照");
|
|
|
+// param.setOnlyId("投保业务-证件照-证件照-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 证件照 / 驾驶证
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-14-02");
|
|
|
+// param.setTypeName("投保业务-证件照-驾驶证");
|
|
|
+// param.setOnlyId("投保业务-证件照-驾驶证-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 证件照 / 人脸与身份证照
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-14-03");
|
|
|
+// param.setTypeName("投保业务-证件照-人脸与身份证照");
|
|
|
+// param.setOnlyId("投保业务-证件照-人脸与身份证照-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 车辆证件 / 行驶证
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-15-01");
|
|
|
+// param.setTypeName("投保业务-车辆证件-行驶证");
|
|
|
+// param.setOnlyId("投保业务-车辆证件-行驶证-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 车辆证件 / 购车发票
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-15-02");
|
|
|
+// param.setTypeName("投保业务-车辆证件-购车发票");
|
|
|
+// param.setOnlyId("投保业务-车辆证件-购车发票-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 车辆证件 / 合格证
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-15-03");
|
|
|
+// param.setTypeName("投保业务-车辆证件-合格证");
|
|
|
+// param.setOnlyId("投保业务-车辆证件-合格证-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 业务单证 / 投保单
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-17-01");
|
|
|
+// param.setTypeName("投保业务-业务单证-投保单");
|
|
|
+// param.setOnlyId("投保业务-业务单证-投保单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 业务单证 / 免责事项说明书
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-17-02");
|
|
|
+// param.setTypeName("投保业务-业务单证-免责事项说明书");
|
|
|
+// param.setOnlyId("投保业务-业务单证-免责事项说明书-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 业务单证 / 浮动告知单
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-17-03");
|
|
|
+// param.setTypeName("投保业务-业务单证-浮动告知单");
|
|
|
+// param.setOnlyId("投保业务-业务单证-浮动告知单-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
+// {
|
|
|
+// // 其他资料 / 其他资料
|
|
|
+// param.setFileOrgName("1fileOrgName01-12-0117429775996580");
|
|
|
+// param.setTypePath("01-18-01");
|
|
|
+// param.setTypeName("投保业务-其他资料-其他资料");
|
|
|
+// param.setOnlyId("投保业务-其他资料-其他资料-0");
|
|
|
+// param.setFileType("1fileOrgName01-12-0117429775996580");
|
|
|
+// }
|
|
|
|
|
|
|
|
|
- httpService.carCheckUploadFile(file, param);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -556,11 +592,11 @@ public class TKQuotationBaseServiceImpl implements TKQuotationBaseService {
|
|
|
OrderStatusResultVo orderStatusResultVo = new OrderStatusResultVo();
|
|
|
if (orderStatus.equals("A1")) {
|
|
|
orderStatusResultVo.setOrderStatus(InsOrderStatusEnum.WAIT_AUDIT);
|
|
|
- }else if (orderStatus.equals("D")){
|
|
|
+ } else if (orderStatus.equals("D")) {
|
|
|
orderStatusResultVo.setOrderStatus(InsOrderStatusEnum.PAY_PENDING);
|
|
|
- }else if (orderStatus.equals("E")){
|
|
|
+ } else if (orderStatus.equals("E")) {
|
|
|
orderStatusResultVo.setOrderStatus(InsOrderStatusEnum.UNDERWRITED);
|
|
|
- }else if (orderStatus.equals("X")){
|
|
|
+ } else if (orderStatus.equals("X")) {
|
|
|
orderStatusResultVo.setOrderStatus(InsOrderStatusEnum.ORDER_CLOSE);
|
|
|
}
|
|
|
String proposalNoCI = tkEntranceFor000086Result.getQuotationNoCI();
|