Sfoglia il codice sorgente

chore: auto bump version and changelog [skip ci]

iwt 1 mese fa
parent
commit
a347d0cb3b

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-1497ff349177bb53b30bbcf204c7e8e215a7f537
+2f6453edade9fdcaeda118604cc71920a7c69538

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.940",
+  "version": "1.0.941",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.940",
+      "version": "1.0.941",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.940",
+  "version": "1.0.941",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 16 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,22 @@
 
 ---
 
+## v1.0.941 (2026-08-10)
+
+### Bug 修复
+- User.roles 改为 List<String> 修复修改角色反序列化错误
+
+### 其他
+- - LoginResultDTO.roles: String → List<String>
+- - UpdateUserDTO.roles: String → List<String>
+- - UserService: 移除 parseRoles/joinRoles,直接使用 List
+- - EnergyService: 简化 parent 角色检查
+- - SupplyManageController: 直接使用 List.contains()
+- - DataMigrationService: 使用 Arrays.asList()
+- - ServiceRoleApplicationServiceImpl: 保留 JSON 序列化(独立表字段)
+- 
+
+
 ## v1.0.940 (2026-08-10)
 
 ### 文档

+ 17 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.940
+> 当前版本: v1.0.941
 
 ## 历史版本
 
@@ -8,6 +8,22 @@
 
 ---
 
+## v1.0.941 (2026-08-10)
+
+### Bug 修复
+- User.roles 改为 List<String> 修复修改角色反序列化错误
+
+### 其他
+- - LoginResultDTO.roles: String → List<String>
+- - UpdateUserDTO.roles: String → List<String>
+- - UserService: 移除 parseRoles/joinRoles,直接使用 List
+- - EnergyService: 简化 parent 角色检查
+- - SupplyManageController: 直接使用 List.contains()
+- - DataMigrationService: 使用 Arrays.asList()
+- - ServiceRoleApplicationServiceImpl: 保留 JSON 序列化(独立表字段)
+- 
+
+
 ## v1.0.940 (2026-08-10)
 
 ### 文档