bug调整

This commit is contained in:
xy
2024-10-30 16:09:20 +08:00
parent 014370062a
commit c325301a8f
7 changed files with 74 additions and 75 deletions

View File

@@ -127,8 +127,11 @@ public class DeviceDataTrendServiceImpl implements DeviceDataTrendService {
//判断功率是否需要转换
//判断指标是否需要转换
public boolean changePower(String name) {
if(name.contains("相角")) {
return false;
}
return POWER_LIST.stream()
.anyMatch(name::contains);
}