|
@ -274,19 +274,19 @@ public class SmjkService {
|
|
|
{
|
|
|
Map<String,String> params = new HashMap<>();
|
|
|
String xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>\n" +
|
|
|
"<id_card>"+idcard+"</id_card>\n" +
|
|
|
"<patient_name>"+patientName+"</patient_name>\n" +
|
|
|
"<ssid>"+ssid+"</ssid>\n" +
|
|
|
"<section_type>"+sectionType+"</section_type>\n" +
|
|
|
"<start_time>"+startTime+"</start_time>\n" +
|
|
|
"<org_code>"+orgCode+"</org_code>\n" +
|
|
|
"<dept_code>"+deptCode+"</dept_code>\n" +
|
|
|
"<dept_name>"+deptName+"</dept_name>\n" +
|
|
|
"<doctor_code>"+doctorCode+"</doctor_code>\n" +
|
|
|
"<doctor_name>"+doctorName+"</doctor_name>\n";
|
|
|
"<root>" +
|
|
|
"<id_card>"+idcard+"</id_card>" +
|
|
|
"<patient_name>"+patientName+"</patient_name>" +
|
|
|
"<ssid>"+ssid+"</ssid>" +
|
|
|
"<section_type>"+sectionType+"</section_type>" +
|
|
|
"<start_time>"+startTime+"</start_time>" +
|
|
|
"<org_code>"+orgCode+"</org_code>" +
|
|
|
"<dept_code>"+deptCode+"</dept_code>" +
|
|
|
"<dept_name>"+deptName+"</dept_name>" +
|
|
|
"<doctor_code>"+doctorCode+"</doctor_code>" +
|
|
|
"<doctor_name>"+doctorName+"</doctor_name>";
|
|
|
if(!StringUtil.isEmpty(patientPhone)) {
|
|
|
xml += "<patient_phone>" + patientPhone + "</patient_phone>\n" +
|
|
|
xml += "<patient_phone>" + patientPhone + "</patient_phone>" +
|
|
|
"</root>";
|
|
|
}
|
|
|
else{
|
|
@ -300,7 +300,7 @@ public class SmjkService {
|
|
|
params.put("strCondition",api.encodeParam(key,xml));
|
|
|
params.put("strCredential",api.encodeParam(key,"<root><org code=\"jtqy\" /><visitor type=\"0\" code=\"jtqy\" key=\"jtqy\" /></root>"));
|
|
|
params.put("strKey",key.getKey());
|
|
|
|
|
|
|
|
|
String response = postSecondSMJK("urp/WebRegisterByFamily","确认预约接口",params,false);
|
|
|
|
|
|
return response;
|