소스 검색

代码修改

LAPTOP-KB9HII50\70708 1 년 전
부모
커밋
11752fc859
1개의 변경된 파일11개의 추가작업 그리고 6개의 파일을 삭제
  1. 11 6
      svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/consult/DoctorConsultEndpoint.java

+ 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="已挂号";
							mes="已挂号";
						}
						}
					}else if("xm_dsyy_wx".equals(wxId)){ //dsyy医院挂号
					}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";
							rsCode="0";
							mes="已挂号";
							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 {
					}else {
						if (demoFlag.equalsIgnoreCase("true")){
						if (demoFlag.equalsIgnoreCase("true")){