|  | @ -1,7 +1,10 @@
 | 
	
		
			
				|  |  | package com.yihu.wlyy.web.doctor.prescription;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import com.yihu.wlyy.entity.doctor.reply.DoctorQuickReply;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.entity.patient.prescription.PrescriptionExpressageLog;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.entity.patient.prescription.PrescriptionLog;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.prescription.PrescriptionExpressageLogService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.prescription.PrescriptionExpressageService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.prescription.PrescriptionLogService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.web.BaseController;
 | 
	
		
			
				|  |  | import io.swagger.annotations.Api;
 | 
	
	
		
			
				|  | @ -26,6 +29,9 @@ import java.util.List;
 | 
	
		
			
				|  |  | public class PrescriptionLogController extends BaseController {
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private PrescriptionLogService prescriptionLogService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private PrescriptionExpressageLogService prescriptionExpressageLogService;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      * 根据处方code获取处方流程
 | 
	
	
		
			
				|  | @ -81,6 +87,10 @@ public class PrescriptionLogController extends BaseController {
 | 
	
		
			
				|  |  |                     PrescriptionLog.PrescriptionLogStatus.expressage2hospital.getValue(),
 | 
	
		
			
				|  |  |                     PrescriptionLog.PrescriptionLogStatus.finish.getValue()};
 | 
	
		
			
				|  |  |             List<PrescriptionLog> prescriptionLogs = prescriptionLogService.findPrescriptionLogsByPrescriptionCode(prescriptionCode, types);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             List<PrescriptionExpressageLog> expressageLogs = prescriptionExpressageLogService.findByPrescriptionCode(prescriptionCode);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             if (prescriptionLogs != null) {
 | 
	
		
			
				|  |  |                 return write(200, "获取处方流程成功", "data", new JSONArray(copyBeans(prescriptionLogs, "statusName", "createTime")));
 | 
	
		
			
				|  |  |             } else {
 |