feat: 部门改价配置功能完善

- 修复部门改价配置保存问题(Mapstruct转换失败)
- 添加部门改价比例和开关字段
- 实现自动改价功能(根据部门配置)
- 改价金额抹零到十位数(58->50, 65->60)
- 修复部门缓存清除问题
This commit is contained in:
huacracker
2026-03-11 12:03:48 +08:00
parent 259526b31b
commit 0d6efb3e4e
8 changed files with 114 additions and 19 deletions

View File

@@ -130,6 +130,7 @@
<configuration>
<fork>true</fork>
<addResources>true</addResources>
<mainClass>org.dromara.XgtAdminApplication</mainClass>
</configuration>
<executions>
<execution>

View File

@@ -80,13 +80,13 @@ spring:
spring.data:
redis:
# 地址
host: jcs-mysql.52o.site
host: 220.205.16.51
# 端口默认为6379
port: 26739
# 数据库索引
database: 1
# redis 密码必须配置
password: 3NpZYtRLr6EnfASr
password: yahsj5EpPJzpG4cY
# 连接超时时间
timeout: 10s
# 是否开启ssl
@@ -102,6 +102,12 @@ redisson:
nettyThreads: 8
# 单节点配置
singleServerConfig:
# 服务器地址
address: redis://220.205.16.51:26739
# 密码
password: yahsj5EpPJzpG4cY
# 数据库
database: 1
# 客户端名称
clientName: XGT-ADMIN
# 最小空闲连接数