燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-08-11 8d02b5bba80e9625a28910ab9af3732f0a78cde2
1
已修改1个文件
5 ■■■■■ 文件已修改
src/main/java/com/yssh/service/XlsReportService.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/yssh/service/XlsReportService.java
@@ -279,7 +279,7 @@
                double qntq = mapper.selectAccumulate(lastYearMonthStart, lastYearMonthEnd, name); // 去年同期
                String ytq = 0 == qntq ? "--" : CalculateUtils.round2((sy - qntq) / qntq * 100) + "%"; // 月同期
                String ytb = ""; // 月同比
                String ytb = 0 == qntq ? "--" : CalculateUtils.round2((sy - qntq) / qntq * 100) + "%"; // 月同比
                double lj = mapper.selectAccumulate(yearStart, intMonthEnd, name); // 累计
@@ -296,7 +296,8 @@
                list.add(new MonthExcel("" + sy, yhb, ytq, ytb, "" + lj, ljtb, qyn, ys, "", "", ""));
            }
            //saveResult("month", end, list);
            saveResult("month", monthEnd, list);
        } catch (Exception ex) {
            logger.error(ex.getMessage(), ex);
        }