lengleng
|
2551ef2606
|
refactor(RedisUtils): 统一RedisTemplate泛型类型并优化代码格式
- 将所有RedisTemplate声明统一为<String, Object>类型提高类型安全
- 调整代码缩进格式为统一标准
- 移除冗余的Optional.ofNullable包装简化代码逻辑
- 保持原有Redis操作方法功能不变
|
2025-10-09 14:47:45 +08:00 |
|
PIG AI
|
2d7d089fcd
|
feat(auth): 优化租户过期验证逻辑并统一Redis key格式
- 修改登录失败/成功处理中的Redis key格式,移除tenantKeyStrResolver依赖
- 简化RedisUtils.execute调用方式,移除冗余的RedisCallback类型声明
- 在SysTenantServiceImpl中增加租户状态和时间有效性过滤
- 重构TenantContextHolderFilter的租户验证逻辑,增加remoteTenantService备用查询
- 调整租户无效时的HTTP状态码为426并优化响应内容类型
|
2025-07-04 16:41:06 +08:00 |
|
PIG AI
|
00efa97eef
|
feat(cache): 在RedisUtils中增加increment方法并优化验证码缓存服务
- 新增RedisUtils.increment方法用于原子递增操作
- 重构CaptchaCacheServiceProvider使用RedisUtils替代直接stringRedisTemplate调用
- 统一Redis缓存操作工具类方法调用方式
|
2025-07-04 12:24:28 +08:00 |
|
PIG AI
|
32c7aec93d
|
fix(mybatis): 修复匿名用户处理逻辑返回null值问题
- 修改AnonymousAuthenticationToken情况下的返回值为null
- 优化authentication对象存在性检查逻辑
|
2025-07-04 12:07:15 +08:00 |
|
PIG AI
|
3a53fb5677
|
feat(redis): 添加Redis工具类,优化RedisTemplate配置
|
2025-07-04 11:57:22 +08:00 |
|
PIG AI
|
7205251977
|
feat(upms): ❕ 增强多租户支持,支持在线切换租户
- 新增SysTenantUser实体类及Mapper用于租户用户关系管理
- 新增SysUserDept实体类及Mapper实现用户多部门支持
- 重构用户信息查询逻辑,支持跨租户查询
- 优化部门管理,支持多租户下的部门树查询
- 扩展UserInfo DTO增加deptId字段
- 重构Redis授权服务,优化租户信息存储结构
# Conflicts:
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/controller/SysTenantController.java
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/service/SysUserService.java
|
2025-07-04 11:56:14 +08:00 |
|
PIG AI
|
a970fe166a
|
refactor(stream): 替换Collectors.toList()为toList()方法
- 优化代码简洁性,使用Java 16引入的Stream.toList()替代Collectors.toList()
- 统一代码风格,减少冗余代码
- 提升代码可读性,简化stream操作
|
2025-07-04 11:50:17 +08:00 |
|
PIG AI
|
de7e1fb4df
|
feat(pom): 升级项目版本及依赖版本
- 将项目版本从5.8.0升级至5.9.0
- 升级spring-boot版本至3.5.3
- 升级spring-boot-admin版本至3.5.0
- 更新所有子模块的parent版本号
|
2025-06-24 09:00:07 +08:00 |
|
PIG AI
|
718a587c19
|
feat(tenant): 增强租户状态检查逻辑
- 新增对租户有效期的检查,包括startTime和endTime验证
- 优化无效租户的响应方式,返回401状态码和JSON格式错误信息
- 使用JSONUtil和ContentType处理错误响应输出
- 添加@SneakyThrows注解处理潜在异常
|
2025-06-23 16:18:09 +08:00 |
|
PIG AI
|
8d0eb9c8fb
|
feat(mybatis): 修改匿名用户处理逻辑以返回用户名
- 移除未使用的SecurityUtils import
- 当用户为AnonymousAuthenticationToken时返回authentication.getName()
- 保持原有非匿名用户处理逻辑不变
|
2025-06-23 16:16:39 +08:00 |
|
冷冷
|
8edb1458a0
|
feat(mybatis): 支持Oracle和PostgreSQL数据库的SQL表名提取功能
|
2025-06-23 16:04:25 +08:00 |
|
冷冷
|
3a8116b5ea
|
chore(pom): update version from 5.7.0 to 5.8.0 across multiple modules
|
2025-03-09 20:47:25 +08:00 |
|
冷冷
|
cc0f1cda67
|
feat(data): 支持通过参数跳过数据权限
用法:
DataScope dataScope = new DataScope();
dataScope.setSkip(true);
baseMapper.selectPageByScope(page, wrapper, dataScope);
|
2024-12-25 09:36:18 +08:00 |
|
冷冷
|
9415d82c28
|
🔖 V5.7.0
|
2024-12-05 12:23:43 +08:00 |
|
冷冷
|
8baef653f1
|
upgrade(all): 5.7.0-SNAPSHOT
|
2024-11-27 22:04:25 +08:00 |
|
冷冷
|
536be6fb15
|
refactor(data): 数据权限查询角色优化
|
2024-11-26 14:14:27 +08:00 |
|
冷冷
|
0d798c328f
|
refactor(data): 数据权限查询角色优化
|
2024-11-26 14:06:11 +08:00 |
|
冷冷
|
10e5234e34
|
refactor(core): 适配 mybatis-plus 3.5.9
|
2024-11-24 18:04:22 +08:00 |
|
冷冷
|
075cda636a
|
refactor(data): 业务代码里的规则,覆盖计算规则
|
2024-11-22 10:38:15 +08:00 |
|
冷冷
|
02dea27959
|
refactor(data): 支持多角色数据权限计算
|
2024-11-21 23:10:28 +08:00 |
|
冷冷
|
fddf156651
|
refactor(data): 支持多角色数据权限计算
|
2024-11-21 23:10:13 +08:00 |
|
luolin
|
1e79c85b17
|
♻️ Refactoring code.解决数据库存空串的情况
|
2024-09-10 23:00:13 +08:00 |
|
冷冷
|
0d8cde1e13
|
refactor(core): TenantContextHolderFilter 清空TTL 避免内存泄漏
Closes 5896
|
2024-09-03 16:23:50 +08:00 |
|
冷冷
|
89dd047167
|
upgrade(version): 5.6.0
|
2024-08-26 23:45:03 +08:00 |
|
冷冷
|
6671a4abf9
|
refactor(缓存): redistemplate / spring cache 使用 Json 序列化
sas 默认的缓存没有修改
|
2024-08-21 14:39:19 +08:00 |
|
冷冷
|
bb5e9cb555
|
upgrade(snapshot): 5.6.0-SNAPSHOT
|
2024-08-16 22:05:47 +08:00 |
|
冷冷
|
5827c163c2
|
feat(租户管理): 状态过期,强制退出对应租户所有操作
|
2024-08-16 15:28:13 +08:00 |
|
冷冷
|
cdac9cab16
|
✨ 增加mybatis-plus乐观锁插件
(cherry picked from commit b3ab378edaa27685ca1f8f02f0b46ed84f1c1729)
|
2024-08-16 15:17:17 +08:00 |
|
冷冷
|
aba51bbdb8
|
♻️ 增加 NoToken 注解方便对应 无token feign调用场景
(cherry picked from commit 2d78533a29c9c392f75d76cf202ae1daf8f7c77b)
|
2024-08-16 15:16:20 +08:00 |
|
冷冷
|
05d5e067d6
|
🔖 v5.5
|
2024-05-23 11:36:34 +08:00 |
|
冷冷
|
3d85bb87f8
|
🔖 v5.5.0-snapshot
|
2024-04-20 22:12:52 +08:00 |
|
冷冷
|
159ec6d9d4
|
♻️ Refactoring code. 架构重构支持 一套代码两种方式运行
|
2024-04-18 18:01:40 +08:00 |
|
lbw
|
9f6be8850b
|
🐛 Fixing a bug. 前端排序规则失效 SqlInjectionUtils Error
|
2024-03-04 21:57:19 +08:00 |
|
lbw
|
9b0fe3f4e2
|
🔖 Releasing / Version tags. 5.4
|
2024-02-22 21:30:39 +08:00 |
|
lbw
|
37bebcd066
|
♻️ Refactoring code. sql注入检测使用mybatis-plus 提供工具类替换
|
2024-02-22 19:23:18 +08:00 |
|
lbw
|
96278499dc
|
✨ Introducing new features. @TenantTable 注解
|
2024-02-19 13:03:14 +08:00 |
|
lbw
|
c5b2f82a7a
|
⬆️ Upgrading dependencies. springboot 3.2.x
|
2024-01-29 13:05:13 +08:00 |
|
lbw
|
d15832c784
|
♻️ Refactoring code. sql server durid
|
2023-12-12 12:30:37 +08:00 |
|
lbw
|
9b3280ff5d
|
🔖 Releasing / Version tags. v5.3.0
|
2023-12-03 19:40:18 +08:00 |
|
lbw
|
7460562571
|
🔖 Releasing / Version tags. 5.3.0-SNAPSHOT
|
2023-11-27 22:58:33 +08:00 |
|
lbw
|
f98fb3ba1a
|
♻️ Refactoring code. common-idempotent 适配 SpringBoot 3.X
|
2023-10-28 21:22:09 +08:00 |
|
lbw
|
cb4f51facc
|
⬆️ Upgrading dependencies. druid 1.2.20 & mybatis-plus-join 1.4.6 & sharding 5.4.1
|
2023-10-22 15:12:32 +08:00 |
|
lbw
|
dd89faff1e
|
♻️ Refactoring code. RedisTemplate 序列化规则使用常量类
|
2023-09-25 11:47:15 +08:00 |
|
lbw
|
2c6a700154
|
🔖 Releasing / Version tags. 5.2
🔖 Releasing / Version tags. 5.2
|
2023-09-13 10:28:40 +08:00 |
|
lbw
|
b9939a1420
|
✨ Introducing new features. druid log 支持根据表名跳过输出
|
2023-08-05 22:24:04 +08:00 |
|
lbw
|
d0bb2f01e7
|
✨ Introducing new features. #5041 ParamResolver 增加批量获取参数的方法封装
|
2023-08-02 17:40:53 +08:00 |
|
lbw
|
3aa2a54b56
|
♻️ Refactoring code. close #I7PVTQ 登录日志的创建人不对
|
2023-08-02 12:57:53 +08:00 |
|
lbw
|
c37b60e9dd
|
♻️ Refactoring code. close #I7PVTQ 登录日志的创建人不对
|
2023-08-02 12:54:51 +08:00 |
|
lbw
|
18d1ac8356
|
🐛 Fixing a bug. #5025 数据权限 COUNT 函数在全部数据权限级别执行错误
|
2023-07-25 19:41:14 +08:00 |
|
lbw
|
b69285c55b
|
✨ flowable M1的适配版本
|
2023-07-24 08:17:04 +08:00 |
|