任务模块 #2

Closed
lyd wants to merge 0 commits from feature/20260713/task-module into main
Owner
No description provided.
lyd added 21 commits 2026-07-16 19:19:41 +08:00
- 新增 selectUnfinishedByBiz 方法,按业务类型和业务ID查询未完结任务(幂等校验用)
- 新增 updateTaskStatus 方法,基于 CAS 机制条件更新任务状态
- 补充 LambdaUpdateWrapper 导入
- 新增 TransportTaskService.createTransportTaskByRpc() 接口方法
- 实现幂等检查(同 bizType+bizId 下未完结任务返回已有任务ID)
- 参数完整时状态置为待下发(040),否则生成(010)
- 添加单元测试覆盖正常创建和幂等返回两种场景
- 添加服务器模块测试依赖(JUnit 5, Mockito, AssertJ)
- 将 DTO 移至正确的 Maven 子模块位置
# Conflicts:
#	nl-gateway/src/main/resources/application-dev.yaml
#	nl-module-infra/nl-module-infra-server/src/main/resources/application-dev.yaml
#	nl-module-lms/nl-module-lms-server/src/main/resources/application-dev.yaml
#	nl-module-lms/nl-module-lms-server/src/main/resources/application-local.yaml
#	nl-module-system/nl-module-system-server/src/main/resources/application-dev.yaml
#	nl-server/src/main/resources/application-dev.yaml
lyd closed this pull request 2026-07-16 19:24:13 +08:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zhouz/huachuang#2
No description provided.