From cc44920da3d40b8248b67560026e891afdd1a6ab Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期四, 08 五月 2025 17:57:14 +0800
Subject: [PATCH] 1.查询可以被引用的部件接口开发完成 2.借用部件(可批量) 开发完成 3.修改原有新增、修改部件接口 完成 4.修改原有删除文档与导入文档接口 完成 5.修改工作流问题

---
 lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DocInfo.java |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DocInfo.java b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DocInfo.java
index faa318f..e12a456 100644
--- a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DocInfo.java
+++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DocInfo.java
@@ -5,6 +5,7 @@
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import lombok.Data;
 import lombok.NoArgsConstructor;
+import org.jeecg.common.aspect.annotation.Dict;
 
 import java.util.Date;
 /**
@@ -17,7 +18,6 @@
 public class DocInfo {
     @TableId(value = "doc_id")
     private String docId;
-
     @TableField(value = "doc_name")
     private String docName;
     @TableField(value = "doc_alias")
@@ -27,7 +27,11 @@
     @TableField(value = "doc_suffix")
     private String docSuffix;
     @TableField(value = "doc_status")
+    @Dict(dicCode = "dnc_product_status")
     private Integer docStatus;
+    @TableField(value = "doc_dispatch_status")
+    @Dict(dicCode = "nc_doc_dispatch_status")
+    private Integer docDispatchStatus;
     @TableField(value = "publish_file_id")
     private String publishFileId;
     @TableField(value = "publish_version")
@@ -40,10 +44,12 @@
     @TableField(value = "update_time", fill = FieldFill.UPDATE)
     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
     private Date updateTime;
-    @TableField(value = "create_user",fill = FieldFill.INSERT)
-    private String createUser;
-    @TableField(value = "update_user", fill = FieldFill.UPDATE)
-    private String updateUser;
+    @TableField(value = "create_by",fill = FieldFill.INSERT)
+    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
+    private String createBy;
+    @TableField(value = "update_by", fill = FieldFill.UPDATE)
+    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
+    private String updateBy;
     @JsonIgnore
     @TableLogic
     @TableField(value = "delete_flag", select = false)
@@ -52,10 +58,13 @@
     @TableField(exist = false)
     private String docClassCode;
     @TableField(exist = false)
+    @Dict(dicCode = "dnc_pull_status")
     private Integer pullStatus;
     @TableField(exist = false)
+    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
     private String pullUser;
     @TableField(exist = false)
+    @Dict(dicCode = "nc_doc_relative_attribution_type")
     private Integer attributionType;
     @TableField(exist = false)
     private String attributionId;
@@ -63,6 +72,14 @@
     private String classificationId;
     //鍚屾鐘舵�� 1 鏈悓姝� 2 宸插悓姝�
     @TableField(exist = false)
+    @Dict(dicCode = "dnc_doc_sync_status")
     private Integer syncStatus;
 
+    //鎵�灞炶妭鐐瑰悕绉�
+    @TableField(exist = false)
+    private String nodeName;
+    //鎵�灞炶妭鐐逛唬鍙�
+    @TableField(exist = false)
+    private String nodeCode;
+
 }

--
Gitblit v1.9.3