haungfuli há 1 ano atrás
pai
commit
b772afa784

+ 2 - 2
winsea-haixin-plugin-wangluohuoyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/util/EntityAnalyse.java

@@ -500,8 +500,8 @@ public class EntityAnalyse {
 
         //保险信息
         JSONObject insuranceInformation = new JSONObject();
-        insuranceInformation.put("policyNumber", orderInfo.getPolicyNo() != null ? orderInfo.getPolicyNo() : "none");
-        insuranceInformation.put("insuranceCompanyCode", orderInfo.getInsuranceCompanyCode() != null ? orderInfo.getInsuranceCompanyCode() : "none");
+        insuranceInformation.put("policyNumber", orderInfo.getPolicyNo() != null ? orderInfo.getPolicyNo() : "");
+        insuranceInformation.put("insuranceCompanyCode", orderInfo.getInsuranceCompanyCode() != null ? orderInfo.getInsuranceCompanyCode() : "");
         params.put("insuranceInformation", insuranceInformation);
 
         params.put("remark", orderInfo.getRemark() != null ? orderInfo.getRemark() : "");

+ 1 - 0
winsea-haixin-plugin-wangluohuoyun/src/main/resources/mapper/DriverInfoMapper.xml

@@ -189,6 +189,7 @@
         case when d.common_id is null then c.id else d.common_id end as commonId,
         d.driver_name as driverName,
         c.phone as driverPhone,
+        d.driver_sex as driverSex,
         d.number_card as numberCard,
         d.driver_birthday as driverBirthday,
         d.shipments_number as shipmentsNumber,