|
@ -1,5 +1,6 @@
|
|
package com.yihu.wlyy.job;
|
|
package com.yihu.wlyy.job;
|
|
|
|
|
|
|
|
import com.yihu.wlyy.entity.patient.Patient;
|
|
import com.yihu.wlyy.entity.patient.prescription.Prescription;
|
|
import com.yihu.wlyy.entity.patient.prescription.Prescription;
|
|
import com.yihu.wlyy.entity.patient.prescription.PrescriptionLog;
|
|
import com.yihu.wlyy.entity.patient.prescription.PrescriptionLog;
|
|
import com.yihu.wlyy.repository.dict.SystemDictDao;
|
|
import com.yihu.wlyy.repository.dict.SystemDictDao;
|
|
@ -45,7 +46,7 @@ public class PatientConfirmReceiptJob implements Job {
|
|
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();
|
|
String patietnName = prescription.getPatientName();
|
|
|
|
|
|
Patient user = patientDao.findByCode(patient);
|
|
//2.取出延长收货的次数及支付时间
|
|
//2.取出延长收货的次数及支付时间
|
|
int extendCount = prescription.getExtendCount();
|
|
int extendCount = prescription.getExtendCount();
|
|
Date payTime = prescription.getPayTime();
|
|
Date payTime = prescription.getPayTime();
|