|
@ -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;
|
|
@ -87,12 +87,12 @@ public class PrescriptionExpressageService {
|
|
|
PrescriptionLog prescriptionLog = new PrescriptionLog();
|
|
|
prescriptionLog.setPrescriptionCode(prescriptionDispensaryCode.getPrescriptionCode());
|
|
|
prescriptionLog.setCode(UUID.randomUUID().toString());
|
|
|
prescriptionLog.setType(PrescriptionLog.PrescriptionLogType.expressage);
|
|
|
prescriptionLog.setType(PrescriptionLog.PrescriptionLogType.finish);
|
|
|
prescriptionLog.setCreateTime(new Date());
|
|
|
prescriptionLog.setFlag(1);
|
|
|
prescriptionLog.setUserCode(userCode);
|
|
|
prescriptionLog.setUserType(2);
|
|
|
prescriptionLog.setType(100);
|
|
|
prescriptionLog.setStatus(PrescriptionLog.PrescriptionLogStatus.finish);
|
|
|
prescriptionLogDao.save(prescriptionLog);
|
|
|
|
|
|
//修改取药码code为已经使用
|