Fix Bug #550: AI修复
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user