|
@ -58,7 +58,7 @@ public class PrescriptionExpressageService {
|
|
|
prescriptionLog.setFlag(1);
|
|
|
prescriptionLog.setUserCode(userCode);
|
|
|
prescriptionLog.setUserType(2);
|
|
|
prescriptionLog.setType(42);
|
|
|
prescriptionLog.setStatus(PrescriptionLog.PrescriptionLogStatus.expressageing_error);
|
|
|
prescriptionLog.setRemark("配送失败,处方编码不存在");
|
|
|
prescriptionLogDao.save(prescriptionLog);
|
|
|
return -1;
|
|
@ -74,7 +74,7 @@ public class PrescriptionExpressageService {
|
|
|
prescriptionLog.setFlag(1);
|
|
|
prescriptionLog.setUserCode(userCode);
|
|
|
prescriptionLog.setUserType(2);
|
|
|
prescriptionLog.setType(42);
|
|
|
prescriptionLog.setStatus(PrescriptionLog.PrescriptionLogStatus.expressageing_error);
|
|
|
prescriptionLog.setRemark("配送失败,处方编码不是取药码");
|
|
|
prescriptionLogDao.save(prescriptionLog);
|
|
|
return -1;
|
|
@ -92,7 +92,7 @@ public class PrescriptionExpressageService {
|
|
|
prescriptionLog.setFlag(1);
|
|
|
prescriptionLog.setUserCode(userCode);
|
|
|
prescriptionLog.setUserType(2);
|
|
|
prescriptionLog.setType(100);
|
|
|
prescriptionLog.setStatus(PrescriptionLog.PrescriptionLogStatus.finish);
|
|
|
prescriptionLogDao.save(prescriptionLog);
|
|
|
|
|
|
//修改取药码code为已经使用
|