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