From b9fcbb5153de392516fd34d2a5cd76a020a6f225 Mon Sep 17 00:00:00 2001 From: yaxin <daixiaoyi@supervision.ltd> Date: Wed, 4 Dec 2024 09:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E6=96=B9=E6=B3=95=E6=94=B9?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision/police/service/impl/ChatServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/supervision/police/service/impl/ChatServiceImpl.java b/src/main/java/com/supervision/police/service/impl/ChatServiceImpl.java index a72742f..caeb067 100644 --- a/src/main/java/com/supervision/police/service/impl/ChatServiceImpl.java +++ b/src/main/java/com/supervision/police/service/impl/ChatServiceImpl.java @@ -130,7 +130,7 @@ public class ChatServiceImpl implements ChatService { log.info("案件【{}】尚未执行模型分析,现在开始执行", modelCase.getCaseName()); AnalyseCaseDTO analyseCaseDTO = new AnalyseCaseDTO(); analyseCaseDTO.setCaseId(caseId); - modelService.analyseCaseNew(analyseCaseDTO); + modelService.analyseCase(analyseCaseDTO); } answerMap = JSON.parseObject(JSON.toJSONString(modelService.caseScoreDetail(caseId)), Map.class); } else if (INTENT_TYPE_TEXT_CASE_OVERVIEW.equals(query) || INTENT_TYPE_CASE_OVERVIEW.equals(intentType)) { @@ -169,7 +169,7 @@ public class ChatServiceImpl implements ChatService { log.info("案件【{}】尚未执行模型分析,现在开始执行", modelCase.getCaseName()); AnalyseCaseDTO analyseCaseDTO = new AnalyseCaseDTO(); analyseCaseDTO.setCaseId(caseId); - modelService.analyseCaseNew(analyseCaseDTO); + modelService.analyseCase(analyseCaseDTO); } answerMap = JSON.parseObject(JSON.toJSONString(modelService.caseScoreDetail(caseId)), Map.class); break; @@ -266,7 +266,7 @@ public class ChatServiceImpl implements ChatService { log.info("案件【{}】尚未执行模型分析,现在开始执行", modelCase.getCaseName()); AnalyseCaseDTO analyseCaseDTO = new AnalyseCaseDTO(); analyseCaseDTO.setCaseId(caseId); - modelService.analyseCaseNew(analyseCaseDTO); + modelService.analyseCase(analyseCaseDTO); } indexDetailPage = modelCaseService.getIndexDetail(indexResultQuery, 1, 1); if (!indexDetailPage.getRecords().isEmpty()) {