|
@ -171,7 +171,7 @@ public class DeviceUploadService {
|
|
|
DevicePatientDevice device = null;
|
|
|
DeviceDetail deviceDetail = null;
|
|
|
List<DeviceDetail> deviceDetails = deviceDetailDao.findByDeviceCode(deviceSn);
|
|
|
if (deviceDetails != null || deviceDetails.size()!=0){
|
|
|
if (deviceDetails != null && deviceDetails.size()>0){
|
|
|
deviceDetail = deviceDetails.get(0);
|
|
|
if (deviceDetail.getGrantOrgCode() != null&& deviceDetail.getGrantOrgCode().equals("3502050300")){//
|
|
|
List<DevicePatientDevice> patientDeviceList = patientDeviceDao.findByDeviceSnAndCategoryCode(deviceSn, type);
|