|
@ -86,7 +86,7 @@ public class AgentAppointmentJob implements Job {
|
|
|
quartzJobLog.setJobId(wlyyJobConfig.getId());
|
|
|
quartzJobLog.setJobName(wlyyJobConfig.getJobName());
|
|
|
//找出今天的健康指导信息
|
|
|
String sql="select w.id,w.patient from wlyy_patient_reservation w,wlyy_doctor d where w.doctor = d.code and w.doctor is not null and w.dname is not null and w.czrq>='"+daybefore+ Constant.quota_date_last+"' and a.czrq< '"+yesterday+ Constant.quota_date_last+"'";
|
|
|
String sql="select w.id,w.patient from wlyy_patient_reservation w,wlyy_doctor d where w.doctor = d.code and w.doctor is not null and w.dname is not null and w.czrq>='"+daybefore+ Constant.quota_date_last+"' and w.czrq< '"+yesterday+ Constant.quota_date_last+"'";
|
|
|
//抽取數據
|
|
|
List<PatientReservation> patientReservations = dbExtract.extract(PatientReservation.class,sql);
|
|
|
|