This commit is contained in:
parent
34dff4a7e9
commit
94533eff7c
|
|
@ -1,60 +0,0 @@
|
||||||
2024-07-29 14:48:01,646 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -[LoggingFailureAnalysisReporter.java:40]-
|
|
||||||
|
|
||||||
***************************
|
|
||||||
APPLICATION FAILED TO START
|
|
||||||
***************************
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
A component required a bean of type 'javax.validation.Validator' that could not be found.
|
|
||||||
|
|
||||||
|
|
||||||
Action:
|
|
||||||
|
|
||||||
Consider defining a bean of type 'javax.validation.Validator' in your configuration.
|
|
||||||
|
|
||||||
2024-07-29 14:49:11,664 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -[LoggingFailureAnalysisReporter.java:40]-
|
|
||||||
|
|
||||||
***************************
|
|
||||||
APPLICATION FAILED TO START
|
|
||||||
***************************
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
A component required a bean of type 'javax.validation.Validator' that could not be found.
|
|
||||||
|
|
||||||
|
|
||||||
Action:
|
|
||||||
|
|
||||||
Consider defining a bean of type 'javax.validation.Validator' in your configuration.
|
|
||||||
|
|
||||||
2024-07-29 14:49:50,549 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -[LoggingFailureAnalysisReporter.java:40]-
|
|
||||||
|
|
||||||
***************************
|
|
||||||
APPLICATION FAILED TO START
|
|
||||||
***************************
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
A component required a bean of type 'javax.validation.Validator' that could not be found.
|
|
||||||
|
|
||||||
|
|
||||||
Action:
|
|
||||||
|
|
||||||
Consider defining a bean of type 'javax.validation.Validator' in your configuration.
|
|
||||||
|
|
||||||
2024-07-29 14:54:52,978 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -[LoggingFailureAnalysisReporter.java:40]-
|
|
||||||
|
|
||||||
***************************
|
|
||||||
APPLICATION FAILED TO START
|
|
||||||
***************************
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
A component required a bean of type 'javax.validation.Validator' that could not be found.
|
|
||||||
|
|
||||||
|
|
||||||
Action:
|
|
||||||
|
|
||||||
Consider defining a bean of type 'javax.validation.Validator' in your configuration.
|
|
||||||
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
2024-07-29 13:55:48,800 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 26648 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 13:55:48,801 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 13:55:48,802 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 13:55:50,147 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 13:55:51,297 [main] Started SpringBootSecurityApplication in 2.805 seconds (JVM running for 3.773)
|
|
||||||
2024-07-29 14:25:42,558 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 11336 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 14:25:42,559 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 14:25:42,560 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 14:25:43,783 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 14:25:44,794 [main] Started SpringBootSecurityApplication in 2.546 seconds (JVM running for 3.602)
|
|
||||||
2024-07-29 14:48:00,112 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 6924 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 14:48:00,113 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 14:48:00,115 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 14:48:01,350 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 14:49:10,050 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 32012 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 14:49:10,052 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 14:49:10,052 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 14:49:11,388 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 14:49:48,941 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 18744 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 14:49:48,942 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 14:49:48,943 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 14:49:50,265 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 14:54:51,405 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 29188 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 14:54:51,406 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 14:54:51,406 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 14:54:52,705 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 14:55:23,017 [main] Starting SpringBootSecurityApplication using Java 1.8.0_401 on LAPTOP-S503L7SI with PID 30260 (L:\idea_project\aqd_screen\target\classes started by 10488 in L:\idea_project\aqd_screen)
|
|
||||||
2024-07-29 14:55:23,017 [main] Running with Spring Boot v2.4.5, Spring v5.3.6
|
|
||||||
2024-07-29 14:55:23,018 [main] No active profile set, falling back to default profiles: default
|
|
||||||
2024-07-29 14:55:24,410 [main] Filter 'jwtAuthenticationTokenFilter' configured for use
|
|
||||||
2024-07-29 14:55:25,536 [main] Started SpringBootSecurityApplication in 2.836 seconds (JVM running for 3.964)
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
# 配置端口
|
|
||||||
server:
|
|
||||||
port: 18080
|
|
||||||
servlet:
|
|
||||||
context-path: /aqd_screen
|
|
||||||
max-http-header-size: 10240
|
|
||||||
spring:
|
|
||||||
# 配置数据源
|
|
||||||
datasource:
|
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
||||||
url: jdbc:mysql://127.0.0.1:3306/sz_aqd?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
||||||
username: root
|
|
||||||
password: ccw1998@yyt1999
|
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
|
||||||
redis:
|
|
||||||
host: 127.0.0.1
|
|
||||||
port: 6379
|
|
||||||
servlet:
|
|
||||||
multipart:
|
|
||||||
max-file-size: -1
|
|
||||||
max-request-size: -1
|
|
||||||
#mapper配置
|
|
||||||
mybatis:
|
|
||||||
mapper-locations: classpath:mappers/*/*Mapper.xml
|
|
||||||
#日志配置
|
|
||||||
logging:
|
|
||||||
config: classpath:logback-boot.xml
|
|
||||||
log:
|
|
||||||
level:
|
|
||||||
root: info
|
|
||||||
my: debug
|
|
||||||
file: logs/sys-back.log
|
|
||||||
maxsize: 30MB
|
|
||||||
#是否开启安全模式
|
|
||||||
zhly:
|
|
||||||
aq:
|
|
||||||
enable: false
|
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,86 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<configuration>
|
|
||||||
<springProperty name="logFile" source="log.file" />
|
|
||||||
<springProperty name="rootlevel" source="log.level.root" />
|
|
||||||
<springProperty name="mylevel" source="log.level.my" />
|
|
||||||
<springProperty name="maxFileSize" source="log.maxsize" />
|
|
||||||
|
|
||||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|
||||||
<encoder>
|
|
||||||
<pattern>%d [%thread] %-5level %logger{50} -[%file:%line]- %msg%n
|
|
||||||
</pattern>
|
|
||||||
<charset>UTF-8</charset>
|
|
||||||
</encoder>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<appender name="adminLog"
|
|
||||||
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
||||||
<file>${logFile}</file>
|
|
||||||
<encoder>
|
|
||||||
<pattern>%d [%thread] %-5level -[%file:%line]- %msg%n
|
|
||||||
</pattern>
|
|
||||||
<charset>UTF-8</charset>
|
|
||||||
</encoder>
|
|
||||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
||||||
<fileNamePattern>${logFile}.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
||||||
<maxFileSize>${maxFileSize}</maxFileSize>
|
|
||||||
<!-- 每产生一个日志文件,该日志文件的保存期限为15天 -->
|
|
||||||
<maxHistory>15</maxHistory>
|
|
||||||
</rollingPolicy>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<appender name="errorLog"
|
|
||||||
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
||||||
<file>${logFile}.error</file>
|
|
||||||
<encoder>
|
|
||||||
<pattern>%d [%thread] %-5level %logger{36} -[%file:%line]- %msg%n
|
|
||||||
</pattern>
|
|
||||||
<charset>UTF-8</charset>
|
|
||||||
</encoder>
|
|
||||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
||||||
<fileNamePattern>${logFile}.error.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
||||||
<maxFileSize>${maxFileSize}</maxFileSize>
|
|
||||||
<!-- 每产生一个日志文件,该日志文件的保存期限为15天 -->
|
|
||||||
<maxHistory>15</maxHistory>
|
|
||||||
</rollingPolicy>
|
|
||||||
<filter class="ch.qos.logback.classic.filter.LevelFilter">
|
|
||||||
<level>error</level>
|
|
||||||
<onMatch>ACCEPT</onMatch>
|
|
||||||
<onMismatch>DENY</onMismatch>
|
|
||||||
</filter>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<appender name="sqlLog"
|
|
||||||
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
||||||
<file>${logFile}.sql</file>
|
|
||||||
<encoder>
|
|
||||||
<pattern>%d [%thread] %msg%n
|
|
||||||
</pattern>
|
|
||||||
<charset>UTF-8</charset>
|
|
||||||
</encoder>
|
|
||||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
||||||
<fileNamePattern>${logFile}.sql.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
||||||
<maxFileSize>${maxFileSize}</maxFileSize>
|
|
||||||
<!-- 每产生一个日志文件,该日志文件的保存期限为15天 -->
|
|
||||||
<maxHistory>15</maxHistory>
|
|
||||||
</rollingPolicy>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<logger name="adminLogger" level="${mylevel}" additivity="true">
|
|
||||||
<appender-ref ref="adminLog" />
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
<logger name="com.bonus.aqd" level="DEBUG" additivity="true">
|
|
||||||
<appender-ref ref="sqlLog" />
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
<logger name="org.springframework.scheduling.quartz" level="error" additivity="true">
|
|
||||||
<appender-ref ref="adminLog" />
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
<root level="${rootlevel}">
|
|
||||||
<appender-ref ref="STDOUT" />
|
|
||||||
<appender-ref ref="errorLog" />
|
|
||||||
</root>
|
|
||||||
|
|
||||||
</configuration>
|
|
||||||
|
|
@ -1,23 +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.bonus.aqd.base.dao.IndexMapper">
|
|
||||||
|
|
||||||
<!--安全带设备列表-->
|
|
||||||
<select id="getDevicesInfo" resultType="com.bonus.aqd.base.entity.vo.DeviceInfoVo">
|
|
||||||
SELECT id,
|
|
||||||
dev_name AS devName,
|
|
||||||
dev_code AS devCode,
|
|
||||||
dev_modu AS devModu,
|
|
||||||
dev_a AS devA,
|
|
||||||
dev_b AS devB,
|
|
||||||
dev_a_time AS devATime,
|
|
||||||
dev_b_time AS devBTime,
|
|
||||||
dev_status AS devStatus,
|
|
||||||
puid,
|
|
||||||
dev_time AS devTime
|
|
||||||
FROM tb_device
|
|
||||||
WHERE del_flag = 0
|
|
||||||
ORDER BY dev_time DESC
|
|
||||||
</select>
|
|
||||||
</mapper>
|
|
||||||
|
|
@ -1,13 +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.bonus.zhly.manager.core.dao.SysUserDao">
|
|
||||||
<!--查询用户-->
|
|
||||||
<select id="selectUserByName" resultType="com.bonus.aqd.manager.core.entity.SysUserEntity">
|
|
||||||
SELECT t.id AS userId,
|
|
||||||
t.user_name AS username,
|
|
||||||
t.password
|
|
||||||
FROM sys_user t
|
|
||||||
WHERE t.login_name = #{username} AND del_flag = 0
|
|
||||||
</select>
|
|
||||||
</mapper>
|
|
||||||
Loading…
Reference in New Issue