接口联调优化
This commit is contained in:
parent
16aa4dedd8
commit
6ea1687cde
|
|
@ -97,6 +97,11 @@ public class DevInfoServiceImpl implements DevInfoService {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
bmFileInfo.setFileType(0L);
|
||||||
|
List<BmFileInfo> mainFileInfoList = bmFileInfoMapper.selectBmFileInfoList(bmFileInfo);
|
||||||
|
if (!CollectionUtils.isEmpty(mainFileInfoList)) {
|
||||||
|
devInfoVo.setPicUrl(mainFileInfoList.get(0).getFileUrl());
|
||||||
|
}
|
||||||
//根据设备id查询所属公司上架装备数以及公司访问量
|
//根据设备id查询所属公司上架装备数以及公司访问量
|
||||||
if (StringUtils.isNotBlank(devInfoVo.getCompanyId())) {
|
if (StringUtils.isNotBlank(devInfoVo.getCompanyId())) {
|
||||||
int devNum = devInfoMapper.selectCompany(devInfoVo.getCompanyId());
|
int devNum = devInfoMapper.selectCompany(devInfoVo.getCompanyId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue