fix:注解引用错误,溯源接口路径修改
This commit is contained in:
parent
19048781a9
commit
99fcfd22db
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -222,6 +222,7 @@ public class DifyDatasetApiServiceImpl implements DifyDatasetApiService {
|
|||
.percent(0.0)
|
||||
.datasetId(request.getDatasetId())
|
||||
.datasetName(datasetName)
|
||||
.createTime(new Date().getTime())
|
||||
.uploadReq(request)
|
||||
.build();
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Reference in New Issue