Commit 295fb305 authored by alex yao's avatar alex yao

fix: 门户页对话保存

parent 2b20f468
...@@ -103,7 +103,7 @@ public class PortalServiceImpl implements PortalService { ...@@ -103,7 +103,7 @@ public class PortalServiceImpl implements PortalService {
bizAiDialoguesEntity.setMemberId(userId); bizAiDialoguesEntity.setMemberId(userId);
bizAiDialoguesEntity.setIsDeleted(CommonConstant.IsDeleted.N); bizAiDialoguesEntity.setIsDeleted(CommonConstant.IsDeleted.N);
List<BizAiDialoguesEntity> bizAiDialoguesEntities = bizAiDialoguesService.findByExample(bizAiDialoguesEntity, null); List<BizAiDialoguesEntity> bizAiDialoguesEntities = bizAiDialoguesService.findByExample(bizAiDialoguesEntity, null);
if (CollectionUtils.isNotEmpty(bizAiDialoguesEntities)) { if (CollectionUtils.isEmpty(bizAiDialoguesEntities)) {
throw new BusinessException("当前对话不存在"); throw new BusinessException("当前对话不存在");
} }
BizAiDialoguesEntity aiDialoguesEntity = bizAiDialoguesEntities.get(0); BizAiDialoguesEntity aiDialoguesEntity = bizAiDialoguesEntities.get(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment