From e6dcd1141fc7687ed04a98e3900f6065beefe189 Mon Sep 17 00:00:00 2001
From: baogq <445720029@qq.com>
Date: Mon, 13 Mar 2023 08:41:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=BA=90=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../nanjing/ReportDataController.java | 61 ++++++++++++-------
.../nanjing/StatisticStProductController.java | 4 +-
.../nanjing/TBdLinetypeController.java | 51 +++++++++++++---
.../src/main/resources/application-druid.yml | 10 +--
.../src/main/resources/application.yml | 2 +-
.../src/main/resources/static/css/login.css | 10 +--
.../main/resources/static/css/login.min.css | 2 +-
.../main/resources/static/ruoyi/js/ry-ui.js | 25 +++++---
.../templates/nanjing/LineType/LineType.html | 58 ++++++++----------
.../templates/nanjing/LineType/add.html | 34 ++++++++++-
.../templates/nanjing/LineType/edit.html | 29 +++++++++
.../templates/nanjing/LineType/tree.html | 49 +++++++++++++++
.../nanjing/ParaAllShow/ParaAllShow.html | 4 +-
.../templates/nanjing/Report/Report.html | 20 ++++--
.../StationParaInfo/StationParaInfo.html | 2 +-
.../nanjing/Statistic/QsStation.html | 3 +-
.../nanjing/Statistic/QtProduct.html | 2 +-
.../templates/nanjing/SubStation/add.html | 40 ++++++++++--
.../resources/templates/system/menu/add.html | 11 ++--
.../com/ruoyi/common/core/domain/Ztree.java | 14 ++---
.../com/ruoyi/nanjing/domain/TBdLinetype.java | 55 ++++++++++-------
.../nanjing/mapper/TBdProducttypeMapper.java | 2 +
.../nanjing/service/ITBdLinetypeService.java | 9 +++
.../service/ITBdProducttypeService.java | 2 +
.../service/impl/TBdLinetypeServiceImpl.java | 24 ++++++++
.../impl/TBdSubstationServiceImpl.java | 4 +-
.../service/impl/SysDeptServiceImpl.java | 4 +-
.../service/impl/SysDictTypeServiceImpl.java | 2 +-
.../service/impl/SysMenuServiceImpl.java | 4 +-
.../mapper/nanjing/TBdLinetypeMapper.xml | 18 ++++--
.../mapper/nanjing/TBdProducttypeMapper.xml | 22 ++++---
31 files changed, 420 insertions(+), 157 deletions(-)
create mode 100644 ruoyi-admin/src/main/resources/templates/nanjing/LineType/tree.html
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/ReportDataController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/ReportDataController.java
index 43c5d89f..99eda100 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/ReportDataController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/ReportDataController.java
@@ -1,23 +1,10 @@
package com.ruoyi.web.controller.nanjing;
-import com.alibaba.excel.EasyExcel;
-import com.alibaba.excel.ExcelWriter;
-import com.alibaba.fastjson.JSONArray;
-import com.alibaba.fastjson.JSONObject;
-import com.mysql.cj.xdevapi.JsonArray;
import com.ruoyi.common.core.controller.BaseController;
-import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
-import com.ruoyi.common.utils.poi.ExcelUtil;
-import com.ruoyi.nanjing.domain.ReportData;
-import com.ruoyi.nanjing.domain.TBdProductinfo;
import com.ruoyi.nanjing.service.ITBdProducttypeService;
-import com.ruoyi.web.controller.common.DemoData;
-import org.apache.catalina.User;
-import org.apache.poi.ss.formula.functions.T;
-import org.apache.poi.xssf.usermodel.*;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
@@ -27,14 +14,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
-import javax.servlet.ServletOutputStream;
-import javax.servlet.http.Cookie;
-import javax.servlet.http.HttpServletResponse;
-import java.io.*;
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
import java.util.*;
-import java.util.stream.Collectors;
@Controller
@RequestMapping("/nanjing/reportData")
@@ -60,12 +40,49 @@ public class ReportDataController extends BaseController {
map.put("end", end);
map.put("barcode", barcode);
List