|
|
@@ -598,7 +598,7 @@ public class BigModelServiceImpl implements IBigModelService
|
|
|
}
|
|
|
|
|
|
if(dto.getDocument() != null && !"".equals(dto.getDocument().getId())){
|
|
|
- FileInfo fileInfo = fileInfoMapper.getFileInfoById(dto.getDocument().getId(), dialogId, null);
|
|
|
+ FileInfo fileInfo = fileInfoMapper.getFileInfoById(dto.getDocument().getId(), null, null);
|
|
|
if(fileInfo == null && "user".equals(dto.getRole())) {
|
|
|
FileInfo params = new FileInfo();
|
|
|
params.setId(dto.getDocument().getId());
|
|
|
@@ -647,7 +647,7 @@ public class BigModelServiceImpl implements IBigModelService
|
|
|
if(detail != null && detail.size() != 0){
|
|
|
for(DialogRespDTO dto : detail){
|
|
|
if("user".equals(dto.getType())){
|
|
|
- FileInfo fileInfo = fileInfoMapper.getFileInfoById(null, dto.getDialog_id(), null);
|
|
|
+ FileInfo fileInfo = fileInfoMapper.getFileInfoById(null, dto.getDialog_id(), dto.getDid());
|
|
|
if(fileInfo != null){
|
|
|
DocumentDTO fileInfoDTO = new DocumentDTO();
|
|
|
BeanUtils.copyProperties(fileInfo, fileInfoDTO);
|