mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-06 17:36:47 +08:00
[DAT] 批处理更改responseBody
This commit is contained in:
@@ -107,7 +107,7 @@ public class CaseKnowledgeServiceImpl implements ICaseKnowledgeService {
|
||||
requestBody.put("parseType", "AUTO");
|
||||
|
||||
String caseId = cases.getId();
|
||||
if (cases == null || cases.getDeleted()) {
|
||||
if (cases == null) {
|
||||
log.error("上传案例文档失败,未找到有效的案例记录,caseId: {}", caseId);
|
||||
saveCaseDocumentLog(caseId, cases.getTitle(), CaseDocumentLogOptTypeEnum.CREATE.getCode(), CaseAiConstants.CASE_DOC_UPLOAD_INTERFACE_NAME,
|
||||
requestBody.toJSONString(), "上传案例文档失败,未找到有效的案例记录",
|
||||
@@ -1183,7 +1183,8 @@ public class CaseKnowledgeServiceImpl implements ICaseKnowledgeService {
|
||||
log.error("未找到taskId对应的文件状态: {}", taskId);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
caseDocumentLog.setResponseBody(result.toJSONString());
|
||||
updateLogStatusByFileStatus(caseDocumentLog, fileStatus);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user