Commit 853bde3b authored by 位宇华's avatar 位宇华

唐山矿电力--代码提交

parent a0f1577a
package com.ruoyi.system.service.impl;
import com.alibaba.fastjson.JSON;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.utils.SecurityUtils;
......@@ -499,6 +500,12 @@ public class PowerDisplayServiceImpl implements PowerDisplayService {
ReplaceBlank(powerDisplayDtoList);
List<PowerDisplayDto> displayDtoList = getPowerDisplayDtoList(powerDisplayDtoList);
disposeParamter(displayDtoList);
displayDtoList.forEach(v->{
v.setPowerTip(StringUtils.EMPTY);
v.setPowerFlat(StringUtils.EMPTY);
v.setPowerValley(StringUtils.EMPTY);
v.setPowerPeak(StringUtils.EMPTY);
});
List<PowerDisplayDto> finalList = groupData(displayDtoList);
List<PowerDisplayDto> collect = finalList.stream().filter(v -> !StringUtils.contains(v.getClassificationName(), "合计")).collect(Collectors.toList());
List<PowerSourceModel> powerSourceModelList = powerDisplayMapper.selectSource("011702");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment