|
@@ -34,6 +34,8 @@ public class ReportDimensionSettingServiceImpl implements ReportDimensionSetting
|
|
|
public void batchUpdateStatisticalDimension(List<ReportStatisticalDimensionDto> statisticalDimensionDtos) {
|
|
|
LoginUser loginUser = UserUtil.getCurrentUser();
|
|
|
for (ReportStatisticalDimensionDto deviceParmEntity : statisticalDimensionDtos) {
|
|
|
+ if (deviceParmEntity.isShowOnOff())
|
|
|
+ deviceParmEntity.setShowLatestValue(true);
|
|
|
if (StringUtils.isEmpty(deviceParmEntity.getDimensionId())) {
|
|
|
deviceParmEntity.setUserId(loginUser.getId());
|
|
|
deviceParmEntity.setTenantId(loginUser.getTenantId());
|