From 1465126135eb3bf7e12ed0aae7191c6c41fff2fc Mon Sep 17 00:00:00 2001
From: jiangs <373297395@qq.com>
Date: Tue, 21 Oct 2025 15:25:20 +0800
Subject: [PATCH] =?UTF-8?q?map=E5=AF=B9=E8=B1=A1=E5=85=81=E8=AE=B8?=
=?UTF-8?q?=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=97=B6=E5=80=99=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lis-system/src/main/resources/application.yml | 7 +++--
.../main/resources/mybatis/mybatis-config.xml | 4 ++-
.../mapper/LisWorkPageInfoMapper.xml | 28 ++++++++++++-------
3 files changed, 25 insertions(+), 14 deletions(-)
diff --git a/lis-system/src/main/resources/application.yml b/lis-system/src/main/resources/application.yml
index 165eeb7..db097b2 100644
--- a/lis-system/src/main/resources/application.yml
+++ b/lis-system/src/main/resources/application.yml
@@ -13,7 +13,6 @@ czlis:
addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证
captchaType: math
- interfaceUrl: http://localhost:8080
# 开发环境配置
server:
@@ -46,7 +45,7 @@ logging:
user:
password:
# 密码最大错误次数
- maxRetryCount: 5
+ maxRetryCount: 10
# 密码锁定时间(默认10分钟)
lockTime: 10
@@ -97,6 +96,7 @@ spring:
time-zone: GMT+8
serialization:
write-dates-as-timestamps: false # 禁用时间戳格式,使用自定义格式
+ default-property-inclusion: always
# token配置
token:
@@ -105,7 +105,7 @@ token:
# 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟)
- expireTime: 30
+ expireTime: 300
# MyBatis配置
mybatis:
@@ -120,6 +120,7 @@ mybatis:
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
#输出日志到控制台
#org.apache.ibatis.logging.stdout.StdOutImpl
+ call-setters-on-nulls: true
# PageHelper分页插件
pagehelper:
diff --git a/lis-system/src/main/resources/mybatis/mybatis-config.xml b/lis-system/src/main/resources/mybatis/mybatis-config.xml
index ac47c03..66f85e1 100644
--- a/lis-system/src/main/resources/mybatis/mybatis-config.xml
+++ b/lis-system/src/main/resources/mybatis/mybatis-config.xml
@@ -15,6 +15,8 @@ PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
-
+
+
+
diff --git a/liswork/src/main/resources/mapper/LisWorkPageInfoMapper.xml b/liswork/src/main/resources/mapper/LisWorkPageInfoMapper.xml
index 0027ce8..d004f5e 100644
--- a/liswork/src/main/resources/mapper/LisWorkPageInfoMapper.xml
+++ b/liswork/src/main/resources/mapper/LisWorkPageInfoMapper.xml
@@ -41,24 +41,32 @@