From 092f60d9159fc3484c116493e71631982d3c0bda Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期日, 27 四月 2025 17:59:31 +0800
Subject: [PATCH] 【UPDATE-定时任务】修改工序抓取定时任务,增加创建时间创建人字段
---
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java | 49 +++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 41 insertions(+), 8 deletions(-)
diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java b/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java
index 0481ec4..6986fd7 100644
--- a/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java
+++ b/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java
@@ -2,8 +2,11 @@
import com.aps.common.core.annotation.Excel;
import com.aps.common.core.web.domain.BaseEntity;
+import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
+
+import java.math.BigDecimal;
/**
* 鏍囧噯宸ュ簭瀵硅薄 aps_standard_process
@@ -11,63 +14,92 @@
* @author hjy
* @date 2025-04-23
*/
+
+@Schema(description = "鏍囧噯宸ュ簭瀹炰綋")
public class ApsStandardProcess extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 涓婚敭id */
+ @Schema(description = "涓婚敭id", type = "Long")
private Long id;
/** 宸ュ簭缂栫爜 */
+ @Schema(description = "宸ュ簭缂栫爜", type = "String")
@Excel(name = "宸ュ簭缂栫爜")
private String processNumber;
/** 宸ュ簭鍚嶇О */
+ @Schema(description = "宸ュ簭鍚嶇О", type = "String")
@Excel(name = "宸ュ簭鍚嶇О")
private String processName;
/** 璧勬簮缁� */
+ @Schema(description = "璧勬簮缁�", type = "String")
@Excel(name = "璧勬簮缁�")
private String resourceGroupName;
/** 浜ц兘妯″瀷: 鐙崰/鍚堟壒 */
- @Excel(name = "浜ц兘妯″瀷: 鐙崰/鍚堟壒")
+ @Schema(description = "浜ц兘妯″瀷", type = "String")
+ @Excel(name = "浜ц兘妯″瀷")
private String model;
/** 璁捐浜ц兘 */
+ @Schema(description = "璁捐浜ц兘", type = "String")
@Excel(name = "璁捐浜ц兘")
- private String designCapacity;
+ private BigDecimal designCapacity;
/** 宸ュ巶Id */
- @Excel(name = "宸ュ巶Id")
+ @Schema(description = "宸ュ巶Id", type = "String")
+// @Excel(name = "宸ュ巶Id")
private String plantId;
/** 宸ュ巶 */
+ @Schema(description = "宸ュ巶", type = "String")
@Excel(name = "宸ュ巶")
private String plant;
/** 杞﹂棿Id */
- @Excel(name = "杞﹂棿Id")
+ @Schema(description = "杞﹂棿Id", type = "String")
+// @Excel(name = "杞﹂棿Id")
private String workShopId;
/** 杞﹂棿 */
+ @Schema(description = "杞﹂棿", type = "String")
@Excel(name = "杞﹂棿")
private String workShop;
/** 鏃ュ巻Id */
- @Excel(name = "鏃ュ巻Id")
+ @Schema(description = "鏃ュ巻Id", type = "Long")
+// @Excel(name = "鏃ュ巻Id")
private Long workCalenderId;
/** 鍒犻櫎鏍囧織锛�0浠h〃瀛樺湪 2浠h〃鍒犻櫎锛� */
+ @Schema(description = "鍒犻櫎鏍囧織锛�0浠h〃瀛樺湪 2浠h〃鍒犻櫎锛�", type = "String")
private String delFlag;
/** 浜ц兘妯″瀷Id */
- @Excel(name = "浜ц兘妯″瀷Id")
+ @Schema(description = "浜ц兘妯″瀷Id", type = "Long")
+// @Excel(name = "浜ц兘妯″瀷Id")
private Long modelId;
/** 鏃ュ巻鎻忚堪 */
+ @Schema(description = "鏃ュ巻鎻忚堪", type = "String")
@Excel(name = "鏃ュ巻鎻忚堪")
private String workCalender;
+
+ /** 涓撲笟 */
+ @Schema(description = "涓撲笟", type = "String")
+ @Excel(name = "涓撲笟")
+ private String major;
+
+ public String getMajor() {
+ return major;
+ }
+
+ public void setMajor(String major) {
+ this.major = major;
+ }
public void setId(Long id)
{
@@ -119,12 +151,12 @@
return model;
}
- public void setDesignCapacity(String designCapacity)
+ public void setDesignCapacity(BigDecimal designCapacity)
{
this.designCapacity = designCapacity;
}
- public String getDesignCapacity()
+ public BigDecimal getDesignCapacity()
{
return designCapacity;
}
@@ -230,6 +262,7 @@
.append("updateTime", getUpdateTime())
.append("modelId", getModelId())
.append("workCalender", getWorkCalender())
+ .append("major", getMajor())
.toString();
}
}
--
Gitblit v1.9.3