This commit is contained in:
jack ning
2025-02-11 17:14:57 +08:00
parent b69d173df3
commit c3e7d4e7c9
35 changed files with 532 additions and 266 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-02-22 16:16:42
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-02-06 15:24:55
* @LastEditTime: 2025-02-11 17:02:06
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -17,8 +17,6 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.type.SqlTypes;
import org.springframework.ai.document.Document;
import org.springframework.lang.NonNull;
@@ -118,8 +116,8 @@ public class ArticleEntity extends BaseEntity {
private String kbUid; // 对应知识库
@Builder.Default
@Column(name = "create_user", columnDefinition = TypeConsts.COLUMN_TYPE_JSON)
@JdbcTypeCode(SqlTypes.JSON)
@Column(name = "create_user", length = 512)
// @JdbcTypeCode(SqlTypes.JSON)
private String user = BytedeskConsts.EMPTY_JSON_STRING;
//

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-02-22 16:16:42
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-01-21 10:43:05
* @LastEditTime: 2025-02-11 17:03:54
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -17,8 +17,6 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.type.SqlTypes;
import org.springframework.ai.document.Document;
import org.springframework.lang.NonNull;
@@ -100,8 +98,8 @@ public class NotebaseEntity extends BaseEntity {
private String kbUid; // 对应知识库
@Builder.Default
@Column(name = "create_user", columnDefinition = TypeConsts.COLUMN_TYPE_JSON)
@JdbcTypeCode(SqlTypes.JSON)
@Column(name = "create_user", length = 512)
// @JdbcTypeCode(SqlTypes.JSON)
private String user = BytedeskConsts.EMPTY_JSON_STRING;
//

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-06-14 10:45:08
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-01-13 12:53:01
* @LastEditTime: 2025-02-11 16:47:47
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -19,9 +19,6 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.type.SqlTypes;
import com.bytedesk.core.constant.BytedeskConsts;
import com.bytedesk.core.constant.I18Consts;
import com.bytedesk.core.constant.TypeConsts;
@@ -91,8 +88,8 @@ public class ServiceSettings implements Serializable {
private boolean showPreForm = false;
@Builder.Default
@Column(columnDefinition = TypeConsts.COLUMN_TYPE_JSON)
@JdbcTypeCode(SqlTypes.JSON)
// @Column(columnDefinition = TypeConsts.COLUMN_TYPE_JSON)
// @JdbcTypeCode(SqlTypes.JSON)
private String preForm = BytedeskConsts.EMPTY_JSON_STRING;
// show history message or not

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-03-16 10:46:55
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2024-11-22 16:05:22
* @LastEditTime: 2025-02-11 17:02:59
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -16,9 +16,6 @@ package com.bytedesk.kbase.upload;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.type.SqlTypes;
import com.bytedesk.core.base.BaseEntity;
import com.bytedesk.core.constant.BytedeskConsts;
import com.bytedesk.core.constant.TypeConsts;
@@ -81,8 +78,8 @@ public class UploadEntity extends BaseEntity {
// 上传用户
@Builder.Default
@Column(name = "upload_user", columnDefinition = TypeConsts.COLUMN_TYPE_JSON)
@JdbcTypeCode(SqlTypes.JSON)
@Column(name = "upload_user", length = 512)
// @JdbcTypeCode(SqlTypes.JSON)
private String user = BytedeskConsts.EMPTY_JSON_STRING;
// vector store id