Browse Source

修改bug

wangzhinan 5 months ago
parent
commit
1ebfcd87d7

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

@ -1076,6 +1076,8 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
			result.put("imgConsultCount",prescriptionService.getWaitVideoCount(doctor,"1","3",wxId));//图文咨询数量
			result.put("videoConsultCount",prescriptionService.getWaitVideoCount(doctor,"2","3",wxId));//视频咨询数量
			result.put("homeConsultCount",prescriptionService.getWaitVideoCount(doctor,"3","3",wxId));//家医咨询数量
			result.put("nursingConsultCount",prescriptionService.getWaitVideoCount(doctor,"1","5",wxId));//护理咨询
			result.put("recoveryConsultCount",prescriptionService.getWaitVideoCount(doctor,"1","4",wxId));//护理咨询
			if ("sd_tnzyy_wx".equalsIgnoreCase(wxId)){
				result.put("doorServiceCount",prescriptionService.waitUpdoorCount(doctor));//上门服务数量
			}

+ 1 - 1
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/prescription/PrescriptionEndpoint.java

@ -615,7 +615,7 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
    try {
            WlyyOutpatientDO wlyyOutpatientDO = prescriptionService.appointmentRevisit(outpatientJson, expressageJson, registerJson, chargeType);
            if (wlyyOutpatientDO != null && null == wlyyOutpatientDO.getId() && !wlyyOutpatientDO.getOutpatientType().equalsIgnoreCase("3")
                    && !wlyyOutpatientDO.getOutpatientType().equalsIgnoreCase("4")) {
                    && !wlyyOutpatientDO.getOutpatientType().equalsIgnoreCase("4") && !wlyyOutpatientDO.getOutpatientType().equalsIgnoreCase("5")) {
                ObjEnvelop objEnvelop = new ObjEnvelop();
                String msg = "";
                if (1 == wlyyOutpatientDO.getRemindCount()) {