From f745556104a77d62e4e05cc95231d637290faf0a Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 26 三月 2025 14:56:59 +0800 Subject: [PATCH] art: 设备台账-导入功能 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamEquipment.java | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamEquipment.java b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamEquipment.java index 3bacaed..7f5a5d0 100644 --- a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamEquipment.java +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamEquipment.java @@ -34,6 +34,7 @@ private java.lang.String id; /**鍒涘缓浜�*/ @ApiModelProperty(value = "鍒涘缓浜�") + @Dict(dicCode = "sys_user, realname, username") private java.lang.String createBy; /**鍒涘缓鏃堕棿*/ @ApiModelProperty(value = "鍒涘缓鏃堕棿") @@ -42,6 +43,7 @@ private java.util.Date createTime; /**鏇存柊浜�*/ @ApiModelProperty(value = "鏇存柊浜�") + @Dict(dicCode = "sys_user, realname, username") private java.lang.String updateBy; /**鏇存柊鏃堕棿*/ @ApiModelProperty(value = "鏇存柊鏃堕棿") @@ -60,11 +62,11 @@ @ApiModelProperty(value = "璁惧鍚嶇О") private java.lang.String equipmentName; /**鍏抽敭璁惧鏍囪瘑*/ - @Excel(name = "鍏抽敭璁惧鏍囪瘑", width = 15) + @Excel(name = "鍏抽敭璁惧鏍囪瘑", width = 15, dicCode = "yn") @ApiModelProperty(value = "鍏抽敭璁惧鏍囪瘑") private java.lang.String equipmentImportance; /**鎶�鏈姸鎬�*/ - @Excel(name = "璁惧鐘舵��", width = 15, dicCode = "technology_status") + @Excel(name = "鎶�鏈姸鎬�", width = 15, dicCode = "technology_status") @ApiModelProperty(value = "鎶�鏈姸鎬�") @Dict(dicCode = "technology_status") private java.lang.String technologyStatus; @@ -73,17 +75,17 @@ @ApiModelProperty(value = "鎿嶄綔绯荤粺") private java.lang.String operationSystem; /**浣跨敤閮ㄩ棬*/ - @Excel(name = "浣跨敤閮ㄩ棬", width = 15, dicCode = "mdc_production, production_name, id") + @Excel(name = "浣跨敤杞﹂棿", width = 25, dictTable = "mdc_production", dicText = "production_name", dicCode = "id") @ApiModelProperty(value = "浣跨敤閮ㄩ棬") @Dict(dicCode = "mdc_production, production_name, id") private java.lang.String orgId; /**璁惧绠$悊鍛�*/ - @Excel(name = "璁惧绠$悊鍛�", width = 15, dicCode = "sys_user, realname, username") + @Excel(name = "璁惧绠$悊鍛�", width = 35, dictTable = "sys_user", dicText = "realname", dicCode = "username") @ApiModelProperty(value = "璁惧绠$悊鍛�") @Dict(dicCode = "sys_user, realname, username") private java.lang.String equipmentManager; /**璁惧鍒嗙被*/ - @Excel(name = "璁惧鍒嗙被", width = 15, dicCode = "equipment_category") + @Excel(name = "璁惧鎵�灞炲垎绫�", width = 15, dicCode = "equipment_category") @ApiModelProperty(value = "璁惧鍒嗙被") @Dict(dicCode = "equipment_category") private java.lang.String equipmentCategory; @@ -96,7 +98,7 @@ @ApiModelProperty(value = "璁惧瑙勬牸") private java.lang.String equipmentSpecification; /**涓昏酱杩炴帴灏哄*/ - @Excel(name = "涓昏酱杩炴帴灏哄", width = 15) + @Excel(name = "涓昏酱杩炴帴灏哄", width = 25) @ApiModelProperty(value = "涓昏酱杩炴帴灏哄") private java.lang.String spindleConnectDimension; /**鎬诲姛鐜�*/ @@ -125,31 +127,35 @@ @ApiModelProperty(value = "鏈哄簥鍘傚") private java.lang.String manufacturingEnterprise; /**鏉ユ簮鍥藉*/ - @Excel(name = "鏉ユ簮鍥藉", width = 15) + @Excel(name = "鏈哄簥鏉ユ簮鍥藉", width = 25) @ApiModelProperty(value = "鏉ユ簮鍥藉") private java.lang.String originCountry; /**鍑哄巶鏃ユ湡*/ + @Excel(name = "鍑哄巶鏃ユ湡", width = 25, format = "yyyy-MM-dd") @ApiModelProperty(value = "鍑哄巶鏃ユ湡") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private java.util.Date leaveFactoryDate; /**楠屾敹鏃ユ湡*/ + @Excel(name = "楠屾敹鏃ユ湡", width = 25, format = "yyyy-MM-dd") @ApiModelProperty(value = "楠屾敹鏃ユ湡") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private java.util.Date acceptanceCheckDate; /**璐ㄤ繚寮�濮嬫棩鏈�*/ + @Excel(name = "璐ㄤ繚寮�濮嬫棩鏈�", width = 25, format = "yyyy-MM-dd") @ApiModelProperty(value = "璐ㄤ繚寮�濮嬫棩鏈�") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private java.util.Date warrantyStartDate; /**璐ㄤ繚缁撴潫鏃ユ湡*/ + @Excel(name = "璐ㄤ繚缁撴潫鏃ユ湡", width = 25, format = "yyyy-MM-dd") @ApiModelProperty(value = "璐ㄤ繚缁撴潫鏃ユ湡") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private java.util.Date warrantyEndDate; /**鏄惁瀹炴柦MDC*/ - @Excel(name = "鏄惁瀹炴柦MDC", width = 15) + @Excel(name = "鏄惁瀹炴柦MDC", width = 15, dicCode = "yn") @ApiModelProperty(value = "鏄惁瀹炴柦MDC") private java.lang.String mdcFlag; /*=====================涓婇潰鏄矁鍏嬫ā鏉垮瓧娈�======================*/ -- Gitblit v1.9.3