|
@@ -980,6 +980,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
//根据设备ID查商品id
|
|
//根据设备ID查商品id
|
|
GoodsDeviceDto.SelectList selectList = new GoodsDeviceDto.SelectList();
|
|
GoodsDeviceDto.SelectList selectList = new GoodsDeviceDto.SelectList();
|
|
selectList.setDeviceIds(CollUtil.newArrayList(deviceId));
|
|
selectList.setDeviceIds(CollUtil.newArrayList(deviceId));
|
|
|
|
+ selectList.setMercId(dto.getMercId());
|
|
R<List<GoodsDeviceDto.Vo>> r = R.feignCheck(goodsDeviceService.list(selectList));
|
|
R<List<GoodsDeviceDto.Vo>> r = R.feignCheck(goodsDeviceService.list(selectList));
|
|
List<GoodsDeviceDto.Vo> goodsDeviceList = r.getData();
|
|
List<GoodsDeviceDto.Vo> goodsDeviceList = r.getData();
|
|
goodsData.setCategoryNum(CollUtil.isNotEmpty(goodsDeviceList) ? goodsDeviceList.size() : 0);
|
|
goodsData.setCategoryNum(CollUtil.isNotEmpty(goodsDeviceList) ? goodsDeviceList.size() : 0);
|