wks 2 år sedan
förälder
incheckning
1267982581

+ 2 - 1
src/main/java/com/ydtech/modules/order/entity/api/bohai/response/UnderwritingResponse.java

@@ -183,9 +183,10 @@ public class UnderwritingResponse extends BoHaiBaseResponse {
             @JsonProperty("resultMsg")
             @JsonProperty("resultMsg")
             private String resultMsg;
             private String resultMsg;
 
 
+            private static final String MESSAGES = "核保成功";
 
 
             public DrivingInsuranceDto toDrivingInsuranceDto() {
             public DrivingInsuranceDto toDrivingInsuranceDto() {
-                if (StringUtils.isNotEmpty(this.getResultMsg())) {
+                if (!MESSAGES.equals(this.getResultMsg())) {
                     throw new SystemException(this.getResultMsg());
                     throw new SystemException(this.getResultMsg());
                 }
                 }