|
@ -3244,7 +3244,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
"AND room.outpatient_id=outpatient.id " +
|
|
"AND room.outpatient_id=outpatient.id " +
|
|
"AND outpatient.status = 0 " +
|
|
"AND outpatient.status = 0 " +
|
|
"AND room.doctor='"+doctor+"' " +
|
|
"AND room.doctor='"+doctor+"' " +
|
|
"AND room.reservation_time is not null " +
|
|
|
|
|
|
"AND room.reservation_time is not null AND room.reservation_time >= '"+DateUtil.dateToStrShort(new Date())+" 00:00:00'" +
|
|
"AND room.consult_type= 2 ";
|
|
"AND room.consult_type= 2 ";
|
|
|
|
|
|
List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(sql);
|
|
List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(sql);
|