Commit 4b75d846 authored by hongguangwu's avatar hongguangwu

MVP1.7.3-shuiyou 优化商险报错

parent d9c53b3a
...@@ -2364,19 +2364,21 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -2364,19 +2364,21 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
* @return {@link String} * @return {@link String}
*/ */
private String getBuyType(Integer buyType){ private String getBuyType(Integer buyType){
String result; String result = "";
switch (buyType){ if (Common.isNotNull(buyType)) {
case 1: switch (buyType) {
result = "新增"; case 1:
break; result = "新增";
case 3: break;
result = "批增"; case 3:
break; result = "批增";
case 4: break;
result = "替换"; case 4:
break; result = "替换";
default: break;
result = ""; default:
result = "";
}
} }
return result; return result;
} }
...@@ -2467,7 +2469,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -2467,7 +2469,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
ekpUpdateParam.setFd_3b5bf0b7b4c058(sb.toString()); ekpUpdateParam.setFd_3b5bf0b7b4c058(sb.toString());
eKPInsuranceUtil.sendUpdateToEkp(ekpUpdateParam); eKPInsuranceUtil.sendUpdateToEkp(ekpUpdateParam);
}catch (Exception e){ }catch (Exception e){
log.error("pushEkp error updateInsuranceInsured:",e.getMessage()); log.error("pushEkp error updateInsuranceInsured:", e);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment