From b069101e1bf347ceab11e33d73b2fbb7f37d4686 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 25 四月 2026 17:15:53 +0800
Subject: [PATCH] feat(production): 生产订单的工艺路线和参数的增删改逻辑

---
 src/main/java/com/ruoyi/project/system/domain/SysDept.java |   49 +++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/ruoyi/project/system/domain/SysDept.java b/src/main/java/com/ruoyi/project/system/domain/SysDept.java
index ba12f15..2c3056a 100644
--- a/src/main/java/com/ruoyi/project/system/domain/SysDept.java
+++ b/src/main/java/com/ruoyi/project/system/domain/SysDept.java
@@ -1,13 +1,16 @@
 package com.ruoyi.project.system.domain;
 
-import java.util.ArrayList;
-import java.util.List;
-import javax.validation.constraints.Email;
-import javax.validation.constraints.NotBlank;
-import javax.validation.constraints.Size;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import jakarta.validation.constraints.Email;
+import jakarta.validation.constraints.NotBlank;
 import org.apache.commons.lang3.builder.ToStringBuilder;
 import org.apache.commons.lang3.builder.ToStringStyle;
-import com.ruoyi.framework.web.domain.BaseEntity;
+
+import jakarta.validation.constraints.NotNull;
+import jakarta.validation.constraints.Size;
+import java.util.ArrayList;
+import java.util.List;
 
 /**
  * 閮ㄩ棬琛� sys_dept
@@ -31,7 +34,7 @@
     private String deptName;
 
     /** 鏄剧ず椤哄簭 */
-    private String orderNum;
+    private Integer orderNum;
 
     /** 璐熻矗浜� */
     private String leader;
@@ -49,9 +52,18 @@
     private String delFlag;
 
     /** 鐖堕儴闂ㄥ悕绉� */
+    @TableField(exist = false)
     private String parentName;
+
+    /** 閮ㄩ棬缂栧彿 */
+    private String deptNick;
+
+    /** 鍛樺伐鏁伴噺 */
+    @TableField(exist = false)
+    private Integer staffCount;
     
     /** 瀛愰儴闂� */
+    @TableField(exist = false)
     private List<SysDept> children = new ArrayList<SysDept>();
 
     public Long getDeptId()
@@ -96,13 +108,13 @@
         this.deptName = deptName;
     }
 
-    @NotBlank(message = "鏄剧ず椤哄簭涓嶈兘涓虹┖")
-    public String getOrderNum()
+    @NotNull(message = "鏄剧ず椤哄簭涓嶈兘涓虹┖")
+    public Integer getOrderNum()
     {
         return orderNum;
     }
 
-    public void setOrderNum(String orderNum)
+    public void setOrderNum(Integer orderNum)
     {
         this.orderNum = orderNum;
     }
@@ -180,6 +192,22 @@
         this.children = children;
     }
 
+    public String getDeptNick() {
+        return deptNick;
+    }
+
+    public void setDeptNick(String deptNick) {
+        this.deptNick = deptNick;
+    }
+
+    public Integer getStaffCount() {
+        return staffCount;
+    }
+
+    public void setStaffCount(Integer staffCount) {
+        this.staffCount = staffCount;
+    }
+
     @Override
     public String toString() {
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@@ -187,6 +215,7 @@
             .append("parentId", getParentId())
             .append("ancestors", getAncestors())
             .append("deptName", getDeptName())
+            .append("staffCount", getStaffCount())
             .append("orderNum", getOrderNum())
             .append("leader", getLeader())
             .append("phone", getPhone())

--
Gitblit v1.9.3