|  | @ -548,7 +548,7 @@ public class IotPatientDeviceService extends BaseJpaService<IotPatientDeviceDO,
 | 
												
													
														
															|  |         if(StringUtils.isNotBlank(hospitalName)){
 |  |         if(StringUtils.isNotBlank(hospitalName)){
 | 
												
													
														
															|  |             sql += "and d.hospital_name like '%" + hospitalName + "%' ";
 |  |             sql += "and d.hospital_name like '%" + hospitalName + "%' ";
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |         //数据权限过滤
 | 
												
													
														
															|  |         List<String> list = orgUserService.getUserOrgById(userAgent.getUID());
 |  |         List<String> list = orgUserService.getUserOrgById(userAgent.getUID());
 | 
												
													
														
															|  |         if(!list.contains(userAgent.commonHospital)){
 |  |         if(!list.contains(userAgent.commonHospital)){
 | 
												
													
														
															|  |             sql += " and d.hospital in ("+orgUserService.getUserOrg(list)+") ";
 |  |             sql += " and d.hospital in ("+orgUserService.getUserOrg(list)+") ";
 |