LAPTOP-KB9HII50\70708 1 éve
szülő
commit
11752fc859

+ 11 - 6
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/consult/DoctorConsultEndpoint.java

@ -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")){