From 16efcb8660c18c77ee79a558b639a79821669ef4 Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Mon, 12 Sep 2022 22:20:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/pro/domain/ProRouteProductBom.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/pro/domain/ProRouteProductBom.java b/ktg-mes/src/main/java/com/ktg/mes/pro/domain/ProRouteProductBom.java index 4cf3e1a..76a8749 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/pro/domain/ProRouteProductBom.java +++ b/ktg-mes/src/main/java/com/ktg/mes/pro/domain/ProRouteProductBom.java @@ -5,6 +5,8 @@ import org.apache.commons.lang3.builder.ToStringStyle; import com.ktg.common.annotation.Excel; import com.ktg.common.core.domain.BaseEntity; +import java.math.BigDecimal; + /** * 产品制程物料BOM对象 pro_route_product_bom * @@ -52,7 +54,7 @@ public class ProRouteProductBom extends BaseEntity /** 用料比例 */ @Excel(name = "用料比例") - private Long quantity; + private BigDecimal quantity; /** 预留字段1 */ private String attr1; @@ -147,12 +149,12 @@ public class ProRouteProductBom extends BaseEntity { return unitOfMeasure; } - public void setQuantity(Long quantity) + public void setQuantity(BigDecimal quantity) { this.quantity = quantity; } - public Long getQuantity() + public BigDecimal getQuantity() { return quantity; }