2699 Commits
Author SHA1 Message Date
PIGCLOUD 45c7ceec17 chore(pigx-register): 更新 nacos 版本从 3.2.1 到 3.2.2
- 升级 nacos 依赖版本至 3.2.2
2026-06-01 09:05:29 +08:00
PIGCLOUD 5d561bee33 feat(pigx-codegen): 支持实体生成到独立 api 模块
- 新增 DataModelConstants 定义 API_PATH、ENTITY_PATH 等实体路径常量
- 实现 setEntityModel 方法,自动识别 `-biz` 模块同级 `-api` 模块,将实体生成路径和包名切换到 api 模块
- 更新 gen_template.sql 代码生成模板,使用 entityClassName、entityPath 等动态变量替代硬编码包路径
- 扩展 isSpringBoot3 判断逻辑,兼容 SpringBoot 4.x 主版本
2026-05-28 15:57:50 +08:00
PIGCLOUD f172154800 feat(pigx-codegen): 支持实体生成到独立 api 模块
- 新增 DataModelConstants 定义 API_PATH、ENTITY_PATH 等实体路径常量
- 实现 setEntityModel 方法,自动识别 `-biz` 模块同级 `-api` 模块,将实体生成路径和包名切换到 api 模块
- 更新 gen_template.sql 代码生成模板,使用 entityClassName、entityPath 等动态变量替代硬编码包路径
- 扩展 isSpringBoot3 判断逻辑,兼容 SpringBoot 4.x 主版本
2026-05-28 14:41:17 +08:00
PIGCLOUD f3c0b2034c feat(pigx-upms-biz): 重构微信小程序登录,由 openid 改为手机号登录
- 修改 `MiniAppLoginHandler` 登录流程:使用前端 `getPhoneNumber` 返回的 code 换取手机号,并通过手机号获取用户信息;绑定逻辑改为写入手机号字段
- 引入微信接口调用凭证(access_token)的获取与 Redis 缓存机制,减少重复请求
- 新增 `SecurityConstants` 中 `MINI_APP_ACCESS_TOKEN_URL` 和 `MINI_APP_PHONE_NUMBER_URL` 常量
- 移除自动创建小程序用户逻辑,未绑定时直接返回 null
- 提取微信响应校验、缓存读取/写入、HTTP 请求等方法,便于单元测试覆盖
2026-05-28 14:41:15 +08:00
PIGCLOUD dd49790ceb refactor: 更新 XXL-Job Admin 配置
- 重写 `pigx-xxl-job-admin-dev.yml` 配置内容,增加 Web 服务、Actuator 监控、HikariCP 连接池、邮箱服务及 XXL-SSO 单点登录等详细配置
2026-05-26 07:41:17 +08:00
PIGCLOUD 3b6c63dd64 feat(pigx-register): 禁用Nacos AI扩展功能与广告展示
- 添加配置 `nacos.extension.ai.enabled=false` 关闭AI扩展功能
- 添加配置 `nacos.console.ad.enabled=false` 关闭控制台广告展示
2026-05-26 07:40:59 +08:00
PIGCLOUD b19c1c2f0f feat(docs): add behavioral guidelines for coding practices in AGENTS.md and CLAUDE.md 2026-05-13 09:46:38 +08:00
PIGCLOUD 21127c11b5 chore(db): sync non-ai database scripts 2026-05-25 17:31:39 +08:00
PIGCLOUD 5eff0d71df feat: add new models and update application structure for job scheduling 2026-05-01 23:59:12 +08:00
PIGCLOUD 124a2547dd refactor(xxl-job): replace xxl-job-admin for boot4 2026-05-25 17:31:39 +08:00
PIGCLOUD 3132cc3784 feat(pigx-upms-biz): 新增密码规则预设功能 2026-05-21 17:21:03 +08:00
PIGCLOUD 1b87ae9787 refactor(pigx-common-datasource): 重构数据源类型枚举,新增 AnyLine 解析适配器字段及插件状态查询 2026-05-24 18:49:20 +08:00
PIGCLOUD 0fca2924d4 refactor(pigx-common-data): 解耦 pigx-common-data 对 pigx-common-security 的依赖 2026-05-21 10:39:50 +08:00
PIGCLOUD 5ad4dfb711 refactor(pigx-common-security): 统一验证码校验逻辑并新增短信验证码前置校验 2026-05-20 23:24:23 +08:00
PIGCLOUD c796af6c5f refactor(pigx-common-oss): 将OSS操作从S3AsyncClient迁移至同步S3Client 2026-05-18 19:03:23 +08:00
PIGCLOUD 87a1ea1ae0 refactor(pigx-common-excel): 重构 Excel 模块,引入内置转换器注册机制并优化 Excel 读写流程 2026-05-18 15:56:20 +08:00
PIGCLOUD 1d9bfd866f feat(pigx-common-audit): 重构审计模块,支持通过主键自动获取对象进行比对 2026-05-18 14:19:08 +08:00
PIGCLOUD 836fc04a26 refactor(pigx-common-websocket): 优化 WebSocket 缓冲区配置并移除 Undertow 依赖 2026-05-14 14:13:54 +08:00
PIGCLOUD 5f3bff90e1 feat(pigx-flow-biz): 支持分组ID为空时查询所有未隐藏流程 2026-05-11 17:33:12 +08:00
PIGCLOUD 26efa7acbf feat(pigx-pay-platform): 支持微信支付 APIV3 回调与下单, 2026-05-11 11:19:16 +08:00
PIGCLOUD a1edbfcc6e feat(app): 重构APP模块支持TOB 添加角色底部导航管理功能,更新相关接口和实体 2026-05-10 10:57:59 +08:00
PIGCLOUD c48d5f753c feat(pigx-auth): 增加 SM4 国密算法支持并优化密码解密逻辑 2026-05-03 21:25:09 +08:00
PIGCLOUD 32c6e81b3a feat(encrypt): 优化解密逻辑,重构 AES 加解密实现,增加 SM4 密钥校验 2026-05-03 19:40:22 +08:00
PIGCLOUD 7613f72673 feat(pigx-common-core): 降级 Jackson 3 到 Jackson 2 并重构配置 2026-05-02 13:42:11 +08:00
PIGCLOUD e80b4f0b28 fix(feign): 修复 HttpMessageConverterCustomizer 的 UnsupportedOperationException 2026-05-01 22:14:18 +08:00
PIGCLOUD e88b2818fd chore(pom): update parent version to 6.0.0-SNAPSHOT and adjust dependencies fix: correct import paths for Spring Boot components and update Jackson configuration 2026-05-01 22:20:52 +08:00
PIGCLOUD f68327b857 ci: configure build and dependency automation 2026-04-30 16:06:54 +08:00
PIGCLOUD 9d6515d8fa fix(sql): 移除无用的AI菜单插入语句 2026-03-18 08:55:45 +08:00
PIGCLOUD c3f757e38c fix(db): 删除无用的 SQL v5.12 2026-03-09 11:20:07 +08:00
PIGCLOUD 61adedf902 fix(pigx-common-data): 添加 SQL 注入检查并移除自定义转义方法
- 在数据权限拦截器中添加 SQL 注入检查,使用 MyBatis-Plus 的 SqlInjectionUtils 工具类
- 移除原有的 escapeSql 自定义转义方法,直接使用原始 username 参数
- 在生成条件表达式和查询语句时增加注入检查逻辑,发现注入风险时返回空结果集
2026-03-09 10:46:07 +08:00
PIGCLOUD 0198431ffa docs(pigx-common-bom): 升级 spring-boot-admin 版本从 3.5.7 到 3.5.8 2026-03-08 18:03:20 +08:00
PIGCLOUD ed60e69d07 docs(pigx-common-bom): 清理过期的依赖项
- 移除 pigx-common-milvus、pigx-common-mcp、pigx-common-neo4j 依赖项
- 删除不再使用的分支合并设计文档文件
- 清理项目中的过期配置和文档
2026-03-08 18:02:14 +08:00
PIGCLOUD e646321d15 docs: 删除过期的分支合并设计文档
- 移除 2026-03-08-merge-aiflow-branch-design.md 文件
- 移除 2026-03-08-merge-aiflow-non-ai-plan.md 文件
- 清理不再使用的分支合并计划和实施方案
2026-03-08 17:57:17 +08:00
PIGCLOUD 40977fbc56 fix(pigx-flow-api): 修复 RemoteFlowApiFlowService 常量引用
将 FLOW_ENGINE_SERVER 改为 FLOW_SERVER 以匹配 ServiceNameConstants 中的定义。
2026-03-08 15:31:40 +08:00
PIGCLOUD 13b8984769 fix: 移除根 pom.xml 中的 pigx-aigc 模块引用和 pigx-boot 中的 aigc-biz 依赖
dev 分支不含 pigx-aigc 目录,移除对不存在模块的引用以确保编译通过。
2026-03-08 15:29:43 +08:00
PIGCLOUD cb8e426855 chore: 更新 boot 开发配置
从 2bb41b75f 提取非 AI 部分。application-dev.yml 添加 Redis database 配置。
2026-03-08 15:23:18 +08:00
PIGCLOUD 7e005eabd0 feat(pigx-upms-biz): 优化 SysTenantServiceImpl 租户处理逻辑
从 19b3e3ba3 提取非 AI 部分。
2026-03-08 15:20:44 +08:00
PIGCLOUD 7070b9f3d2 feat: 增强租户上下文处理 (非 AI 部分)
从 60b4aca0f 提取 db/0pigxx_boot.sql 和 pigx-boot/pom.xml 变更。
2026-03-08 15:19:28 +08:00
PIGCLOUD 57d1d03a6c feat(pigx-common-core): 更新 ServiceNameConstants 添加 AIGC 服务常量
从 b63758c9f 提取非 AI 文件部分。
2026-03-08 15:18:17 +08:00
PIGCLOUD 98656e4af3 chore: upgrade version to 5.12.0 (non-AI modules only)
Cherry-picked from 799188b31, excluding pigx-aigc and AI-related common modules.
2026-03-08 15:15:12 +08:00
PIGCLOUD 96361c21ec feat(pigx-flow-biz): 增加触发器异常终止处理,确保在事务外安全终止流程
- 在 TriggerServiceTask 中重构异常处理逻辑,将直接终止流程改为抛出特定异常
- 在 TaskServiceImpl 中增加触发器异常终止处理,确保在事务外安全终止流程
- 优化任务参数设置逻辑,提前获取 processInstanceId 确保终止流程可用
- 统一流程终止状态管理,使用 NodeStatusEnum.YZZ 表示已终止状态
- 调整代码格式,提高可读性和一致性

feat(pigx-flow-api): 扩展节点状态枚举

- 在 NodeStatusEnum 中新增 YZZ(9, "已终止") 状态,用于标识流程异常终止情况
2026-03-08 15:07:18 +08:00
PIGCLOUD cd2ec46f82 feat(pigx-flow-biz): 优化任务服务参数传递
- 将taskResultDto.getTaskNode()替换为node变量,简化参数设置逻辑
- 保持其他参数设置不变,提高代码可读性
2026-03-08 15:07:13 +08:00
PIGCLOUD 3acab393c4 feat(pigx-boot): 优化模块依赖配置 1.12.1
- 更新 langchain4j 相关依赖版本至 1.12.1
2026-03-08 15:07:09 +08:00
PIGCLOUD 410a869db2 feat(pigx-flow-biz): 新增流程打印模板功能
- 在 Process 实体类中新增 printTemplate 字段,用于存储 HTML 格式的打印模板
- 新增数据库表字段 print_template,支持流程定义的打印模板存储
- 在 ProcessController 中新增获取和保存打印模板的 REST API 接口
- 在 ProcessInstanceRecordVo 中新增 hasPrintTemplate 字段,标识流程是否配置打印模板
- 优化流程实例列表查询,批量检查打印模板配置状态
- 修复 ProcessInstanceServiceImpl 中重复设置 formData 的问题
2026-03-08 15:06:59 +08:00
PIGCLOUD 3c05364e12 feat(pigx-flow-biz): 实现触发器节点功能
- 在 ModelUtil 中新增 TRIGGER 节点类型处理逻辑,调用 buildTriggerNode 方法
- 重构 buildSimpleServiceTaskNode 通用方法,支持构建服务任务节点
- 新增 buildTriggerNode 方法,使用 TriggerServiceTask 处理触发器逻辑
- 新增 TriggerServiceTask 组件,支持调用外部 HTTP 接口并处理返回值映射
- 支持配置请求头、请求体和返回值映射到表单字段
- 提供异常处理机制,支持抛出异常或终止流程两种策略
2026-03-08 15:06:40 +08:00
PIGCLOUD 325f58996d feat(pigx-flow-biz): 实现触发器节点功能
- 在 NodeFormatUtil 中新增 TRIGGER 节点类型处理逻辑
- 重构 ModelUtil 中的 buildSimpleServiceTaskNode 通用方法,支持构建服务任务节点
- 新增 buildTriggerNode 方法,使用 TriggerServiceTask 处理触发器逻辑
- 新增 TriggerServiceTask 组件,支持调用外部 HTTP 接口并处理返回值映射
- 支持配置请求头、请求体和返回值映射到表单字段
- 提供异常处理机制,支持抛出异常或终止流程两种策略
2026-03-08 15:06:36 +08:00
PIGCLOUD b28d86cb59 feat(pigx-flow-api): 新增延时器节点支持
- 新增 TimerConfig 和 TimerDuration DTO 类,用于配置延时器参数
- 在 Node 类中增加 timerConfig 字段,支持延时器配置
- 新增 TIMER 节点类型枚举值

feat(pigx-flow-biz): 实现延时器节点功能

- 在 ModelUtil 中新增 buildTimerNode 方法,支持构建延时器节点
- 新增 TimerHandler 组件,处理表单字段日期格式转换
- 支持三种延时模式:固定时长、指定日期时间、表单字段日期
- 优化连线名称生成逻辑,避免重复设置
2026-03-08 15:06:17 +08:00
PIGCLOUD ecdbfaca68 feat(pigx-flow-biz): 优化流程创建逻辑
- 在创建流程时增加对空节点用户列表的检查,避免空指针异常
- 当 nodeUserList 为空时直接返回成功结果,跳过后续处理步骤
2026-03-08 15:06:12 +08:00
PIGCLOUD 1b27c695d8 feat(pigx-codegen): 优化数据源密码更新逻辑
- 密码为空时自动从数据库查询并解密原始密码用于连接校验
- 简化密码加密逻辑,移除冗余的条件判断
2026-03-08 15:06:08 +08:00
PIGCLOUD 650d791222 feat(pigx-flow-biz): 扩展抄送任务支持角色和岗位类型
- 在 CopyServiceTask 中新增对角色和岗位类型的抄送人员支持
- 新增 addUserIds 工具方法用于用户ID去重合并
- 优化表单数据处理逻辑,避免重复序列化操作
- 更新注释说明支持用户、部门、角色、岗位四种类型
2026-03-08 15:05:50 +08:00