| 
					
				 | 
			
			
				@ -5,6 +5,7 @@ import com.yihu.wlyy.web.BaseController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.Api; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.ApiOperation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.ApiParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.json.JSONArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.http.MediaType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.stereotype.Controller; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -42,11 +43,11 @@ public class RegDeptSpeDoctorController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 @ApiParam(name="DocCode",value="医生编码",defaultValue = "80772") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 @RequestParam(value="DocCode",required = true) String DocCode) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String data = regDeptSpeDoctorService.getRegDeptSpeDoctorSectionList(OrgCode, DeptCode, strStart, strEnd, DocCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (data.startsWith("error")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(-1, "获取转诊预约医生号源信息失败!", "data", data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String result = regDeptSpeDoctorService.getRegDeptSpeDoctorSectionList(OrgCode, DeptCode, strStart, strEnd, DocCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (result.startsWith("error")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(200, result, "data", new JSONArray().toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200, "获取转诊预约医生号源信息成功!", "data", data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200, "获取转诊预约医生号源信息成功!", "data", result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            error(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return invalidUserException(e, -1, "获取转诊预约医生号源信息失败!"); 
			 |