站点搜索接口,图例管理,mybatis-plus连表插件整合,零碎修改等

This commit is contained in:
mi9688
2024-10-09 15:03:18 +08:00
parent b66357dd77
commit 04def663c1
21 changed files with 568 additions and 28 deletions

View File

@ -74,7 +74,7 @@ spring:
# 服务模块
devtools:
restart:
enabled: true # 热部署开关
enabled: false # 热部署开关
task:
execution:
pool:
@ -103,7 +103,7 @@ user:
token:
header: Authorization # 令牌自定义标识
secret: abcdefghijklfastbeesmartrstuvwxyz # 令牌密钥
expireTime: 1440 # 令牌有效期默认30分钟1440为一天
expireTime: 144000 # 令牌有效期默认30分钟1440为一天
# MyBatis配置
#mybatis:
@ -118,7 +118,7 @@ mybatis-plus:
configLocation: classpath:mybatis/mybatis-config.xml # 加载全局的配置文件
global-config:
db-config:
id-type: AUTO # 自增 ID
id-type: ASSIGN_ID
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<!-- 全局参数 -->
<settings>
@ -11,10 +11,10 @@ PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
<setting name="useGeneratedKeys" value="true" />
<!-- 配置默认的执行器.SIMPLE就是普通执行器;REUSE执行器会重用预处理语句(prepared statements);BATCH执行器将重用语句并执行批量更新 -->
<setting name="defaultExecutorType" value="SIMPLE" />
<!-- 指定 MyBatis 所用日志的具体实现 -->
<!-- 指定 MyBatis 所用日志的具体实现 -->
<setting name="logImpl" value="SLF4J" />
<!-- 使用驼峰命名法转换字段 -->
<!-- <setting name="mapUnderscoreToCamelCase" value="true"/> -->
</settings>
<!-- <setting name="mapUnderscoreToCamelCase" value="true"/> -->
</settings>
</configuration>