|
@ -1020,6 +1020,7 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
logger.info("checkWlyyDoctor EHCVerify :"+rs);
|
|
|
if (rs!=null&&rs!=""){
|
|
|
JSONObject ehc = JSONObject.parseObject(rs);
|
|
|
|
|
|
if (ehc.getString("ret_code").equalsIgnoreCase("0000")){
|
|
|
JSONObject biz = ehc.getJSONObject("biz_content");
|
|
|
String cardNo = biz.getString("card_no");
|
|
@ -1028,8 +1029,10 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
}else {
|
|
|
return null;
|
|
|
}
|
|
|
}if (ehc.getString("ret_code").equalsIgnoreCase("2006")){
|
|
|
throw new Exception(ehc.getString("ret_msg")+"请重新刷新电子健康卡");
|
|
|
}else {
|
|
|
return null;
|
|
|
throw new Exception(ehc.getString("ret_msg")+"请重新刷新电子健康卡");
|
|
|
}
|
|
|
}else {
|
|
|
return null;
|