|
@ -291,14 +291,19 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
|
|
|
mes="已挂号";
|
|
|
}
|
|
|
}else if("xm_dsyy_wx".equals(wxId)){ //dsyy医院挂号
|
|
|
if (!outpatientDO.getOutpatientType().equalsIgnoreCase("2")&&!outpatientDO.getOutpatientType().equalsIgnoreCase("3")
|
|
|
&&!outpatientDO.getOutpatientType().equalsIgnoreCase("4")){
|
|
|
JSONObject res = dsyyPrescriptionService.registerOutPatient(outpatientCode,doctorCode);
|
|
|
rsCode = res.getString("@RESULT");
|
|
|
mes = res.getString("@MSG");
|
|
|
}else {
|
|
|
if (demoFlag.equalsIgnoreCase("true")){
|
|
|
rsCode="0";
|
|
|
mes="已挂号";
|
|
|
}else {
|
|
|
if (!outpatientDO.getOutpatientType().equalsIgnoreCase("2")&&!outpatientDO.getOutpatientType().equalsIgnoreCase("3")
|
|
|
&&!outpatientDO.getOutpatientType().equalsIgnoreCase("4")){
|
|
|
JSONObject res = dsyyPrescriptionService.registerOutPatient(outpatientCode,doctorCode);
|
|
|
rsCode = res.getString("@RESULT");
|
|
|
mes = res.getString("@MSG");
|
|
|
}else {
|
|
|
rsCode="0";
|
|
|
mes="已挂号";
|
|
|
}
|
|
|
}
|
|
|
}else {
|
|
|
if (demoFlag.equalsIgnoreCase("true")){
|