From c9a3d872c8476060e5877f9fff107ac2ef39e307 Mon Sep 17 00:00:00 2001 From: houshuai <17802598606@163.com> Date: 星期一, 07 七月 2025 20:51:26 +0800 Subject: [PATCH] 生产管控模块 基本搭建2 --- src/main/java/org/jeecg/modules/mes/entity/MesMaterialLoading.java | 46 ++++++++++++++++++++++++++++++---------------- 1 files changed, 30 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/entity/MesMaterialLoading.java b/src/main/java/org/jeecg/modules/mes/entity/MesMaterialLoading.java index cd53747..92ce261 100644 --- a/src/main/java/org/jeecg/modules/mes/entity/MesMaterialLoading.java +++ b/src/main/java/org/jeecg/modules/mes/entity/MesMaterialLoading.java @@ -10,6 +10,7 @@ import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; +import org.jeecg.common.aspect.annotation.Dict; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; @@ -19,7 +20,7 @@ /** * @Description: 涓婃枡 * @Author: jeecg-boot - * @Date: 2025-07-04 + * @Date: 2025-07-07 * @Version: V1.0 */ @Data @@ -55,10 +56,23 @@ @ApiModelProperty(value = "鍒犻櫎鏍囪") @TableLogic private Integer delFlag; - /**鐢宠鍗旾D*/ - @Excel(name = "鐢宠鍗旾D", width = 15) - @ApiModelProperty(value = "鐢宠鍗旾D") - private String requestId; + /**宸ュ崟ID*/ + @Excel(name = "宸ュ崟ID", width = 15) + @Dict(dictTable = "mes_production_work_order", dicCode = "id", dicText = "work_order_code") + @ApiModelProperty(value = "宸ュ崟ID") + private String workOrderId; + /**璁惧ID*/ + @Excel(name = "璁惧ID", width = 15) + @ApiModelProperty(value = "璁惧ID") + private String equipmentId; + /**宸ュ簭缂栫爜*/ + @Excel(name = "宸ュ簭缂栫爜", width = 15) + @ApiModelProperty(value = "宸ュ簭缂栫爜") + private String processCode; + /**宸ュ簭鍚嶇О*/ + @Excel(name = "宸ュ簭鍚嶇О", width = 15) + @ApiModelProperty(value = "宸ュ簭鍚嶇О") + private String processName; /**鐗╂枡缂栫爜*/ @Excel(name = "鐗╂枡缂栫爜", width = 15) @ApiModelProperty(value = "鐗╂枡缂栫爜") @@ -67,16 +81,16 @@ @Excel(name = "鐗╂枡鍚嶇О", width = 15) @ApiModelProperty(value = "鐗╂枡鍚嶇О") private String materialName; - /**鐞嗚鎷夊姩鏁伴噺*/ - @Excel(name = "鐞嗚鎷夊姩鏁伴噺", width = 15) - @ApiModelProperty(value = "鐞嗚鎷夊姩鏁伴噺") - private Double specifiedQuantity; - /**瀹為檯鎷夊姩鏁伴噺*/ - @Excel(name = "瀹為檯鎷夊姩鏁伴噺", width = 15) - @ApiModelProperty(value = "瀹為檯鎷夊姩鏁伴噺") - private Double actualQuantity; - /**杞﹂棿鍓╀綑鏁伴噺*/ - @Excel(name = "杞﹂棿鍓╀綑鏁伴噺", width = 15) - @ApiModelProperty(value = "杞﹂棿鍓╀綑鏁伴噺") + /**鎵规鍙�*/ + @Excel(name = "鎵规鍙�", width = 15) + @ApiModelProperty(value = "鎵规鍙�") + private String batchNumber; + /**鏁伴噺*/ + @Excel(name = "鏁伴噺", width = 15) + @ApiModelProperty(value = "鏁伴噺") + private Double quantity; + /**鍓╀綑鏁伴噺*/ + @Excel(name = "鍓╀綑鏁伴噺", width = 15) + @ApiModelProperty(value = "鍓╀綑鏁伴噺") private Double remainingQuantity; } -- Gitblit v1.9.3