2024年08月02日 1.0.1 token时长读取配置文件tokenOutTime
parent
4f7acbdef3
commit
787a1f1727
@ -0,0 +1 @@
|
||||
org.springframework.boot.env.EnvironmentPostProcessor=com.nmgs.isms.common.config.MyEnvironmentPostProcessor
|
||||
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.
@ -0,0 +1,47 @@
|
||||
<?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路径-->
|
||||
<mapper namespace="com.nmgs.isms.mapper.ChartSizeMapper">
|
||||
|
||||
<select id="selectChartSizeSqlServer" resultType="com.nmgs.isms.entity.DataChartSize">
|
||||
select BUCKETNAME,CONVERT(int,SUBSTRING(BUCKETNAME,7,2)) BUCKETNUM,
|
||||
SUM(OBJSIZE) totalSize,
|
||||
SUM(case when OBJTYPE = 1 then OBJSIZE else 0 end) laneHeadPic,
|
||||
SUM(case when OBJTYPE = 2 then OBJSIZE else 0 end) greenPassPic,
|
||||
SUM(case when OBJTYPE = 3 then OBJSIZE else 0 end) hDBayonetPic,
|
||||
SUM(case when OBJTYPE = 4 then OBJSIZE else 0 end) gantryPic,
|
||||
SUM(case when OBJTYPE = 5 then OBJSIZE else 0 end) platePic,
|
||||
SUM(case when OBJTYPE = 6 then OBJSIZE else 0 end) tailPic,
|
||||
SUM(case when OBJTYPE = 7 then OBJSIZE else 0 end) overloadPic,
|
||||
SUM(case when OBJTYPE = 8 then OBJSIZE else 0 end) inspectionPic
|
||||
from STORAGERECORD group by BUCKETNAME order by BUCKETNUM asc
|
||||
</select>
|
||||
<select id="selectChartSizeOracle" resultType="com.nmgs.isms.entity.DataChartSize">
|
||||
select BUCKETNAME,to_number(SUBSTR(BUCKETNAME,7,2)) BUCKETNUM,
|
||||
SUM(OBJSIZE) totalSize,
|
||||
SUM(case when OBJTYPE = 1 then OBJSIZE else 0 end) laneHeadPic,
|
||||
SUM(case when OBJTYPE = 2 then OBJSIZE else 0 end) greenPassPic,
|
||||
SUM(case when OBJTYPE = 3 then OBJSIZE else 0 end) hDBayonetPic,
|
||||
SUM(case when OBJTYPE = 4 then OBJSIZE else 0 end) gantryPic,
|
||||
SUM(case when OBJTYPE = 5 then OBJSIZE else 0 end) platePic,
|
||||
SUM(case when OBJTYPE = 6 then OBJSIZE else 0 end) tailPic,
|
||||
SUM(case when OBJTYPE = 7 then OBJSIZE else 0 end) overloadPic,
|
||||
SUM(case when OBJTYPE = 8 then OBJSIZE else 0 end) inspectionPic
|
||||
from STORAGERECORD group by BUCKETNAME order by BUCKETNUM asc
|
||||
</select>
|
||||
<select id="selectChartSizeMySql" resultType="com.nmgs.isms.entity.DataChartSize">
|
||||
select BUCKETNAME,CONVERT(SUBSTRING(BUCKETNAME,7,2),SIGNED) BUCKETNUM,
|
||||
SUM(OBJSIZE) totalSize,
|
||||
SUM(case when OBJTYPE = 1 then OBJSIZE else 0 end) laneHeadPic,
|
||||
SUM(case when OBJTYPE = 2 then OBJSIZE else 0 end) greenPassPic,
|
||||
SUM(case when OBJTYPE = 3 then OBJSIZE else 0 end) hDBayonetPic,
|
||||
SUM(case when OBJTYPE = 4 then OBJSIZE else 0 end) gantryPic,
|
||||
SUM(case when OBJTYPE = 5 then OBJSIZE else 0 end) platePic,
|
||||
SUM(case when OBJTYPE = 6 then OBJSIZE else 0 end) tailPic,
|
||||
SUM(case when OBJTYPE = 7 then OBJSIZE else 0 end) overloadPic,
|
||||
SUM(case when OBJTYPE = 8 then OBJSIZE else 0 end) inspectionPic
|
||||
from STORAGERECORD group by BUCKETNAME order by BUCKETNUM asc
|
||||
</select>
|
||||
</mapper>
|
||||
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.
@ -0,0 +1,80 @@
|
||||
#\u65E5\u5FD7\u9ED8\u8BA4\u914D\u7F6E
|
||||
spring.logback.appName=isms
|
||||
spring.logback.level=INFO
|
||||
spring.logback.myMaxHistory=30
|
||||
spring.logback.myFileSize=10MB
|
||||
spring.logback.myTotalSizeCap=2GB
|
||||
#\u7F16\u7801\u8BBE\u7F6E
|
||||
spring.http.encoding.charset=UTF-8
|
||||
spring.http.encoding.enabled=true
|
||||
spring.http.encoding.force=true
|
||||
spring.messages.encoding=UTF-8
|
||||
spring.profiles.active=dev
|
||||
server.resources.static-locations=classpath:/resources/,classpath:/static/
|
||||
# \u8FDE\u63A5\u6C60\u914D\u7F6E
|
||||
spring.datasource.name=com.zaxxer.hikari.HikariConfig
|
||||
spring.datasource.type=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.sg.isms.mapper/*Mapper.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.sg.isms.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
|
||||
|
||||
|
||||
|
||||
mybatis-plus.configuration.map-underscore-to-camel-case=false
|
||||
spring.jackson.time-zone=GMT+8
|
||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
||||
spring.mvc.static-path-pattern=/**
|
||||
#前端vue
|
||||
spring.web.resources.static-locations= classpath:/static/
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<link rel="icon" href="./assets/favicon.b64889c6.ico"/>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title></title>
|
||||
<script type="module" crossorigin src="./assets/index.9fce2f08.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.a14325e1.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="app"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,39 @@
|
||||
{
|
||||
"Version":"2012-10-17",
|
||||
"Statement":[
|
||||
{
|
||||
"Effect":"Allow",
|
||||
"Principal":{
|
||||
"AWS":[
|
||||
"*"
|
||||
]
|
||||
},
|
||||
"Action":[
|
||||
"s3:GetBucketLocation",
|
||||
"s3:ListBucket",
|
||||
"s3:ListBucketMultipartUploads"
|
||||
],
|
||||
"Resource":[
|
||||
"arn:aws:s3:::bucket1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Effect":"Allow",
|
||||
"Principal":{
|
||||
"AWS":[
|
||||
"*"
|
||||
]
|
||||
},
|
||||
"Action":[
|
||||
"s3:ListMultipartUploadParts",
|
||||
"s3:PutObject",
|
||||
"s3:AbortMultipartUpload",
|
||||
"s3:DeleteObject",
|
||||
"s3:GetObject"
|
||||
],
|
||||
"Resource":[
|
||||
"arn:aws:s3:::bucket1/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue