From f1e4e1427bf35e7d1cb3e0b580cf9995a472f214 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期一, 18 八月 2025 17:40:12 +0800 Subject: [PATCH] 添加设备类别 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/dto/EamThirdMaintenanceOrderExport.java | 275 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 275 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/dto/EamThirdMaintenanceOrderExport.java b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/dto/EamThirdMaintenanceOrderExport.java new file mode 100644 index 0000000..2c3202c --- /dev/null +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/dto/EamThirdMaintenanceOrderExport.java @@ -0,0 +1,275 @@ +package org.jeecg.modules.eam.dto; + +import com.baomidou.mybatisplus.annotation.*; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.jeecg.common.aspect.annotation.Dict; +import org.jeecg.common.aspect.annotation.DictList; +import org.jeecg.common.system.base.entity.JeecgEntity; +import org.jeecg.modules.eam.entity.EamThirdMaintenanceOrderDetail; +import org.jeecg.modules.eam.entity.EamThirdMaintenanceSpare; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.springframework.format.annotation.DateTimeFormat; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +/** + * @Description: 璁惧涓夌骇淇濆吇 + * @Author: jeecg-boot + * @Date: 2025-04-29 + * @Version: V1.0 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +public class EamThirdMaintenanceOrderExport { + + /** + * ID + */ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "ID") + private String id; + /** + * 鍒犻櫎鏍囪 + */ + @ApiModelProperty(value = "鍒犻櫎鏍囪") + private Integer delFlag; + /** + * 宸ュ崟鍙� + */ + @Excel(name = "宸ュ崟鍙�", width = 15) + @ApiModelProperty(value = "宸ュ崟鍙�") + private String orderNum; + /** + * 璁惧ID + */ + @Excel(name = "璁惧ID", width = 15) + @ApiModelProperty(value = "璁惧ID") + private String equipmentId; + /** + * 鏍囧噯ID + */ + @Excel(name = "鏍囧噯ID", width = 15) + @ApiModelProperty(value = "鏍囧噯ID") + @Dict(dictTable = "eam_maintenance_standard", dicCode = "id", dicText = "standard_name") + private String standardId; + /** + * 璁″垝淇濆吇鏃ユ湡 + */ + @ApiModelProperty(value = "璁″垝淇濆吇鏃ユ湡;鎻愬墠70澶╃敓鎴愬伐鍗�") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @TableField(updateStrategy = FieldStrategy.IGNORED) + private String maintenanceDate; + /** + * 閿佸畾宸ュ崟鏃ユ湡 + */ + @ApiModelProperty(value = "閿佸畾宸ュ崟鏃ユ湡;鎻愬墠55澶╅攣瀹氬伐鍗�") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date freezeOrderDate; + /** + * 宸ュ崟杩囨湡鏃ユ湡 + */ + @ApiModelProperty(value = "宸ュ崟杩囨湡鏃ユ湡;鍒版湡鏈仛鐩存帴杩囨湡") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date orderExpirationDate; + /** + * 瀹為檯寮�濮嬫椂闂� + */ + @Excel(name = "瀹為檯寮�濮嬫椂闂�", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "瀹為檯寮�濮嬫椂闂�") + private Date actualStartTime; + /** + * 瀹為檯缁撴潫鏃堕棿 + */ + @Excel(name = "瀹為檯缁撴潫鏃堕棿", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "瀹為檯缁撴潫鏃堕棿") + private Date actualEndTime; + /** + * 缁翠慨浜� + */ + @Excel(name = "缁翠慨浜�", width = 15) + @ApiModelProperty(value = "缁翠慨浜�") + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String repairman; + /** + * 淇濆吇鐘舵�� + */ + @Excel(name = "淇濆吇鐘舵��", width = 15) + @ApiModelProperty(value = "淇濆吇鐘舵��;寰呬繚鍏汇�佷繚鍏讳腑銆佸緟妫�鏌ャ�佹搷浣滀汉绛惧瓧銆佺淮淇汉绛惧瓧銆佺淮淇涓讳换绛惧瓧銆佽澶囨鏌ヤ汉绛惧瓧銆佸凡瀹屾垚銆佸凡閿佸畾銆佸彉鏇翠腑銆佸凡鍙栨秷") + @Dict(dicCode = "third_maintenance_status") + private String maintenanceStatus; + /** + * 鍒涘缓鏂瑰紡 + */ + @Excel(name = "鍒涘缓鏂瑰紡", width = 15) + @ApiModelProperty(value = "鍒涘缓鏂瑰紡") + @Dict(dicCode = "order_creation_method") + private String creationMethod; + /** + * 璁惧鍔熻兘鏄惁榻愬;鏄惁 + */ + @Excel(name = "璁惧鍔熻兘鏄惁榻愬;鏄惁", width = 15) + @ApiModelProperty(value = "璁惧鍔熻兘鏄惁榻愬;鏄惁") + @Dict(dicCode = "yn") + private String fullyFunctional; + /** + * 璁惧鍔熻兘鏄惁榻愬;鏄惁 + */ + @Excel(name = "璁惧鑳藉惁姝e父杩愯浆;鏄惁", width = 15) + @ApiModelProperty(value = "璁惧鍔熻兘鏄惁榻愬;鏄惁") + @Dict(dicCode = "yn") + private String runningNormally; + /** + * 闂鎻忚堪 + */ + @Excel(name = "闂鎻忚堪", width = 30) + @ApiModelProperty(value = "闂鎻忚堪") + private String problemDescription; + /** + * 妫�鏌ヤ汉 + */ + @Excel(name = "妫�鏌ヤ汉", width = 15) + @ApiModelProperty(value = "妫�鏌ヤ汉") + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String inspector; + /** + * 妫�鏌ユ椂闂� + */ + @ApiModelProperty(value = "妫�鏌ユ椂闂�") + @Excel(name = "妫�鏌ユ椂闂�", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date inspectTime; + /** + * 鎿嶄綔浜虹瀛� + */ + @Excel(name = "鎿嶄綔浜虹瀛�", width = 15) + @ApiModelProperty(value = "鎿嶄綔浜虹瀛�") + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String operatorSignature; + /** + * 鍗忓姪鎿嶄綔浜� + */ + @Excel(name = "鍗忓姪鎿嶄綔浜�", width = 15) + @ApiModelProperty(value = "鍗忓姪鎿嶄綔浜�") + private String assistantOperator; + /** + * 鎿嶄綔浜虹瀛楁椂闂� + */ + @ApiModelProperty(value = "鎿嶄綔浜虹瀛楁椂闂�") + @Excel(name = "鎿嶄綔浜虹瀛楁椂闂�", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date operatorSignatureTime; + /** + * 缁翠慨浜虹瀛� + */ + @Excel(name = "缁翠慨浜虹瀛�", width = 15) + @ApiModelProperty(value = "缁翠慨浜虹瀛�") + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String repairmanSignature; + /** + * 鍗忓姪缁翠慨浜� + */ + @Excel(name = "鍗忓姪缁翠慨浜�", width = 15) + @ApiModelProperty(value = "鍗忓姪缁翠慨浜�") + private String assistantRepairman; + /** + * 缁翠慨浜虹瀛楁椂闂� + */ + @ApiModelProperty(value = "缁翠慨浜虹瀛楁椂闂�") + @Excel(name = "缁翠慨浜虹瀛楁椂闂�", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date repairmanSignatureTime; + /** + * 缁翠慨瀹や富浠荤瀛� + */ + @Excel(name = "缁翠慨瀹や富浠荤瀛�", width = 15) + @ApiModelProperty(value = "缁翠慨瀹や富浠荤瀛�") + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String repairManagerSignature; + /** + * 缁翠慨瀹や富浠荤瀛楁椂闂� + */ + @ApiModelProperty(value = "缁翠慨瀹や富浠荤瀛楁椂闂�") + @Excel(name = "缁翠慨瀹や富浠荤瀛楁椂闂�", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date repairManagerSignatureTime; + /** + * 璁惧妫�鏌ヤ汉绛惧瓧 + */ + @Excel(name = "璁惧妫�鏌ヤ汉绛惧瓧", width = 15) + @ApiModelProperty(value = "璁惧妫�鏌ヤ汉绛惧瓧") + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String inspectorSignature; + /** + * 璁惧妫�鏌ヤ汉绛惧瓧鏃堕棿 + */ + @ApiModelProperty(value = "璁惧妫�鏌ヤ汉绛惧瓧鏃堕棿") + @Excel(name = "璁惧妫�鏌ヤ汉绛惧瓧鏃堕棿", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date inspectorSignatureTime; + /** + * 澶囨敞 + */ + @Excel(name = "澶囨敞", width = 15) + @ApiModelProperty(value = "澶囨敞") + private String remark; + /** + * 绉讳氦鍗旽F缂栫爜 + */ + @Excel(name = "绉讳氦鍗旽F缂栫爜", width = 15) + @ApiModelProperty(value = "绉讳氦鍗旽F缂栫爜") + private String hfCodeA; + /** + * 楠屾敹鍗旽F缂栫爜 + */ + @Excel(name = "楠屾敹鍗旽F缂栫爜", width = 15) + @ApiModelProperty(value = "楠屾敹鍗旽F缂栫爜") + private String hfCodeB; + //鍒楄〃灞曠ず + @TableField(exist = false) + private String equipmentCode; + @TableField(exist = false) + private String equipmentName; + //鍨嬪彿 + @TableField(exist = false) + private String equipmentModel; + @ApiModelProperty(value = "璁惧绫诲埆") + @Dict(dicCode = "equipment_category") + private String equipmentCategory; + //淇濆吇鏃ユ湡 + private String maintenanceDateFormatted; + //浣跨敤鍗曚綅 + private String factoryName; + /** + * 澶囦欢鏄庣粏 + */ + @ApiModelProperty(value = "澶囦欢浣跨敤鏄庣粏") + @DictList + private List<EamThirdMaintenanceSpare> eamThirdMaintenanceSpareList; + + /** + * 鍒楄〃 淇濆吇椤规槑缁� + */ + @ApiModelProperty(value = "鍒楄〃 淇濆吇椤规槑缁�") + @DictList + private List<EamThirdMaintenanceOrderDetail> eamThirdMaintenanceOrderDetailList; +} -- Gitblit v1.9.3