|
@ -320,6 +320,13 @@ public class PrescriptionExpressagePCService extends BaseService {
|
|
|
|
|
|
//修改取药码code为已经使用
|
|
|
prescriptionDispensaryCode.setIsUse(1);
|
|
|
|
|
|
//更新配送信息
|
|
|
PrescriptionExpressage prescriptionExpressage = prescriptionExpressageDao.findByPrescriptionCode(prescriptionDispensaryCode.getPrescriptionCode());
|
|
|
prescriptionExpressage.setHospitalDoctor(doctorDao.findByCode(userCode).getName());
|
|
|
prescriptionExpressage.setHospitalDoctorCode(userCode);
|
|
|
prescriptionExpressage.setFetchingMedicineTime(new Date());
|
|
|
prescriptionExpressageDao.save(prescriptionExpressage);
|
|
|
}
|
|
|
|
|
|
|
|
@ -366,5 +373,13 @@ public class PrescriptionExpressagePCService extends BaseService {
|
|
|
|
|
|
prescriptionNoticesService.sendMessages(patientCode, doctor.getName(), DateUtil.dateToStrLong(expressageing), 3, 0, url);
|
|
|
|
|
|
|
|
|
//更新配送信息
|
|
|
PrescriptionExpressage prescriptionExpressage = prescriptionExpressageDao.findByPrescriptionCode(prescriptionDispensaryCode.getPrescriptionCode());
|
|
|
prescriptionExpressage.setHospitalDoctor(doctorDao.findByCode(userCode).getName());
|
|
|
prescriptionExpressage.setHospitalDoctorCode(userCode);
|
|
|
prescriptionExpressage.setFetchingMedicineTime(new Date());
|
|
|
prescriptionExpressage.setExpressageTime(new Date());
|
|
|
prescriptionExpressageDao.save(prescriptionExpressage);
|
|
|
}
|
|
|
}
|