|
@ -36,7 +36,18 @@ public class PatientPrescriptionLogController extends BaseController {
|
|
|
public String addReply(
|
|
|
@RequestParam(required = true) @ApiParam(value = "处方code", name = "prescriptionCode") String prescriptionCode) {
|
|
|
try {
|
|
|
Integer[] types = new Integer[]{20, 30, 31,100};
|
|
|
Integer[] types = new Integer[]{
|
|
|
PrescriptionLog.PrescriptionLogStatus.revieweding.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.changeing.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.reviewed_success.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.wait_pay.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.pay_error.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.expressageing_error.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.pay_success.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.wait_expressage.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.expressageing.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.expressage2hospital.getValue(),
|
|
|
PrescriptionLog.PrescriptionLogStatus.finish.getValue()};
|
|
|
List<PrescriptionLog> prescriptionLogs = prescriptionLogService.findPrescriptionLogsByPrescriptionCode(prescriptionCode, types);
|
|
|
if (prescriptionLogs != null) {
|
|
|
return write(200, "获取处方流程成功", "data", prescriptionLogs);
|