|  | @ -183,12 +183,12 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |     public ListEnvelop findDeptByHospital(@ApiParam(name = "orgCode", value = "机构code")
 | 
	
		
			
				|  |  |                                           @RequestParam(value = "orgCode", required = true)String orgCode,
 | 
	
		
			
				|  |  |                                           @ApiParam(name = "dept", value = "需要置顶部门")
 | 
	
		
			
				|  |  |                                           @RequestParam(value = "dept", required = true)String dept) {
 | 
	
		
			
				|  |  |                                           @RequestParam(value = "dept", required = false)String dept) {
 | 
	
		
			
				|  |  |         return success(prescriptionService.findDeptByHospital(orgCode,dept));
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseHospitalRequestMapping.Prescription.findDoctorByHospitalAndDept)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "查询部门下医生", notes = "查询机构底下部门")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "查询部门下医生", notes = "查询部门下医生")
 | 
	
		
			
				|  |  |     public ListEnvelop findDoctorByHospitalAndDept(@ApiParam(name = "orgCode", value = "机构code")
 | 
	
		
			
				|  |  |                                                    @RequestParam(value = "orgCode", required = true)String orgCode,
 | 
	
		
			
				|  |  |                                                    @ApiParam(name = "dept", value = "部门code")
 | 
	
	
		
			
				|  | @ -196,7 +196,7 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |                                                    @ApiParam(name = "chargeType", value = "号别")
 | 
	
		
			
				|  |  |                                                    @RequestParam(value = "chargeType", required = false)String chargeType,
 | 
	
		
			
				|  |  |                                                    @ApiParam(name = "doctorCode", value = "需要置顶医生")
 | 
	
		
			
				|  |  |                                                    @RequestParam(value = "doctorCode", required = true)String doctorCode) {
 | 
	
		
			
				|  |  |                                                    @RequestParam(value = "doctorCode", required = false)String doctorCode) {
 | 
	
		
			
				|  |  |         return success(prescriptionService.findDoctorByHospitalAndDept(orgCode,dept,chargeType,doctorCode));
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -347,6 +347,34 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "id", required = false)String id) {
 | 
	
		
			
				|  |  |         return success(prescriptionService.findWorkTimeInfo(id));
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseHospitalRequestMapping.Prescription.findDoctorInfo)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取医生信息", notes = "获取医生信息")
 | 
	
		
			
				|  |  |     public ObjEnvelop findDoctorInfo(@ApiParam(name = "doctor", value = "医生code")
 | 
	
		
			
				|  |  |                                      @RequestParam(value = "doctor", required = false)String doctor){
 | 
	
		
			
				|  |  |         return success(prescriptionService.findDoctorInfo(doctor));
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @PostMapping(value = BaseHospitalRequestMapping.Prescription.cancelOutPatient)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "取消复诊", notes = "取消复诊")
 | 
	
		
			
				|  |  |     public ObjEnvelop cancelOutPatient(@ApiParam(name = "outPatientId", value = "门诊记录")
 | 
	
		
			
				|  |  |                                        @RequestParam(value = "outPatientId", required = false)String outPatientId,
 | 
	
		
			
				|  |  |                                        @ApiParam(name = "cancelType", value = "取消原因类型")
 | 
	
		
			
				|  |  |                                        @RequestParam(value = "cancelType", required = false)String cancelType,
 | 
	
		
			
				|  |  |                                        @ApiParam(name = "cancelValue", value = "取消原因名称")
 | 
	
		
			
				|  |  |                                        @RequestParam(value = "cancelValue", required = false)String cancelValue,
 | 
	
		
			
				|  |  |                                        @ApiParam(name = "cancelRemark", value = "取消原因详细说明")
 | 
	
		
			
				|  |  |                                        @RequestParam(value = "cancelRemark", required = false)String cancelRemark) {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         return success(prescriptionService.cancelOutPatient(outPatientId,cancelType,cancelValue,cancelRemark));
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseHospitalRequestMapping.Prescription.findCancelReasonList)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取居民取消原因字典", notes = "获取居民取消原因字典")
 | 
	
		
			
				|  |  |     public ListEnvelop findCancelReasonList(){
 | 
	
		
			
				|  |  |         return success(prescriptionService.findCancelReasonList());
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     //===========
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 |