|
|
@@ -506,7 +506,6 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
|
|
|
Map<Long, BigDecimal> capacityPair = new HashMap<>();
|
|
|
// 找到当前小队下的 电驱增压机 分类下设备的产能 计算 运行时效
|
|
|
DictTypeDO dictType = dictTypeService.getDictType("rq_iot_charger_device_category");
|
|
|
- AtomicReference<BigDecimal> capacity = new AtomicReference<>(BigDecimal.ZERO);
|
|
|
if (ObjUtil.isNotEmpty(dictType)) {
|
|
|
if (StrUtil.isNotBlank(dictType.getRemark())) {
|
|
|
IotDevicePageReqVO capacityReqVO = new IotDevicePageReqVO();
|
|
|
@@ -516,6 +515,7 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
|
|
|
if (CollUtil.isNotEmpty(capacityDevices)) {
|
|
|
// 解析每个设备的 扩展属性 找出 已经设置 了产能的设备并提取值
|
|
|
capacityDevices.forEach(device -> {
|
|
|
+ AtomicReference<BigDecimal> capacity = new AtomicReference<>(BigDecimal.ZERO);
|
|
|
if (StrUtil.isNotBlank(device.getTemplateJson())) {
|
|
|
Gson gson = new Gson();
|
|
|
Type listType = new TypeToken<List<IotDeviceProperty>>(){}.getType();
|