Fix Bug #550: AI修复

This commit is contained in:
2026-05-27 02:07:13 +08:00
parent 8a422641d3
commit f6f8a33304
3 changed files with 140 additions and 147 deletions

View File

@@ -59,10 +59,10 @@ public class CheckRequestServiceImpl implements CheckRequestService {
List<String> existing = checkRequestMapper.selectExistingItemCodes(itemCodes);
if (!existing.isEmpty()) {
throw new IllegalArgumentException("以下项目已存在待处理申请,请勿重复提交:" + existing);
throw new IllegalArgumentException("以下项目已存在未完成的申请,请勿重复提交:" + existing);
}
// 3. 批量插入(项目与方法解耦,仅保存主项,方法明细按需扩展
// 3. 保存申请(项目与方法解耦存储
checkRequestMapper.batchInsertRequests(selected);
}
}