|
@@ -125,6 +125,10 @@ public class TdaDeviceServiceImpl extends ServiceImpl<TdaDeviceMapper, TdaDevice
|
|
|
wrapper.eq("td", TdaDevice::getUserUuid, dto.getUserUuid());
|
|
|
TdaDeviceVo result = baseMapper.detail(wrapper);
|
|
|
|
|
|
+ if (ObjectUtil.isEmpty(result)) {
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
//赋值产品信息
|
|
|
ProductInfo productInfo = productInfoService.getById(result.getProductId());
|
|
|
if (ObjectUtil.isNotEmpty(productInfo)) {
|