From 73f636092a4de604e5308a9a851f504d60a4c003 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期五, 17 一月 2025 11:17:08 +0800
Subject: [PATCH] 添加产品结构树创建人 更新人

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

diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ProcessStream.java b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ProcessStream.java
index fe17a8f..37ab638 100644
--- a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ProcessStream.java
+++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ProcessStream.java
@@ -1,15 +1,17 @@
 package org.jeecg.modules.dnc.entity;
-
 import com.baomidou.mybatisplus.annotation.*;
 import com.fasterxml.jackson.annotation.JsonIgnore;
+import io.swagger.annotations.Api;
 import lombok.Data;
 import lombok.NoArgsConstructor;
+import org.jeecg.common.aspect.annotation.Dict;
 
 import java.util.Date;
 
 @Data
 @NoArgsConstructor
 @TableName(value = "nc_process_stream")
+@Api(value = "鍏ㄩ儴宸ュ簭琛�")
 public class ProcessStream {
     @TableId(value = "process_id")
     private String processId;
@@ -46,13 +48,19 @@
     @TableField(value = "update_time", select = false, fill = FieldFill.UPDATE)
     private Date updateTime;
     @JsonIgnore
-    @TableField(value = "create_user", select = false, fill = FieldFill.INSERT)
-    private String createUser;
+    @TableField(value = "create_by", select = false, fill = FieldFill.INSERT)
+    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
+    private String createBy;
     @JsonIgnore
-    @TableField(value = "update_user", select = false, fill = FieldFill.UPDATE)
-    private String updateUser;
+    @TableField(value = "update_by", select = false, fill = FieldFill.UPDATE)
+    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
+    private String updateBy;
     @JsonIgnore
     @TableLogic
     @TableField(value = "delete_flag", select = false)
     private Integer deleteFlag = 0;
+    //鍒涘缓浜�
+    private transient String createName;
+    //鏇存柊浜�
+    private transient String updateName;
 }

--
Gitblit v1.9.3