|
@@ -1,15 +1,19 @@
|
|
|
package com.gyee.runeconomy.service.fiveloss;
|
|
|
|
|
|
+
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.gyee.common.vo.benchmark.FjjxbVo;
|
|
|
import com.gyee.runeconomy.dto.FiveLoss.AnnotationTool;
|
|
|
import com.gyee.runeconomy.dto.FiveLoss.FixedVo;
|
|
|
import com.gyee.runeconomy.dto.FiveLoss.TableTitle;
|
|
|
+import com.gyee.runeconomy.dto.FiveLoss.exception.CustomException;
|
|
|
import com.gyee.runeconomy.dto.result.PowerPointData;
|
|
|
import com.gyee.runeconomy.dto.result.ResultCode;
|
|
|
+import com.gyee.runeconomy.model.auto.ProEconEquipmentInfoDay1;
|
|
|
import com.gyee.runeconomy.service.auto.IProEconEquipmentInfoDay1Service;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import lombok.val;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
@@ -18,7 +22,6 @@ import java.math.RoundingMode;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
-
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
public class FiveLossService {
|
|
@@ -159,7 +162,7 @@ public class FiveLossService {
|
|
|
log.info("======风机榜效帮计算结束.............");
|
|
|
result.stream().sorted(Comparator.comparing(FjjxbVo::getId));
|
|
|
/** 添加标题 **/
|
|
|
- List<FixedVo> fxList = AnnotationTool.getFixedVoList(FjjxbVo.class);
|
|
|
+ val fxList = AnnotationTool.getFixedVoList(FjjxbVo.class);
|
|
|
List<TableTitle> lt = fxList.stream().map(d -> new TableTitle(d.getName(), d.getDes())).collect(Collectors.toList());
|
|
|
promise.put("title", lt);
|
|
|
promise.put("data", result);
|