feat(version): 升级项目版本至5.11.0

- 更新所有模块的pom.xml中version字段
- 同步更新CLAUDE.md文档中的版本信息
This commit is contained in:
PIGCLOUD committed 2025-12-28 16:33:51 +08:00
1 parent bfd64bbd47
commit 6743d8d7ab
50 files changed
+50 -118

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Project Overview
PigX is a proprietary enterprise-grade microservices platform built on Spring Cloud Alibaba, focusing on AI knowledge
management, document processing, and intelligent Q&A capabilities. The current version is 5.10.0.
management, document processing, and intelligent Q&A capabilities. The current version is 5.11.0.
**Important**: This is NOT an open-source project. All rights reserved by the author. Commercial use requires proper
licensing.
@@ -13,8 +13,8 @@ licensing.
## Technology Stack
- **Java Version**: Java 17
- **Spring Boot**: 3.5.6
- **Spring Cloud**: 2025.0.0
- **Spring Boot**: 3.5.9
- **Spring Cloud**: 2025.0.1
- **Spring Cloud Alibaba**: 2023.0.3.3
- **AI/ML Libraries**:
- LangChain4j: 1.6.0
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-app-server</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-app-server-api</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-app-server</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-app-server-biz</artifactId>
@@ -113,17 +113,6 @@ public class AppRoleServiceImpl extends ServiceImpl<AppRoleMapper, AppRole> impl
}
/**
* 获取列表菜单对象
*
* @return 列表菜单对象的实例
*/
@Override
public AppPageEntity listMenu() {
return appPageMapper.selectOne(Wrappers.<AppPageEntity>lambdaQuery()
.eq(AppPageEntity::getPageType, PageTypeEnums.WORKBENCH.getPageType()));
}
private void insertExcelRole(AppRoleExcelVO excel) {
AppRole appRole = new AppRole();
appRole.setRoleName(excel.getRoleName());
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-app-server</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-auth</artifactId>
+1 -1
View File
@@ -21,7 +21,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-boot</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-audit</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-core</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-data</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<artifactId>pigx-common</artifactId>
<groupId>com.pig4cloud</groupId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-encrypt-api</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-excel</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-gateway</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-gray</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-idempotent</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-job</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-log</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-oss</artifactId>
+1 -1
View File
@@ -23,7 +23,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-seata</artifactId>
+1 -1
View File
@@ -23,7 +23,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-security</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-sensitive</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-sequence</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-sse</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-swagger</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-websocket</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-common</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common-xss</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-common</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-flow</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-flow-api</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-flow</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-flow-biz</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-flow</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-gateway</artifactId>
+1 -1
View File
@@ -18,7 +18,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-register</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-upms</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-upms-api</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-upms</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-upms-biz</artifactId>
@@ -186,7 +186,6 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
extra.put("menuType", menu.getMenuType());
extra.put("permission", menu.getPermission());
extra.put("sortOrder", menu.getSortOrder());
extra.put("isHomePage", menu.getIsHomePage());
// 适配 vue3
Map<String, Object> meta = new HashMap<>();
@@ -220,60 +219,4 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
};
}
/**
* 设置首页菜单
*
* @param menuId 菜单ID
* @return 是否成功
*/
@Override
@Transactional(rollbackFor = Exception.class)
@CacheEvict(value = CacheConstants.MENU_DETAILS, allEntries = true)
public R<Boolean> setHomePage(Long menuId) {
// 查询菜单是否存在且为菜单类型(非按钮)
SysMenu menu = this.getById(menuId);
if (menu == null) {
return R.failed(MsgUtils.getMessage(UpmsErrorCodes.SYS_MENU_NOT_FOUND));
}
if (MenuTypeEnum.BUTTON.getType().equals(menu.getMenuType())) {
return R.failed(MsgUtils.getMessage(UpmsErrorCodes.SYS_MENU_BUTTON_CANNOT_HOME));
}
// Toggle 模式:如果已是首页则取消,否则设置为首页
if (YesNoEnum.YES.getCode().equals(menu.getIsHomePage())) {
// 已是首页,取消首页设置
menu.setIsHomePage(YesNoEnum.NO.getCode());
this.updateById(menu);
return R.ok(Boolean.TRUE, MsgUtils.getMessage(UpmsErrorCodes.SYS_MENU_HOME_CANCEL_SUCCEED));
} else {
// 不是首页,先将所有菜单的首页标记重置为0,再设置当前菜单为首页
this.update(Wrappers.<SysMenu>lambdaUpdate().set(SysMenu::getIsHomePage, YesNoEnum.NO.getCode()));
menu.setIsHomePage(YesNoEnum.YES.getCode());
this.updateById(menu);
return R.ok(Boolean.TRUE, MsgUtils.getMessage(UpmsErrorCodes.SYS_MENU_HOME_SET_SUCCEED));
}
}
/**
* 获取首页菜单
* 根据当前用户的角色ID查询其有权限访问的首页菜单
*
* @return 首页菜单
*/
@Override
public SysMenu getHomePage() {
// 获取当前用户的角色ID列表
List<Long> roleIds = SecurityUtils.getRoleIds();
if (CollUtil.isEmpty(roleIds)) {
return null;
}
// 获取用户所有角色对应的菜单(直接调用mapper避免self-invocation导致缓存失效)
Set<SysMenu> userMenus = new HashSet<>();
roleIds.forEach(roleId -> userMenus.addAll(baseMapper.listMenusByRoleId(roleId)));
// 在用户有权限的菜单中查找首页菜单
return userMenus.stream().filter(menu -> YesNoEnum.YES.getCode().equals(menu.getIsHomePage())).findFirst().orElse(null);
}
}
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-upms</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-codegen</artifactId>
+1 -1
View File
@@ -23,7 +23,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-daemon-elastic-job</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-jimu-platform</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-monitor</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-mp-platform</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-pay-platform</artifactId>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-report-platform</artifactId>
+1 -1
View File
@@ -4,7 +4,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx-visual</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-xxl-job-admin</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<parent>
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
</parent>
<artifactId>pigx-visual</artifactId>
+1 -1
View File
@@ -24,7 +24,7 @@
<groupId>com.pig4cloud</groupId>
<artifactId>pigx</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
<name>${project.artifactId}</name>
<packaging>pom</packaging>
<organization>