From 2a2edd2c92bbef5765b1bf96bc7a42986a26efc4 Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期三, 23 四月 2025 18:15:30 +0800 Subject: [PATCH] 【UPDATE】1.增加标准工序导入功能 2.修改日历功能字段类型 --- aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java | 35 +++++++++++++++++++++++++++-------- 1 files changed, 27 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..5f86243 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,61 +14,77 @@ * @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; @@ -119,12 +138,12 @@ return model; } - public void setDesignCapacity(String designCapacity) + public void setDesignCapacity(BigDecimal designCapacity) { this.designCapacity = designCapacity; } - public String getDesignCapacity() + public BigDecimal getDesignCapacity() { return designCapacity; } -- Gitblit v1.9.3