|
@@ -1,6 +1,7 @@
|
|
|
package com.ydtech.modules.order.service.impl;
|
|
package com.ydtech.modules.order.service.impl;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
+import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.ydtech.constants.InsuranceEnum;
|
|
import com.ydtech.constants.InsuranceEnum;
|
|
@@ -166,6 +167,18 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
String quoteNo = order.getQuoteno();
|
|
String quoteNo = order.getQuoteno();
|
|
|
List<InsTaskImagesBase64> insTaskImagesBase64List = insTaskImagesService.findByQuoteNoToBase64(quoteNo, ptlAgreementAttribution.getInsCompanyId());
|
|
List<InsTaskImagesBase64> insTaskImagesBase64List = insTaskImagesService.findByQuoteNoToBase64(quoteNo, ptlAgreementAttribution.getInsCompanyId());
|
|
|
crawlerQuoteRequest.setB64pho_list(CrawlerImageRequest.toB64phoListDTO(insTaskImagesBase64List));
|
|
crawlerQuoteRequest.setB64pho_list(CrawlerImageRequest.toB64phoListDTO(insTaskImagesBase64List));
|
|
|
|
|
+ crawlerQuoteRequest.setPricecoefficient(t.getPriceCoefficient() == null ? "1" : t.getPriceCoefficient());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 中煤添加netpointcode 代码
|
|
|
|
|
+ if (ptlAgreementAttribution.getInsCompanyId().equals("ZMBX1000000")){
|
|
|
|
|
+ JSONArray fields = ptlAgreementAttribution.getFields();
|
|
|
|
|
+ for(int k=0;k<fields.size();k++){
|
|
|
|
|
+ JSONObject jsonObject = fields.getJSONObject(k);
|
|
|
|
|
+ if("netpointcode".equals(jsonObject.getString("field"))){
|
|
|
|
|
+ crawlerQuoteRequest.setNetpointcode(jsonObject.getString("value"));
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 发送请求
|
|
// 发送请求
|