From dadf503b15f3423980ad2bc17d23ea1a444aca10 Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期三, 14 五月 2025 17:48:00 +0800 Subject: [PATCH] 【UPDATE】修改mapper适配mybatis-plus --- aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlatePlanTemp.java | 38 ++++++++++++++++---------------------- 1 files changed, 16 insertions(+), 22 deletions(-) diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlatePlanTemp.java b/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlatePlanTemp.java index ecce3eb..b928e75 100644 --- a/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlatePlanTemp.java +++ b/aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlatePlanTemp.java @@ -1,11 +1,13 @@ package com.aps.core.domain; -import java.util.Date; +import com.aps.common.core.annotation.Excel; +import com.aps.common.core.web.domain.BaseEntity; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import com.aps.common.core.annotation.Excel; -import com.aps.common.core.web.domain.BaseEntity; + +import java.math.BigDecimal; +import java.util.Date; /** * 閽i噾璁″垝涓存椂琛ㄥ璞� aps_plate_plan_temp @@ -75,11 +77,11 @@ /** 鐢熶骇鏁伴噺 */ @Excel(name = "鐢熶骇鏁伴噺") - private Long productionQuantity; + private BigDecimal productionQuantity; /** 鑹搧鏁伴噺 */ @Excel(name = "鑹搧鏁伴噺") - private Long goodProductsQuantity; + private BigDecimal goodProductsQuantity; /** 宸ュ簭鍙� */ @Excel(name = "宸ュ簭鍙�") @@ -120,11 +122,9 @@ private String nextProcessDeparment; /** 鏄惁鎸傝捣 */ - private Integer isSuspended; - - /** 鏄惁鎸傝捣 */ @Excel(name = "鏄惁鎸傝捣") - private String isSuspendedTxt; + private String isSuspended; + /** 澶栧崗鏍囪瘑 */ @Excel(name = "澶栧崗鏍囪瘑") private String isOutsourcing; @@ -167,7 +167,7 @@ private String batchNumber; /** 宸ュ巶 */ - @Excel(name = "宸ュ巶") +// @Excel(name = "宸ュ巶") private String plant; public void setId(String id) @@ -310,22 +310,22 @@ return versionNumber; } - public void setProductionQuantity(Long productionQuantity) + public void setProductionQuantity(BigDecimal productionQuantity) { this.productionQuantity = productionQuantity; } - public Long getProductionQuantity() + public BigDecimal getProductionQuantity() { return productionQuantity; } - public void setGoodProductsQuantity(Long goodProductsQuantity) + public void setGoodProductsQuantity(BigDecimal goodProductsQuantity) { this.goodProductsQuantity = goodProductsQuantity; } - public Long getGoodProductsQuantity() + public BigDecimal getGoodProductsQuantity() { return goodProductsQuantity; } @@ -420,12 +420,12 @@ return nextProcessDeparment; } - public void setIsSuspended(Integer isSuspended) + public void setIsSuspended(String isSuspended) { this.isSuspended = isSuspended; } - public Integer getIsSuspended() + public String getIsSuspended() { return isSuspended; } @@ -529,13 +529,7 @@ { return batchNumber; } - public String getIsSuspendedTxt() { - return isSuspendedTxt; - } - public void setIsSuspendedTxt(String isSuspendedTxt) { - this.isSuspendedTxt = isSuspendedTxt; - } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) -- Gitblit v1.9.3