Jelajahi Sumber

Merge remote-tracking branch 'origin/dev_jzg_lipf_v20260506' into dev_jzg_lipf_v20260506

lipf 4 bulan lalu
induk
melakukan
8b1481a331

+ 2 - 2
tenant/insurance/quotation-bohai/src/main/java/com/jzg/quotation/bohai/api/entity/request/QuotationRequest.java

@@ -107,8 +107,8 @@ public class QuotationRequest extends BoHaiBaseRequest {
         private String copies;
 
         public UnAutoDTO(AccidentalDrivingVo accidentalDrivingVo) {
-            this.productCode = accidentalDrivingVo.getProductCode();
-            this.packageCode = accidentalDrivingVo.getProductCategoryCode();
+            this.productCode = accidentalDrivingVo.getRiskCode();
+            this.packageCode = accidentalDrivingVo.getProductCode();
             this.copies = String.valueOf(accidentalDrivingVo.getQuantity());
         }
     }

+ 1 - 1
tenant/insurance/quotation-summary/src/main/java/com/jzg/quotation/summary/controller/UnifyOrderManager.java

@@ -236,7 +236,7 @@ public class UnifyOrderManager {
 
 
         HttpResult<List<PtlAgreement>> byCompanyId = orgClient.getByCompanyId(esmInsCompanyHttpResult.getData().getId(), systemCode);
-        if (byCompanyId.getData().isEmpty()) {
+        if (CollUtil.isEmpty(byCompanyId.getData())) {
             AssertionUtils.isFail(true, "保司未配置协议");
         }
         PtlAgreement ptlAgreement = byCompanyId.getData().stream().filter(x -> x.getId().equals(quoteVo.getOrder().getAgreementId())).findFirst().orElse(null);