From 4788f8d86807296a3dce75b5dd428c0a8d5828db Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期五, 25 七月 2025 17:12:39 +0800 Subject: [PATCH] 分类字典设置上级是否存在子节点修改 --- lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java | 40 +++++++++++++++++++++++++++++++++------- 1 files changed, 33 insertions(+), 7 deletions(-) diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java index cb03de4..cabeeb0 100644 --- a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java +++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java @@ -9,6 +9,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import org.jeecg.common.aspect.annotation.Dict; +import org.jeecgframework.poi.excel.annotation.Excel; import java.io.Serializable; import java.util.Date; @@ -23,38 +24,63 @@ private String id; //宸ュ簭鎴栧伐姝d - @TableField(value = "process_step_id") - private String processStepId; + @Excel(name = "鎵�灞炰笟鍔d", width = 15) + @TableField(value = "attribution_id") + private String attributionId; - //宸ュ簭/宸ユ 1宸ュ簭 2宸ユ - @TableField(value = "type") - private Integer type; + //宸ュ簭/宸ユ 5宸ュ簭 6宸ユ + @Excel(name = "鎵�灞炵被鍨�", width = 15) + @TableField(value = "attribution_type") + private Integer attributionType; + + //瀵瑰簲鏂囨。id + @Excel(name = "瀵瑰簲鏂囨。id", width = 15) + @TableField(value = "doc_id") + private String docId; + + //瀵瑰簲鍒�鍏峰簱id + @Excel(name = "瀵瑰簲鍒�鍏峰簱id", width = 15) + @TableField(value = "tools_id") + private String toolsId; //鍒�鍏峰悕绉� + @Excel(name = "鍒�鍏峰悕绉�", width = 15) @TableField(value = "cutter_name") private String cutterName; //鍒�鍏风紪鍙� + @Excel(name = "鍒�鍏风紪鍙�", width = 15) @TableField(value = "cutter_code") private String cutterCode; - //鍒�鍏风被鍨� + //鍒�鍏风畝绉� + @Excel(name = "鍒�鍏风畝绉�", width = 15,dicCode = "cutter_type") @TableField(value = "cutter_type") + @Dict(dicCode = "cutter_type") private String cutterType; //棰濆畾瀵垮懡 + @Excel(name = "棰濆畾瀵垮懡", width = 15) @TableField(value = "lifetime") private String lifetime; //鍒�浣� - @TableField(value = "cutter_position") + @Excel(name = "鍒�浣�", width = 15) + @TableField(value = "cutter_spacing") private String cutterSpacing; //鏁伴噺 + @Excel(name = "鏁伴噺", width = 15) @TableField(value = "quantity") private Integer quantity; + //鍒�鍏疯鏍� + @Excel(name = "鍒�鍏疯鏍�", width = 15) + @TableField(value = "cutter_spec") + private String cutterSpec; + //鎻忚堪 + @Excel(name = "鎻忚堪", width = 15) @TableField(value = "description") private String description; -- Gitblit v1.9.3