|
|
|
@ -135,7 +135,9 @@ public class EnergyLossServiceImpl implements EnergyLossService { |
|
|
|
.eq(IotThingSourceEntity::getRootId, rootId) |
|
|
|
.eq(IotThingSourceEntity::getConfigType, param.getConfigType()) |
|
|
|
.eq(IotThingSourceEntity::getThingAttrGroup,labelGroupName) |
|
|
|
.eq(IotThingSourceEntity::getStartStatus,"0")); |
|
|
|
.eq(IotThingSourceEntity::getStartStatus,"0") |
|
|
|
.eq(IotThingSourceEntity::getThingAttrCodeType,param.getAttrCodeType())); |
|
|
|
|
|
|
|
String key=null; |
|
|
|
if (CollectionUtil.isNotEmpty(iotThingSourceEntities)){ |
|
|
|
key = iotThingSourceEntities.get(0).getThingAttrCode(); |
|
|
|
|