| 
					
				 | 
			
			
				@ -394,8 +394,10 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					@ApiOperation(value = "查询医生所有可抢单的数量", notes = "查询医生所有可抢单的数量") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					public Envelop findWaitingRoomOutpatientNumberByDoctor( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							@ApiParam(name = "doctor", value = "医生CODE",defaultValue = "1cd15ffe6b3a11e69f7c005056850d66") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							@RequestParam(value = "doctor",required = true) String doctor){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						return success("请求成功",prescriptionService.findWaitingRoomOutpatientNumberByDoctor(doctor)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							@RequestParam(value = "doctor",required = true) String doctor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							@ApiParam(name = "dept", value = "部门CODE",defaultValue = "") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							@RequestParam(value = "dept",required = true) String dept){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						return success("请求成功",prescriptionService.findWaitingRoomOutpatientNumberByDoctor(doctor,dept)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -459,10 +461,10 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("videoCount",waitVideoCount+_videoOnlineCount);//视频复诊数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("xtCount",0);//协同门诊候诊数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject resultPick = prescriptionService.findWaitingRoomOutpatientNumberByDoctor(doctor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("imgPickCount",resultPick.getIntValue("twCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("videoPickCount",resultPick.getIntValue("spCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("xtPickCount",resultPick.getIntValue("xtCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		JSONObject resultPick = prescriptionService.findWaitingRoomOutpatientNumberByDoctor(doctor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		result.put("imgPickCount",resultPick.getIntValue("twCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		result.put("videoPickCount",resultPick.getIntValue("spCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		result.put("xtPickCount",resultPick.getIntValue("xtCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						return success("请求成功",result); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -517,9 +519,11 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					@GetMapping(value = BaseHospitalRequestMapping.DodtorIM.doctorPickCount) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					@ApiOperation(value = "医生端:可抢单数量", notes = "医生端:可抢单数量") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					public Envelop doctorPickCount(@ApiParam(name = "doctor", value = "医生CODE") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					                                        @RequestParam(value = "doctor",required = true) String doctor){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					                                        @RequestParam(value = "doctor",required = true) String doctor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					                               @ApiParam(name = "dept", value = "部门") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					                               @RequestParam(value = "dept",required = true) String dept){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject resultPick = prescriptionService.findWaitingRoomOutpatientNumberByDoctor(doctor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject resultPick = prescriptionService.findWaitingRoomOutpatientNumberByDoctor(doctor,dept); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject result = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("imgPickCount",resultPick.getIntValue("twCount")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						result.put("videoPickCount",resultPick.getIntValue("spCount")); 
			 |