|
@ -66,7 +66,7 @@ public class PatientConfirmReceiptJob implements Job {
|
|
String jobRunning = systemDictDao.findByDictNameAndCode("JOB_RUNNING","PatientConfirmReceiptJob");
|
|
String jobRunning = systemDictDao.findByDictNameAndCode("JOB_RUNNING","PatientConfirmReceiptJob");
|
|
if("1".equals(jobRunning)) {
|
|
if("1".equals(jobRunning)) {
|
|
List<Prescription> list = new ArrayList<>();
|
|
List<Prescription> list = new ArrayList<>();
|
|
//1.找出状态是已支付未完成且取药方式不是健管师配送的续方
|
|
|
|
|
|
//1.找出状态是已发药未完成且取药方式不是健管师配送的续方
|
|
List<Prescription> PrescriptionList = prescriptionDao.findUndelivered();
|
|
List<Prescription> PrescriptionList = prescriptionDao.findUndelivered();
|
|
for (Prescription prescription : PrescriptionList) {
|
|
for (Prescription prescription : PrescriptionList) {
|
|
String patient = prescription.getPatient();
|
|
String patient = prescription.getPatient();
|