From 19d0103e41777e6f687fdb337999a058e48eb790 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期四, 24 四月 2025 09:43:55 +0800 Subject: [PATCH] 钣金按部门统计时间 --- aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlateProcessShopPlanStat.java | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlateProcessShopPlanStat.java b/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlateProcessShopPlanStat.java index dbf0d80..b8a3b62 100644 --- a/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlateProcessShopPlanStat.java +++ b/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlateProcessShopPlanStat.java @@ -2,6 +2,7 @@ import com.aps.common.core.annotation.Excel; import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serial; @@ -12,56 +13,70 @@ import java.util.List; @Data +@Schema(description = "閽i噾缁熻澶ц〃") public class ApsPlateProcessShopPlanStat implements Serializable { @Serial private static final long serialVersionUID = 1L; + /** 涓婚敭id */ + @Schema(description = "涓婚敭id", type = "String") private String id; /** 涓讳欢鏂欏彿 */ + @Schema(description = "涓讳欢鏂欏彿", type = "String") @Excel(name = "涓讳欢鏂欏彿") private String mainPartNumber; /** 涓氬姟绫诲瀷 */ + @Schema(description = "涓氬姟绫诲瀷", type = "String") @Excel(name = "涓氬姟绫诲瀷") private String businessType; /** 鍗曟嵁鍙� */ + @Schema(description = "鍗曟嵁鍙�", type = "String") @Excel(name = "鍗曟嵁鍙�") private String documentNumber; /** 闇�姹傚垎绫� */ + @Schema(description = "闇�姹傚垎绫�", type = "String") @Excel(name = "闇�姹傚垎绫�") private String requirementType; /** 鍗曟嵁鐘舵�� */ + @Schema(description = "鍗曟嵁鐘舵��", type = "String") @Excel(name = "鍗曟嵁鐘舵��") private String documentStatus; /** 褰撳墠宸ュ簭 */ + @Schema(description = "褰撳墠宸ュ簭", type = "String") @Excel(name = "褰撳墠宸ュ簭") private String workCenter; /** 鏂欏彿 */ @Excel(name = "鏂欏彿") + @Schema(description = "鏂欏彿", type = "String") private String itemNumber; /** 鍥惧彿 */ + @Schema(description = "鍥惧彿", type = "String") @Excel(name = "鍥惧彿") private String drawingNo; /** 鐗堟湰鍙� */ + @Schema(description = "鐗堟湰鍙�", type = "String") @Excel(name = "鐗堟湰鍙�") private String versionNumber; /** 鐢熶骇鏁伴噺 */ + @Schema(description = "鐢熶骇鏁伴噺", type = "String") @Excel(name = "鐢熶骇鏁伴噺") private BigDecimal productionQuantity; /** 璁″垝瀹屽伐鏃� */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "璁″垝瀹屽伐鏃�", width = 30, dateFormat = "yyyy-MM-dd") + @Schema(description = "璁″垝瀹屽伐鏃�", type = "String") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @Excel(name = "璁″垝瀹屽伐鏃�", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date planEndDay; private List<ApsPlateProcessShopStat> deptPlans=new ArrayList<>(); -- Gitblit v1.9.3