Commit Graph

294 Commits (c83e7ecd6e5b698e59921f45b7d92acd7a9bc407)

Author SHA1 Message Date
Emil.Zhang c83e7ecd6e fix(解决数据权限不明确的问题):
1. 当某个用户包含有 自定义,本级,全部 三个级别权限的角色时,只取最大 全部 级别的数据权限
2. 当不含 全部
级别时,将统一所有角色下的数据权限,并返回
2022-02-11 10:20:12 +08:00
Tiki e3e90350d9
[代码优化] 添加支持配置的可回收用户缓存 (#722)
* [代码优化] 添加支持配置的可回收用户缓存
2022-02-10 09:41:31 +08:00
Zheng Jie c75b52e15b 代码优化,修改Controller中方法,避免名称重复
命名重复会打印如下日志,不介意的可以不修改:
s.d.s.w.s.ApiListingReferenceScanner: Generating unique operation named
2021-12-26 16:42:56 +08:00
Zheng Jie db1a20a83c 定时任务优化,默认不打印SQL日志 2021-12-24 21:01:49 +08:00
Dawei-Simayi 70a3d7550b
HashMap的容量一定是2的整数幂 (#711) 2021-12-23 15:55:40 +08:00
Zheng Jie 0ebbd66acb 代码优化 2021-12-10 16:18:42 +08:00
Zheng Jie d9d50d3594 代码优化 2021-12-04 14:43:52 +08:00
Zheng Jie b267258776 代码优化 2021-11-23 15:49:05 +08:00
dante 931ecb3ba7
Fix cache by future (#652)
* 利用future回调避免并发调用时有多个线程同时去数据库查询,导致消耗额外资源。经过测试在8个线程并发查询时性能提升

* 修复缓存测试时懒加载报错问题

* 调整格式
2021-11-23 15:33:59 +08:00
Zheng Jie 7b91c4405c 使用 mica-ip2region 解析IP地址信息 2021-11-22 10:40:18 +08:00
Zheng Jie 08f6c58211 close https://github.com/elunez/eladmin/issues/692 2021-11-16 21:15:52 +08:00
Emil-Zhang 38262e06b2
修复手动清除子任务id后导致运行定时任务报错 (#671) 2021-09-01 16:31:31 +08:00
yuyu1025 6c75df558e
Update MenuServiceImpl.java (#656)
防止isQuery为空时自动拆箱出现NullPointerException
2021-07-19 14:21:07 +08:00
Elune 3637ae0240 !24 修复yml配置ddl-auto配置不生效
Merge pull request !24 from 李恒/master
2021-07-19 06:15:58 +00:00
李恒 7ec5b8791b 修复Jpa ddl-auto配置不生效bug 2021-06-12 00:53:26 +08:00
Zheng Jie 48dff86111 [Bug修复](master): update DictServiceImpl.java
close https://github.com/elunez/eladmin/issues/612
2021-06-07 15:41:21 +08:00
Zheng Jie 4b845b748f [Bug修复](master): update ExecutionJob.java
close https://github.com/elunez/eladmin/issues/620
2021-06-07 15:10:09 +08:00
Zheng Jie 10dcf6e11b [Bug修复](master): 头像上传验证图片格式,限制图片大小
close https://github.com/elunez/eladmin/issues/642
2021-06-07 15:05:54 +08:00
Zheng Jie 923142bbb2 [Bug修复](master): 修复部门递归问题
close https://github.com/elunez/eladmin/issues/643
2021-06-07 14:47:33 +08:00
Tsln 19214fd592
更新 JNA 版本,适配 Apple M1 芯片 (#631) 2021-04-27 14:29:13 +08:00
ice_cola 3b802fd770
fix:A custom permission role does not refresh the DataScope cache after adding subdepartments to a department (#608) 2021-03-14 12:46:37 +08:00
Zheng Jie 8c6571f1c8 [代码优化](v2.6):update 2021-03-05 11:58:16 +08:00
Zheng Jie 4e58afd567 Merge branch 'master' of https://github.com/elunez/eladmin 2021-03-05 11:29:44 +08:00
Zheng Jie cd85594e48 [代码优化](v2.6):代码优化 2021-03-05 11:26:08 +08:00
Tsln a49bd6d127
修复算术类型验证码在 Java 15+ 的兼容问题 (#607)
(cherry picked from commit cdbc3a8faaf5958489758608329aa70095b37bb3)
2021-03-04 21:53:37 +08:00
Zheng Jie 01d1aa9721 [代码优化](v2.6):加入第三方系统获取Token的方式
close https://github.com/elunez/eladmin/issues/585
2021-03-03 17:40:22 +08:00
Zheng Jie 88dc69fdfe [代码优化](v2.6):update logback.xml 2021-03-02 21:42:16 +08:00
Zheng Jie d8a458cafa [代码优化](v2.6):update UserController 2021-03-02 21:39:40 +08:00
lWoHvYe 8bb800c68e
Spring Boot版本升级2.2.10,解决in 查询传null时报错。调整Swagger中token设置方式 (#595)
* Spring Boot版本调整为2.2.10。在此前的版本,若in 查询传入null,会报错。相关sql 为in ()。在2.2版本修复了此问题,相关sql改为 in (null)。鉴于此,建议进行升级。

* Spring Boot依赖升级后,Sort的设置方式调整。由 new Sort()改为 Sort.by()

* 调整接口文档Swagger中,token的设置方式,由每个接口单独设置,改为设置统一的token,日常测试更加方便
2021-03-01 19:07:56 +08:00
zhengjie c968eb36ef [代码优化](v2.6):修正配置文件[login-code: height]拼写错误 2021-02-03 09:47:02 +08:00
zhengjie e4e318aa4e [代码优化](v2.6):druid 配置优化 2021-02-01 20:51:16 +08:00
zhengjie 8fd14d4ea1 Merge branch 'master' of github.com:elunez/eladmin 2021-02-01 20:50:51 +08:00
皆非 0b83ca0646
fix findByDeptRoleId sql in UserRepository when delete dept cache (#572) 2021-01-31 14:15:21 +08:00
zhengjie fdf82d2479 [代码优化](v2.6):定时任务告警邮箱优化,邮箱为空不调用发送逻辑 2021-01-29 15:04:37 +08:00
皆非 9fc0524901
[代码优化](v2.6): 完善CacheKey中的变量命名以及调用 (#568)
* correct variable name of String DATA_USER in CacheKey.java

* complete other CacheKey name

* add job CacheKey
2021-01-17 14:43:45 +08:00
zhengjie a90bfac2cf [代码优化](v2.6):禁用用户后踢出用户Bug修复
close https://github.com/elunez/eladmin/issues/551
2020-12-24 16:45:08 +08:00
zhengjie 1556f13379 [代码优化](v2.6):使用 fastJson 防止 Long 精度丢失 2020-12-22 20:03:50 +08:00
zhengjie 2a3e4cd9bc [代码优化](v2.6):缓存优化 2020-12-21 13:31:31 +08:00
zhengjie 81dd91f573 [代码优化](v2.6):由于系统现在默认使用 fastjson 序列化,导致了 @JsonIgnore 失效,现使用 @JSONField(serialize = false) 替换
close https://github.com/elunez/eladmin/issues/548
2020-12-21 08:42:43 +08:00
zhengjie 9883854211 [代码优化](v2.6):代码生成优化 2020-12-19 17:59:16 +08:00
RuoYi 43d1a63577 支持三级菜单自动配置组件&缓存数据 2020-12-16 21:48:40 +08:00
zhengjie e1aadae494 [代码优化](v2.6):bug fix
close https://github.com/elunez/eladmin/issues/544
2020-12-13 18:50:04 +08:00
zhengjie 35b821d7a2 [代码优化](v2.6):bug fix
close https://github.com/elunez/eladmin/issues/540
2020-12-13 18:43:56 +08:00
zhengjie a97fb6ba79 [代码优化](v2.6):序列化优化 2020-12-13 14:35:16 +08:00
zhengjie cbaa49fbdf [代码优化](v2.6):序列化优化,Excel 导出优化 2020-12-13 12:19:35 +08:00
zhengjie 112c7b3e4d [代码优化](v2.6):update 2020-12-12 23:04:39 +08:00
zhengjie 264b3cb79d [代码优化](v2.6):bug修复,代码优化,日期格式化后返回
close https://github.com/elunez/eladmin/issues/514
2020-12-12 21:25:56 +08:00
zhengjie a60661ed1c [代码优化](v2.6):bug修复,代码优化,日期格式化后返回
close https://github.com/elunez/eladmin/issues/514
2020-12-12 21:25:44 +08:00
zhengjie eb3519036f [代码优化](v2.6):bug fix
close https://github.com/elunez/eladmin/issues/504
2020-12-12 21:05:42 +08:00
ZhengJie 0a7c5be1da [代码优化](v2.6):修复服务监控磁盘统计不准确的问题,修复本机IP获取不准确的问题
close https://github.com/elunez/eladmin/issues/527
2020-11-22 20:21:28 +08:00