Commit Graph

3 Commits

Author SHA1 Message Date
wkc
d08782ae9e 文件夹整理 2026-02-09 14:34:27 +08:00
wkc
02249c402e 文件夹整理 2026-02-09 14:28:25 +08:00
wkc
50ac577297 fix: 修复异步方法返回类型不兼容问题
将@Async方法的返回类型从String改为CompletableFuture<ImportResultVO>,
并使用CompletableFuture.completedFuture()立即返回已完成的Future,
既符合@Async的要求,又能实现立即返回的效果。

修改文件:
- ICcdiEmployeeService.java: 更新接口返回类型
- CcdiEmployeeServiceImpl.java: 使用CompletableFuture.completedFuture()
- CcdiEmployeeController.java: 调用future.get()获取结果(不会阻塞)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 09:59:30 +08:00