非现报表重命名为FXZC_Report_Manage为了区分,并部署到报表服务器10.15.0.171上

main
gaoshuguang 7 months ago
parent d3f431fee1
commit b3b9b43dfe

@ -3,8 +3,8 @@ import axios from 'axios'
axios.defaults.withCredentials = true axios.defaults.withCredentials = true
const instance = axios.create({ const instance = axios.create({
// baseURL: 'http://localhost:9000/Report_Manage', // 基础请求地址测试 baseURL: 'http://localhost:9000/FXZC_Report_Manage', // 基础请求地址测试
baseURL: '/Report_Manage/', // 基础请求地址正式 // baseURL: '/FXZC_Report_Manage/', // 基础请求地址正式
timeout: 90000, // 超时时间 timeout: 90000, // 超时时间
headers: { 'Content-Type': 'application/json;charset=UTF-8;', } // 携带的请求头 headers: { 'Content-Type': 'application/json;charset=UTF-8;', } // 携带的请求头
}) })

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="SonarLintModuleSettings">
<option name="uniqueId" value="c264bd76-91f7-4921-b6b4-6e0919b8b4fb" />
</component>
</module>

@ -7,8 +7,8 @@
<sourceOutputDir name="target/generated-sources/annotations" /> <sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" /> <outputRelativeToContentRoot value="true" />
<module name="FXZC_Report_Manage" />
<module name="Report_Manage" /> <module name="Report_Manage" />
<module name="Report_Manage_B" />
</profile> </profile>
</annotationProcessing> </annotationProcessing>
</component> </component>

@ -3,10 +3,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.nmgs</groupId> <groupId>com.nmgs</groupId>
<artifactId>Report_Manage</artifactId> <artifactId>FXZC_Report_Manage</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>Report_Manage</name> <name>FXZC_Report_Manage</name>
<description>Report_Manage</description> <description>FXZC_Report_Manage</description>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>
@ -236,7 +236,7 @@
</dependencyManagement> </dependencyManagement>
<build> <build>
<finalName>Report_Manage</finalName> <finalName>FXZC_Report_Manage</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

@ -8,15 +8,15 @@ import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
@SpringBootApplication @SpringBootApplication
@MapperScan("com.nmgs.mapper") @MapperScan("com.nmgs.mapper")
public class WebServiceApplication extends SpringBootServletInitializer { public class FXZC_Report_ManageApplication extends SpringBootServletInitializer {
@Override @Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(WebServiceApplication.class); return builder.sources(FXZC_Report_ManageApplication.class);
} }
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(WebServiceApplication.class, args); SpringApplication.run(FXZC_Report_ManageApplication.class, args);
} }
} }

@ -24,7 +24,7 @@ public class MyEnvironmentPostProcessor implements EnvironmentPostProcessor {
@Override @Override
public void postProcessEnvironment(ConfigurableEnvironment configurableEnvironment, SpringApplication application) { public void postProcessEnvironment(ConfigurableEnvironment configurableEnvironment, SpringApplication application) {
System.out.println("Report_Manage读取公用配置文件"); System.out.println("FXZC_Report_Manage读取公用配置文件");
//公用配置文件路径 //公用配置文件路径
String path = PathUtil.applicationPath; String path = PathUtil.applicationPath;
//本项目配置文件路径 //本项目配置文件路径
@ -44,26 +44,26 @@ public class MyEnvironmentPostProcessor implements EnvironmentPostProcessor {
fileNewproperties.createNewFile(); fileNewproperties.createNewFile();
} }
properties.load(new FileInputStream(path)); properties.load(new FileInputStream(path));
String DBType = properties.getProperty("DBType") == null ? "1" : properties.getProperty("DBType"); String DBType = properties.getProperty("FXZCDBType") == null ? "1" : properties.getProperty("DBType");
Newproperties.load(new FileInputStream(NewPath)); Newproperties.load(new FileInputStream(NewPath));
properties.setProperty("spring.logback.logPath",PathUtil.TomcatPath+"/logs"); properties.setProperty("spring.logback.logPath",PathUtil.TomcatPath+"/logs");
properties.setProperty("spring.datasource.url",properties.getProperty("DBUrl")); properties.setProperty("spring.datasource.url",properties.getProperty("FXZCDBUrl"));
properties.setProperty("spring.datasource.username",properties.getProperty("DBUserName")); properties.setProperty("spring.datasource.username",properties.getProperty("FXZCDBUserName"));
properties.setProperty("spring.datasource.password",PassWordUtils.decrypt(properties.getProperty("DBPassWord"))); properties.setProperty("spring.datasource.password",PassWordUtils.decrypt(properties.getProperty("FXZCDBPassWord")));
if(DBType.equals("1")){ if("1".equals(DBType)){
properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("sqlClassName")); properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("sqlClassName"));
Newproperties.setProperty("spring.datasource.druid.validation-query","select 1"); Newproperties.setProperty("spring.datasource.druid.validation-query","select 1");
}else if(DBType.equals("2")){ }else if("2".equals(DBType)){
properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("OracleClassName")); properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("OracleClassName"));
Newproperties.setProperty("spring.datasource.druid.validation-query","select 1 from dual"); Newproperties.setProperty("spring.datasource.druid.validation-query","select 1 from dual");
}else if(DBType.equals("3")){ }else if("3".equals(DBType)){
properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("DMClassName")); properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("DMClassName"));
Newproperties.setProperty("spring.datasource.druid.validation-query","select 1 from dual"); Newproperties.setProperty("spring.datasource.druid.validation-query","select 1 from dual");
}else if(DBType.equals("4")){ }else if("4".equals(DBType)){
properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("MySQLClassName")); properties.setProperty("spring.datasource.driver-class-name",Newproperties.getProperty("MySQLClassName"));
Newproperties.setProperty("spring.datasource.druid.validation-query","select 1"); Newproperties.setProperty("spring.datasource.druid.validation-query","select 1");
} }
System.out.println("---------------------------ControlOnMonitor本次载入数据库----------------------"); System.out.println("---------------------------FXZC_Report_Manage本次载入数据库----------------------");
System.out.println("server.port: " + properties.getProperty("server.port")); System.out.println("server.port: " + properties.getProperty("server.port"));
System.out.println(" url : " + properties.getProperty("spring.datasource.url")); System.out.println(" url : " + properties.getProperty("spring.datasource.url"));
System.out.println(" username : " + properties.getProperty("spring.datasource.username")); System.out.println(" username : " + properties.getProperty("spring.datasource.username"));

@ -50,6 +50,7 @@ public class CorsConfig implements WebMvcConfigurer {
registry.addInterceptor(filterconfig) registry.addInterceptor(filterconfig)
//.addPathPatterns("/**") //.addPathPatterns("/**")
.excludePathPatterns("/**") .excludePathPatterns("/**")
.excludePathPatterns("/GetFirstDir/**")
.excludePathPatterns("/captcha/**") .excludePathPatterns("/captcha/**")
.excludePathPatterns("/system/GetCaptcha/**") .excludePathPatterns("/system/GetCaptcha/**")
.excludePathPatterns("/getLoginTitle/**"); .excludePathPatterns("/getLoginTitle/**");

@ -20,12 +20,12 @@ public class Get_dirContorller {
// @CrossOrigin(origins = "*",methods = {RequestMethod.GET,RequestMethod.POST}) // @CrossOrigin(origins = "*",methods = {RequestMethod.GET,RequestMethod.POST})
public Object getdir(HttpServletRequest request, @RequestBody Object req) throws Exception { public Object getdir(HttpServletRequest request, @RequestBody Object req) throws Exception {
Map reqmap=(Map) req; Map reqmap=(Map) req;
String path= PropertiesUtil.getValue("WebCptPath"); String path= PropertiesUtil.getValue("FXZCWebCptPath");
String cpturl=PropertiesUtil.getValue("WebCptURL"); String cpturl=PropertiesUtil.getValue("FXZCWebCptURL");
String WebCptIsPaging=PropertiesUtil.getValue("WebCptIsPaging"); String WebCptIsPaging=PropertiesUtil.getValue("FXZCWebCptIsPaging");
String WebCptIsPagingText=""; String WebCptIsPagingText="";
String manno=reqmap.get("manno")==null?"admin":com.nmgs.util.DESUtil.decrypt(reqmap.get("manno").toString()); String manno=reqmap.get("manno")==null?"admin":com.nmgs.util.DESUtil.decrypt(reqmap.get("manno").toString());
if(WebCptIsPaging.equals("1")) if("1".equals(WebCptIsPaging))
{ {
WebCptIsPagingText="&__bypagesize__ = false"; WebCptIsPagingText="&__bypagesize__ = false";
} }
@ -50,7 +50,7 @@ public class Get_dirContorller {
for (File one1 : ones1) { for (File one1 : ones1) {
Map n1 = new HashMap(); Map n1 = new HashMap();
if (!one1.isDirectory()) { if (!one1.isDirectory()) {
if (com.nmgs.util.ReportUtil.lastName(one1).toUpperCase().equals("CPT")) { if ("CPT".equals(com.nmgs.util.ReportUtil.lastName(one1).toUpperCase())) {
n1.put("name", one1.getName().substring(0, one1.getName().length() - 4)); n1.put("name", one1.getName().substring(0, one1.getName().length() - 4));
n1.put("url", cpturl + java.net.URLEncoder.encode(com.nmgs.util.ReportUtil.cjkEncode(one.getName()), "GBK") + '/' + n1.put("url", cpturl + java.net.URLEncoder.encode(com.nmgs.util.ReportUtil.cjkEncode(one.getName()), "GBK") + '/' +

@ -21,7 +21,7 @@ public class PathUtil {
public static String tomcatUserXMLPath; public static String tomcatUserXMLPath;
//public static String webPath= ClassUtils.getDefaultClassLoader().getResource("").getPath() + "static"; //public static String webPath= ClassUtils.getDefaultClassLoader().getResource("").getPath() + "static";
public static String webPath = ""; public static String webPath = "";
public static String webName= "/dist"; public static String webName= "/FXZC_Report_Manage";
static { static {
try { try {
projectApplicationPath = URLDecoder.decode(ClassUtils.getDefaultClassLoader().getResource("").getPath(), "UTF-8") + "static/application.properties"; projectApplicationPath = URLDecoder.decode(ClassUtils.getDefaultClassLoader().getResource("").getPath(), "UTF-8") + "static/application.properties";

@ -1,12 +1,12 @@
#\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E #\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E
spring.logback.appName=Report_manage spring.logback.appName=FXZC_Report_Manage
spring.logback.level=INFO spring.logback.level=INFO
spring.logback.myMaxHistory=30 spring.logback.myMaxHistory=30
spring.logback.myFileSize=10MB spring.logback.myFileSize=10MB
spring.logback.myTotalSizeCap=2GB spring.logback.myTotalSizeCap=2GB
spring.thymeleaf.prefix=classpath:/static/ spring.thymeleaf.prefix=classpath:/static/
#给返回的页面添加后缀名 #<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD>ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӻ<EFBFBD>׺<EFBFBD><EFBFBD>
spring.thymeleaf.suffix=.html spring.thymeleaf.suffix=.html
spring.thymeleaf.servlet.content-type=text/html: spring.thymeleaf.servlet.content-type=text/html:
spring.thymeleaf.mode=HTML spring.thymeleaf.mode=HTML

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="./vite.svg" /> <link rel="icon" type="image/svg+xml" href="./vite.svg" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> --> <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
<title>内蒙古自治区收费公路数据采集和综合应用系统</title> <title>内蒙古自治区收费公路数据采集和综合应用系统</title>
<script type="module" crossorigin src="./assets/index-c3662ce0.js"></script> <script type="module" crossorigin src="./assets/index-83167d08.js"></script>
<link rel="stylesheet" href="./assets/index-4225acd3.css"> <link rel="stylesheet" href="./assets/index-4225acd3.css">
</head> </head>
<body> <body>

@ -1,5 +0,0 @@
Manifest-Version: 1.0
Created-By: IntelliJ IDEA
Built-By: shuguang
Build-Jdk: version 1.8.0_121

@ -1 +0,0 @@
org.springframework.boot.env.EnvironmentPostProcessor=com.nmgs.MyEnvironmentPostProcessor

@ -1,254 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL如果设置为WARN则低于WARN的信息都不会输出 -->
<!-- scan:当此属性设置为true时配置文件如果发生改变将会被重新加载默认值为true -->
<!-- scanPeriod:设置监测配置文件是否有修改的时间间隔如果没有给出时间单位默认单位是毫秒。当scan为true时此属性生效。默认的时间间隔为1分钟。 -->
<!-- debug:当此属性设置为true时将打印出logback内部日志信息实时查看logback运行状态。默认值为false。 -->
<configuration scan="true" scanPeriod="10 seconds" debug="true">
<springProperty scope="context" name="logLevel" source="spring.logback.level"/>
<springProperty scope="context" name="APP_NAME" source="spring.logback.appName"/>
<springProperty scope="context" name="myMaxHistory" source="spring.logback.myMaxHistory"/>
<springProperty scope="context" name="myFileSize" source="spring.logback.myFileSize"/>
<springProperty scope="context" name="myTotalSizeCap" source="spring.logback.myTotalSizeCap"/>
<contextName>${APP_NAME}</contextName>
<!-- 彩色日志 -->
<!-- 彩色日志依赖的渲染类 -->
<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter"/>
<conversionRule conversionWord="wex"
converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"/>
<conversionRule conversionWord="wEx"
converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"/>
<!--彩色日志输出格式-->
<property name="CONSOLE_LOG_PATTERN"
value="%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%level){blue} %clr(${PID}){magenta} %clr([%thread]){orange} %clr(%logger){cyan} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"/>
<!--非彩色日志输出格式-->
<property name="PATTERN"
value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level 服务名称:${APP_NAME} %logger{36} - %msg%n"/>
<!--dev文件路径src同级目录logs,如果上级目录不存在会自动创建-->
<property name="DEV_FILE_PATH" value="./../logs/${APP_NAME}/"/>
<!-- pro文件路径 -->
<property name="PRO_FILE_PATH" value="./../logs/${APP_NAME}/"/>
<!-- 控制台输出 -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<!--<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%level] [%thread] [%class:%line] %logger{50} - %m %n</pattern>-->
<!--格式化输出:%d表示日期%thread表示线程名%-5level级别从左显示5个字符宽度%msg日志消息%n是换行符-->
<pattern>${PATTERN}</pattern>
<!-- <charset>UTF-8</charset>-->
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
</appender>
<!-- 按照每天生成输出日志文件 -->
<appender name="fileAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<encoder>
<!--格式化输出:%d表示日期%thread表示线程%-5level级别从左显示五个字符宽度%logger{36}logger是class的全名,后面的数字代表限制最长的字符,%msg日志消息%n换行符-->
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
<!--滚动策略按照时间滚动-->
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- rollover daily 文件名称 -->
<fileNamePattern>${DEV_FILE_PATH}/output-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<maxHistory>${myMaxHistory}</maxHistory>
<maxFileSize>${myFileSize}</maxFileSize>
<totalSizeCap>${myTotalSizeCap}</totalSizeCap>
</rollingPolicy>
</appender>
<appender name="INFO" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>${DEV_FILE_PATH}/log_info_%d{yyyy-MM-dd_HH}.%i.txt</fileNamePattern>
<!-- 当文件总大小超过1GB先删除10天内最早的文件。不会删除10天外的文件。 -->
<maxHistory>${myMaxHistory}</maxHistory>
<maxFileSize>${myFileSize}</maxFileSize>
<totalSizeCap>${myTotalSizeCap}</totalSizeCap>
</rollingPolicy>
<append>true</append>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>${PATTERN}</pattern>
<charset>utf-8</charset>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>INFO</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<appender name="ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>${DEV_FILE_PATH}/log_error_%d{yyyy-MM-dd_HH}.%i.txt</fileNamePattern>
<!-- 当文件总大小超过1GB先删除10天内最早的文件。不会删除10天外的文件。 -->
<maxHistory>${myMaxHistory}</maxHistory>
<maxFileSize>${myFileSize}</maxFileSize>
<totalSizeCap>${myTotalSizeCap}</totalSizeCap>
</rollingPolicy>
<append>true</append>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>${PATTERN}</pattern>
<charset>utf-8</charset>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>ERROR</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- <appender name="WARN" class="ch.qos.logback.core.rolling.RollingFileAppender">-->
<!-- <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">-->
<!-- <fileNamePattern>${DEV_FILE_PATH}/log_warn_%d{yyyy-MM-dd_H}.%i.txt</fileNamePattern>-->
<!-- &lt;!&ndash; 每产生一个日志文件该日志文件的保存期限为10天 &ndash;&gt;-->
<!-- <maxHistory>10</maxHistory>-->
<!-- <maxFileSize>20MB</maxFileSize>-->
<!-- <totalSizeCap>500MB</totalSizeCap>-->
<!-- </rollingPolicy>-->
<!-- <append>true</append>-->
<!-- <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">-->
<!-- <pattern>${PATTERN}</pattern>-->
<!-- <charset>utf-8</charset>-->
<!-- </encoder>-->
<!-- <filter class="ch.qos.logback.classic.filter.LevelFilter">-->
<!-- <level>WARN</level>-->
<!-- <onMatch>ACCEPT</onMatch>-->
<!-- <onMismatch>DENY</onMismatch>-->
<!-- </filter>-->
<!-- </appender>-->
<!-- <appender name="DEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">-->
<!-- <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">-->
<!-- <fileNamePattern>${DEV_FILE_PATH}/log_debug_%d{yyyy-MM-dd_H}.%i.txt</fileNamePattern>-->
<!-- &lt;!&ndash; 当文件总大小超过1GB先删除10天内最早的文件。不会删除10天外的文件。 &ndash;&gt;-->
<!-- <maxHistory>${myMaxHistory}</maxHistory>-->
<!-- <maxFileSize>${myFileSize}</maxFileSize>-->
<!-- <totalSizeCap>${myTotalSizeCap}</totalSizeCap>-->
<!-- </rollingPolicy>-->
<!-- <append>true</append>-->
<!-- <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">-->
<!-- <pattern>${PATTERN}</pattern>-->
<!-- <charset>utf-8</charset>-->
<!-- </encoder>-->
<!-- <filter class="ch.qos.logback.classic.filter.LevelFilter">-->
<!-- <level>DEBUG</level>-->
<!-- <onMatch>ACCEPT</onMatch>-->
<!-- <onMismatch>DENY</onMismatch>-->
<!-- </filter>-->
<!-- </appender>-->
<!-- <appender name="SQL" class="ch.qos.logback.core.rolling.RollingFileAppender">-->
<!-- <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">-->
<!-- <fileNamePattern>${DEV_FILE_PATH}/log-sql-%d{yyyy-MM-dd_H}.%i.txt</fileNamePattern>-->
<!-- &lt;!&ndash; 每产生一个日志文件该日志文件的保存期限为3天 &ndash;&gt;-->
<!-- <maxHistory>${myMaxHistory}</maxHistory>-->
<!-- <maxFileSize>${myFileSize}</maxFileSize>-->
<!-- <totalSizeCap>${myTotalSizeCap}</totalSizeCap>-->
<!-- </rollingPolicy>-->
<!-- <append>true</append>-->
<!-- <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">-->
<!-- <pattern>${PATTERN}</pattern>-->
<!-- <charset>utf-8</charset>-->
<!-- </encoder>-->
<!-- <filter class="ch.qos.logback.classic.filter.LevelFilter">-->
<!-- <level>DEBUG</level>-->
<!-- <onMatch>ACCEPT</onMatch>-->
<!-- <onMismatch>DENY</onMismatch>-->
<!-- </filter>-->
<!-- </appender>-->
<!--异步输出-->
<!-- <appender name="DEBUG_ASYNC_LOG" class="ch.qos.logback.classic.AsyncAppender">-->
<!-- &lt;!&ndash; 不丢失日志.默认的,如果队列的80%已满,则会丢弃TRACT、DEBUG、INFO级别的日志 &ndash;&gt;-->
<!-- <discardingThreshold>0</discardingThreshold>-->
<!-- &lt;!&ndash; 更改默认的队列的深度,该值会影响性能.默认值为256 &ndash;&gt;-->
<!-- <queueSize>2048</queueSize>-->
<!-- <includeCallerData>true</includeCallerData>-->
<!-- &lt;!&ndash; 添加附加的appender,最多只能添加一个 &ndash;&gt;-->
<!-- <appender-ref ref="DEBUG"/>-->
<!-- </appender>-->
<!--异步输出-->
<appender name="ERROR_ASYNC_LOG" class="ch.qos.logback.classic.AsyncAppender">
<!-- 不丢失日志.默认的,如果队列的80%已满,则会丢弃TRACT、DEBUG、INFO级别的日志 -->
<discardingThreshold>0</discardingThreshold>
<!-- 更改默认的队列的深度,该值会影响性能.默认值为256 -->
<queueSize>1024</queueSize>
<includeCallerData>true</includeCallerData>
<!-- 添加附加的appender,最多只能添加一个 -->
<appender-ref ref="ERROR"/>
</appender>
<!--异步输出-->
<!-- <appender name="WARN_ASYNC_LOG" class="ch.qos.logback.classic.AsyncAppender">-->
<!-- &lt;!&ndash; 不丢失日志.默认的,如果队列的80%已满,则会丢弃TRACT、DEBUG、INFO级别的日志 &ndash;&gt;-->
<!-- <discardingThreshold>0</discardingThreshold>-->
<!-- &lt;!&ndash; 更改默认的队列的深度,该值会影响性能.默认值为256 &ndash;&gt;-->
<!-- <queueSize>1024</queueSize>-->
<!-- <includeCallerData>true</includeCallerData>-->
<!-- &lt;!&ndash; 添加附加的appender,最多只能添加一个 &ndash;&gt;-->
<!-- <appender-ref ref="WARN"/>-->
<!-- </appender>-->
<!--异步输出-->
<appender name="INFO_ASYNC_LOG" class="ch.qos.logback.classic.AsyncAppender">
<!-- 不丢失日志.默认的,如果队列的80%已满,则会丢弃TRACT、DEBUG、INFO级别的日志 -->
<discardingThreshold>0</discardingThreshold>
<!-- 更改默认的队列的深度,该值会影响性能.默认值为256 -->
<queueSize>2048</queueSize>
<includeCallerData>true</includeCallerData>
<!-- 添加附加的appender,最多只能添加一个 -->
<appender-ref ref="INFO"/>
</appender>
<!--异步输出-->
<!-- <appender name="SQL_ASYNC_LOG" class="ch.qos.logback.classic.AsyncAppender">-->
<!-- &lt;!&ndash; 不丢失日志.默认的,如果队列的80%已满,则会丢弃TRACT、DEBUG、INFO级别的日志 &ndash;&gt;-->
<!-- <discardingThreshold>0</discardingThreshold>-->
<!-- &lt;!&ndash; 更改默认的队列的深度,该值会影响性能.默认值为256 &ndash;&gt;-->
<!-- <queueSize>2048</queueSize>-->
<!-- <includeCallerData>true</includeCallerData>-->
<!-- &lt;!&ndash; 添加附加的appender,最多只能添加一个 &ndash;&gt;-->
<!-- <appender-ref ref="SQL"/>-->
<!-- </appender>-->
<!--
<logger>用来设置某一个包或者具体的某一个类的日志打印级别、
以及指定<appender><logger>仅有一个name属性
一个可选的level和一个可选的addtivity属性。
name:用来指定受此logger约束的某一个包或者具体的某一个类。
level:用来设置打印级别大小写无关TRACE, DEBUG, INFO, WARN, ERROR, ALL 和 OFF
还有一个特俗值INHERITED或者同义词NULL代表强制执行上级的级别。
如果未设置此属性那么当前logger将会继承上级的级别。
addtivity:是否向上级logger传递打印信息。默认是true。
-->
<!-- <logger name="dao" level="ERROR">-->
<!-- <appender-ref ref="SQL"/>-->
<!-- <appender-ref ref="STDOUT"/>-->
<!-- </logger>-->
<root level="${logLevel}">
<appender-ref ref="STDOUT"/>
<appender-ref ref="fileAppender"/>
<appender-ref ref="INFO_ASYNC_LOG"/>
<!-- <appender-ref ref="WARN_ASYNC_LOG"/>-->
<appender-ref ref="ERROR_ASYNC_LOG"/>
<!-- <appender-ref ref="DEBUG_ASYNC_LOG"/>-->
<!-- <appender-ref ref="SQL_ASYNC_LOG"/>-->
</root>
</configuration>

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.nmgs.mapper.Get_OperMassageMapper">
<select id="select" parameterType="String" resultType="java.util.HashMap">
${sql}
</select>
<select id="selectforlist" parameterType="String" resultType="java.util.HashMap">
${sql}
</select>
<update id="update" parameterType="String">
${sql}
</update>
<select id="selectpage" parameterType="String" resultType="java.util.HashMap">
${sql}
</select>
</mapper>

@ -1,74 +0,0 @@
#\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E
spring.logback.appName=Report_manage
spring.logback.level=INFO
spring.logback.myMaxHistory=30
spring.logback.myFileSize=10MB
spring.logback.myTotalSizeCap=2GB
spring.thymeleaf.prefix=classpath:/static/
#给返回的页面添加后缀名
spring.thymeleaf.suffix=.html
spring.thymeleaf.servlet.content-type=text/html:
spring.thymeleaf.mode=HTML
spring.thymeleaf.cache=false
spring.thymeleaf.encoding=utf-8
#\u7F16\u7801\u8BBE\u7F6E
server.servlet.encoding.charset=UTF-8
server.servlet.encoding.enabled=true
server.servlet.encoding.force=true
spring.messages.encoding=UTF-8
spring.profiles.active=dev
# \u8FDE\u63A5\u6C60\u914D\u7F6E
spring.datasource.name=com.zaxxer.hikari.HikariConfig
spring.datasource.hikari.maximum-pool-size=25
spring.datasource.hikari.auto-commit=true
spring.datasource.hikari.idle-timeout=0
spring.datasource.hikari.pool-name=DatebookHikariCP
spring.datasource.hikari.max-lifetime=300000
spring.datasource.hikari.connection-timeout=60000
spring.datasource.hikari.minimum-idle=1
spring.datasource.hikari.allow-pool-suspension: true
spring.datasource.hikari.register-mbeans: true
spring.datasource.hikari.leak-detection-threshold: 60000
# xml\u5730\u5740
spring.mybatis-plus.mapper-locations= com.nmgs.mapper/Get_OperMassageMapper.xml
# \u5B9E\u4F53\u626B\u63CF\uFF0C\u591A\u4E2Apackage\u7528\u9017\u53F7\u6216\u8005\u5206\u53F7\u5206\u9694
#\u81EA\u5DF1\u7684\u5B9E\u4F53\u7C7B\u5730\u5740
spring.mybatis-plus.type-aliases-package=com.nmgs.entity
# \u670D\u52A1\u6A21\u5757
# \u70ED\u90E8\u7F72\u5F00\u5173
spring.devtools.restart.enabled=true
#\u91CD\u542F\u76EE\u5F55
spring.devtools.restart.additional-paths=src/main
#redis
spring.session.store-type=none
#spring-session
spring.session.timeout: PT30M
spring.datasource.initialization-mode=always
#\u53BB\u9664\u9644\u4EF6\u5927\u5C0F\u9650\u5236
#\u8BF7\u6C42\u53C2\u6570\u957F\u5EA6
server.tomcat.max-http-form-post-size=10MB
server.max-http-header-size=10MB
#\u6700\u5927\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F(10MB)
spring.servlet.multipart.max-file-size = -1
spring.servlet.multipart.max-request-size = -1
server.tomcat.max-swallow-size = -1
server.tomcat.max-threads=1000
#\u4E0D\u53EF\u914D\u7F6E\u7684\u914D\u7F6E\u9879
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
logging.level.com.nmgs.ssmpback.mapper=debug
sqlClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
sqlvalidationQuery=SELECT 1
OracleClassName=oracle.jdbc.driver.OracleDriver
OraclevalidationQuery=SELECT 1 from dual
DMClassName=dm.jdbc.driver.DmDriver
DMvalidationQuery=SELECT 1
MySQLClassName=com.mysql.cj.jdbc.Driver
MySQLvalidationQuery=SELECT 1

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,25 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
<title>内蒙古自治区收费公路数据采集和综合应用系统</title>
<script type="module" crossorigin src="./assets/index-c3662ce0.js"></script>
<link rel="stylesheet" href="./assets/index-4225acd3.css">
</head>
<body>
<div style="width: 100% ;height: 100%;" id="app"></div>
</body>
</html>
<style>
html,body{
margin:0;
width:100%;
height:100%;
}
</style>

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save