diff --git a/hzims-service-api/equipment-api/src/main/java/com/hnac/hzims/fdp/constants/ScheduledConstant.java b/hzims-service-api/equipment-api/src/main/java/com/hnac/hzims/fdp/constants/ScheduledConstant.java index c42035c..3ec0543 100644 --- a/hzims-service-api/equipment-api/src/main/java/com/hnac/hzims/fdp/constants/ScheduledConstant.java +++ b/hzims-service-api/equipment-api/src/main/java/com/hnac/hzims/fdp/constants/ScheduledConstant.java @@ -33,5 +33,5 @@ public interface ScheduledConstant { String DEVICE_LEDGER_DATA_GENERATE = "deviceLedgerDataGenerate"; /**设备台账数据存入向量数据库表名**/ - String DEVICE_LEDGER_CLASS_NAME = "Hzn_lm_deviceLedger_data"; + String DEVICE_LEDGER_CLASS_NAME = "Hzims_deviceLedger_data"; } diff --git a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/FontEndInteractiveController.java b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/FontEndInteractiveController.java index 7efe022..c3b1d51 100644 --- a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/FontEndInteractiveController.java +++ b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/controller/FontEndInteractiveController.java @@ -89,8 +89,11 @@ public class FontEndInteractiveController { @GetMapping("/getAnswerByChatId") public R getAnswerByChatId(@RequestParam("chatId") @ApiParam("会话ID") String chatId){ List answers = hznlmInvokeService.getAnswerBySessionIds(chatId); - if(Func.isNotEmpty(answers) && answers.size() == 1 && answers.get(0).getStatus().intValue() == 0) { - return R.data(answers.get(0)); + if(Func.isNotEmpty(answers) && answers.size() == 1) { + AnswerVO answerVO = answers.get(0); + if(answerVO.getStatus().intValue() == 0 || answerVO.getStatus().intValue() == -2) { + return R.data(answerVO); + } } return R.success("操作成功!"); }