|
@ -2260,8 +2260,6 @@ public class XzzxEntranceService{
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
|
|
|
logger.info("getSettleInfo json:"+xml);
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
List<WlyyOutpatientDO> wlyyOutpatientDOS = outpatientDao.findByRegisterNoList(his_serial);
|
|
|
String outpatientId= null;
|
|
|
if (wlyyOutpatientDOS!=null&&wlyyOutpatientDOS.size()!=0){
|
|
@ -2269,9 +2267,8 @@ public class XzzxEntranceService{
|
|
|
}else {
|
|
|
throw new Exception("门诊信息为空!");
|
|
|
}
|
|
|
JSONArray array = JSONArray.parseArray(json).getJSONArray(0);
|
|
|
for (int i=0;i<array.size();i++){
|
|
|
JSONObject object = array.getJSONObject(i);
|
|
|
JSONObject object = JSONObject.parseObject(xml);
|
|
|
if(!object.getString("ret_code").equalsIgnoreCase("-1")){
|
|
|
YlzMedicalRelationDO ylzMedicalRelationDO = ylzMedicailRelationDao.findByLog_no(object.getString("log_no"));
|
|
|
if (ylzMedicalRelationDO==null){
|
|
|
ylzMedicalRelationDO = new YlzMedicalRelationDO();
|
|
@ -2612,9 +2609,7 @@ public class XzzxEntranceService{
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
|
|
|
logger.info("confirmSettle json:"+xml);
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
return json;
|
|
|
return xml;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -2660,10 +2655,7 @@ public class XzzxEntranceService{
|
|
|
logger.info("getRecipeInfo params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
|
|
|
logger.info("getRecipeInfo json:"+xml);
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
return json;
|
|
|
return xml;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -2724,10 +2716,7 @@ public class XzzxEntranceService{
|
|
|
logger.info("confirmSettle params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
|
|
|
logger.info("confirmSettle json:"+xml);
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
return json;
|
|
|
return xml;
|
|
|
}
|
|
|
|
|
|
//=====================微信模板消息推送接口================================
|