接口联调优化

This commit is contained in:
mashuai 2024-12-02 15:33:43 +08:00
parent 16aa4dedd8
commit 6ea1687cde
1 changed files with 5 additions and 0 deletions

View File

@ -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查询所属公司上架装备数以及公司访问量
if (StringUtils.isNotBlank(devInfoVo.getCompanyId())) {
int devNum = devInfoMapper.selectCompany(devInfoVo.getCompanyId());