|  | @ -3415,8 +3415,10 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |             if("2".equals(type)){//视频复诊才需要判断时间,
 |  |             if("2".equals(type)){//视频复诊才需要判断时间,
 | 
												
													
														
															|  |                 sql =  sql + " AND outpatient.register_date is not null AND  outpatient.register_date >= '"+DateUtil.dateToStrShort(new Date())+" 00:00:00' ";
 |  |                 sql =  sql + " AND outpatient.register_date is not null AND  outpatient.register_date >= '"+DateUtil.dateToStrShort(new Date())+" 00:00:00' ";
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  | 
 |  |         }else if("2".equals(outpatient_type)){
 | 
												
													
														
															|  | 
 |  |             //协同门诊也需要判断时间
 | 
												
													
														
															|  | 
 |  |             sql =  sql + " AND outpatient.register_date is not null AND  outpatient.register_date >= '"+DateUtil.dateToStrShort(new Date())+" 00:00:00' ";
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |     
 |  | 
 | 
												
													
														
															|  |         List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(sql);
 |  |         List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(sql);
 | 
												
													
														
															|  |     
 |  |     
 | 
												
													
														
															|  |         Long waitVideoCount = 0l;
 |  |         Long waitVideoCount = 0l;
 |