|
@@ -266,14 +266,16 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
if (rr.getHead().getErrorCode().equals("009999") && errorMsg.contains("重复投保")) {
|
|
if (rr.getHead().getErrorCode().equals("009999") && errorMsg.contains("重复投保")) {
|
|
|
// 商业险
|
|
// 商业险
|
|
|
- boolean appSYFlag = "Y".equals(m.getRequestLabel().getCondition().getBase().getAppSYFlag());
|
|
|
|
|
|
|
+ boolean appSYFlag = false;
|
|
|
// 交强险
|
|
// 交强险
|
|
|
- boolean cAppJqFlag = "Y".equals(m.getRequestLabel().getCondition().getBase().getCAppJqFlag());
|
|
|
|
|
|
|
+ boolean cAppJqFlag = false;
|
|
|
|
|
|
|
|
if (errorMsg.contains("机动车综合商业保险")) {
|
|
if (errorMsg.contains("机动车综合商业保险")) {
|
|
|
- cAppJqFlag = false;
|
|
|
|
|
- } else if (errorMsg.contains("机动车交通事故强制险")) {
|
|
|
|
|
- appSYFlag = false;
|
|
|
|
|
|
|
+ appSYFlag = true;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if (errorMsg.contains("机动车交通事故强制险")) {
|
|
|
|
|
+ appSYFlag = true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//处理返回信息
|
|
//处理返回信息
|