Commit 23a87e4
Feat/group ids required (#88)
* refactor(Page): 重构 Page 分页对象
采用继承的方式重构 Page 分页对象,减少无用代码
1.解决重写了过时方法的问题
2.修复“因没有修改 hashNext()方法”而可能导致的 bug
* refactor(UserPermissionVO): 为 UserPermissionVO 的 permissions 属性指定泛型
* refactor(Page): 将 Page 分页对象泛型参数列表补充完整
* chore(pom): 为 Maven 指定 file.encoding 参数,解决运行 mvn test 报错问题
因为在 application.properties 中指定了 spring.mandatory-file-encoding=UTF-8,FileEncodingApplicationListener 类检测到当前系统编码与 mandatory-file-encoding 不一致的情况下会报错
* fix(Page): 修复分页问题
Page 分页对象重写 offset() 方法。
修复分页指定为 1 时,却返回第 1 页数据的问题
(因起始页为0,正确的应该返回第 2 页的数据)
* feat: 新增更新用户信息接口对于 group_ids 字段的校验
Co-authored-by: 桔子 <[email protected]>1 parent 507c924 commit 23a87e4
File tree
3 files changed
+4
-3
lines changed- src/main
- java/io/github/talelin/latticy
- dto/admin
- service/impl
- resources
3 files changed
+4
-3
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 96 | | |
100 | 97 | | |
101 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments