fix:注解引用错误,溯源接口路径修改

This commit is contained in:
wenjinbo 2025-08-08 09:47:59 +08:00
parent 19048781a9
commit 99fcfd22db
6 changed files with 7 additions and 6 deletions

View File

@ -65,7 +65,7 @@ export interface TraceData {
// 获取文件来源列表
export const getFilePathList = (conversationId: string, messageId: string) => {
return request({
url: '/brichat-service/fileManage/getTraceFileList',
url: '/brichat-service/trace/getTraceFileList',
method: 'get',
params: {
conversationId,

View File

@ -1,7 +1,7 @@
package com.bjtds.brichat.mapper.postgresql;
import com.bjtds.brichat.entity.dify.DifyConversation;
import org.mapstruct.Mapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper

View File

@ -1,7 +1,7 @@
package com.bjtds.brichat.mapper.postgresql;
import com.bjtds.brichat.entity.dify.DifyMessage;
import org.mapstruct.Mapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper

View File

@ -1,7 +1,7 @@
package com.bjtds.brichat.mapper.postgresql;
import com.bjtds.brichat.entity.dify.DifyUploadFile;
import org.mapstruct.Mapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface DifyUploadFileMapper {

View File

@ -222,6 +222,7 @@ public class DifyDatasetApiServiceImpl implements DifyDatasetApiService {
.percent(0.0)
.datasetId(request.getDatasetId())
.datasetName(datasetName)
.createTime(new Date().getTime())
.uploadReq(request)
.build();

View File

@ -35,11 +35,11 @@
ORDER BY created_at DESC
</select>
<select id="getAllDataset" resultType="java.lang.String" resultMap="datasetResultMap" >
<select id="getAllDataset" resultMap="datasetResultMap" >
select id,tenant_id,name,description,created_by from datasets ORDER BY created_at DESC
</select>
<select id="getDatasetPage" resultType="java.lang.String" resultMap="datasetResultMap" >
<select id="getDatasetPage" resultMap="datasetResultMap" >
select id,tenant_id,name,description,created_by,created_at, updated_at from datasets ORDER BY created_at DESC
</select>