|
@ -112,7 +112,7 @@ public class ResourceRpcImpl implements IResourceRpc {
|
|
|
"\"V\"=\"3.0.0\"," +
|
|
|
"\"OutType\"=0n ," +
|
|
|
"\"HospitalId\"=\""+hospitalId+"\"}";
|
|
|
Object s = RPCUtil.getRPCData("ZEUS.HosHOPWs.QueryUserInfo", apiparam);
|
|
|
Object s = RPCUtil.getRPCData("user.UserApi.QueryUserInfo\n", apiparam);
|
|
|
//解析xml
|
|
|
SAXReader saxReader = new SAXReader();
|
|
|
Document document = saxReader.read(s.toString());
|
|
@ -149,7 +149,7 @@ public class ResourceRpcImpl implements IResourceRpc {
|
|
|
private void pushreport(String reportType, String reportId, String cardNo, String cardType, String hospitalId) throws Exception {
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
|
|
|
String data =
|
|
|
"<Req><TransactionCode>5001</TransactionCode><Data><ReportId>" + reportId + "</ReportId><ReportType>" + reportType + "</ReportType></Data></Req>";
|
|
|
"<Req><TransactionCode>5001</TransactionCode><Data><CardNo>"+cardNo+"</CardNo><ReportId>" + reportId + "</ReportId><ReportType>" + reportType + "</ReportType></Data></Req>";
|
|
|
String apiparam = "{\"ChannelId\"=\"\"+Config.channelId+\"\"," +
|
|
|
"\"ParamType\"=1," +
|
|
|
"\"Params\"=\"" + data + "\"," +
|