|
@ -2004,6 +2004,51 @@ public class DsyyEntranceService {
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 16结算结果查询
|
|
|
* @param cardNo
|
|
|
* @param outChargeNo
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String queryMedicalPay(String cardNo,String outChargeNo) throws Exception{
|
|
|
String api = "query_medical_pay";
|
|
|
String msgHeader ="<?xml version=\"1.0\" encoding=\"utf-8\"?> " +
|
|
|
"<root> " +
|
|
|
" <serverName>"+api+"</serverName> " +
|
|
|
" <format>xml</format>" +
|
|
|
" <callOperator>"+operate+"</callOperator> " +
|
|
|
" <certificate>"+key+"</certificate> " +
|
|
|
" <orgCode>01</orgCode> " +
|
|
|
"</root>";
|
|
|
String condition ="";
|
|
|
JSONObject object = new JSONObject();
|
|
|
if (StringUtils.isNoneBlank(cardNo)){
|
|
|
object.put("cardNo",cardNo);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(outChargeNo)){
|
|
|
object.put("outChargeNo",outChargeNo);
|
|
|
}
|
|
|
condition = object.toJSONString();
|
|
|
String msgBody =condition;
|
|
|
Map<String,String> params = new HashedMap();
|
|
|
params.put("msgHeader",msgHeader);
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("query_medical_pay params:"+params.toString());
|
|
|
String xml = getDsyyWebServiceInfo("CallInterface",params,getOperateUrl());
|
|
|
WlyyHttpLogDO wlyyHttpLogDO = new WlyyHttpLogDO();
|
|
|
wlyyHttpLogDO.setRequest(params.toString());
|
|
|
wlyyHttpLogDO.setCode("query_medical_pay");
|
|
|
wlyyHttpLogDO.setName("3.16结算结果查询");
|
|
|
wlyyHttpLogDO.setResponse(xml);
|
|
|
wlyyHttpLogDO.setCreateTime(new Date());
|
|
|
wlyyHttpLogDao.save(wlyyHttpLogDO);
|
|
|
logger.info(" query_medical_pay json:"+xml);
|
|
|
return xml;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 查询院内卡列表
|
|
|
*
|