|  | @ -19,6 +19,7 @@ import com.yihu.jw.entity.base.im.ConsultDo;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.message.SystemMessageDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.prescription.*;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.order.BusinessOrderDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.hospital.httplog.service.BaseOperateLogService;
 | 
	
		
			
				|  |  | import com.yihu.jw.hospital.mapping.service.PatientMappingService;
 | 
	
		
			
				|  |  | import com.yihu.jw.hospital.prescription.dao.OutpatientDao;
 | 
	
		
			
				|  |  | import com.yihu.jw.hospital.prescription.dao.PrescriptionDiagnosisDao;
 | 
	
	
		
			
				|  | @ -129,6 +130,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |     private TnPrescriptionService tnPrescriptionService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private EntranceService entranceService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private BaseOperateLogService baseOperateLogService;
 | 
	
		
			
				|  |  |     @Value("${qywx.id}")
 | 
	
		
			
				|  |  |     private String qywxId;
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -3049,6 +3052,29 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping("/findOperateLogs")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "查询操作日志")
 | 
	
		
			
				|  |  |     public Envelop findOperateLogs( @ApiParam(name = "code", value = "code")
 | 
	
		
			
				|  |  |                                      @RequestParam(value = "code",required = false)String code,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "name", value = "name")
 | 
	
		
			
				|  |  |                                     @RequestParam(value = "name",required = false)String name,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "patientName", value = "patientName")
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "patientName",required = false)String patientName,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "doctorName", value = "doctorName")
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "doctorName",required = false)String doctorName,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "startTime", value = "startTime")
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "startTime",required = false)String startTime,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "endTime", value = "endTime")
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "endTime",required = false)String endTime,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "page", value = "page")
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "page",required = false)Integer page,
 | 
	
		
			
				|  |  |                                     @ApiParam(name = "pageSize", value = "pageSize")
 | 
	
		
			
				|  |  |                                         @RequestParam(value = "pageSize",required = false)Integer pageSize) throws Exception {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             return success(baseOperateLogService.findOperateLogList(code,name,patientName,doctorName,startTime,endTime,page,pageSize));
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             return Envelop.getError(e.getMessage());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | }
 |