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