wks 2 роки тому
батько
коміт
a3fa79305b

+ 1 - 1
src/main/java/com/ydtech/constants/InsuranceEnum.java

@@ -38,7 +38,7 @@ public enum InsuranceEnum {
     DBIC("DBIC", "都邦财产保险股份有限公司", ""),
     DHIC("DHIC", "鼎和财产保险股份有限公司", ""),
     DICC("DICC", "史带财产保险股份有限公司", ""),
-    DJPC("DJPC", "大家财产保险有限责任公司", ""),
+    DJPC("DJPC", "大家财产保险有限责任公司", "dajia"),
     EAIC("EAIC", "易安财产保险股份有限公司", ""),
     FPIC("FPIC", "富邦财产保险有限公司", ""),
     GPIC("GPIC", "中国人寿财产保险股份有限公司", "renshou"),

+ 1 - 1
src/main/java/com/ydtech/modules/order/components/dajia/DaJiaRequestApiComponents.java

@@ -68,7 +68,7 @@ public class DaJiaRequestApiComponents {
         HttpEntity<String> httpEntity = new HttpEntity<>(encrypt, httpHeaders);
         ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.POST,  httpEntity, String.class);
         String body = response.getBody();
-        InsuranceLog.infoLog(InsuranceEnum.AICS.getPinyin(), "\n\n---------> 响应参数:{}", body);
+        InsuranceLog.infoLog(InsuranceEnum.DJPC.getPinyin(), "\n\n---------> 响应参数:{}", body);
         if(ObjectUtils.isEmpty(body)){
             throw new SystemException("请求失败");
         }

+ 0 - 1
src/main/java/com/ydtech/modules/protocol/service/impl/PtlInsAttributionTemplateServiceImpl.java

@@ -93,7 +93,6 @@ public class PtlInsAttributionTemplateServiceImpl extends ServiceImpl<PtlInsAttr
         PtlInsAttributionTemplateQueryDto ptlInsAttributionTemplateQueryDto = new PtlInsAttributionTemplateQueryDto();
         BeanUtils.copyProperties(ptlInsAttributionTemplate, ptlInsAttributionTemplateQueryDto);
 
-        BeanUtils.copyProperties(ptlInsAttributionTemplate, ptlInsAttributionTemplateQueryDto);
         if (PtlApiType.PTL_API_2.getCode() == ptlInsAttributionTemplate.getApiType()) {
             List<PtlCrawlerApi> ptlCrawlerApiList = ptlCrawlerApiService.getByTemplateIdList(id);
             ptlInsAttributionTemplateQueryDto.setApi(ptlCrawlerApiList);