From 51dd6f6129fec5a8301efafcb28d01a3d5734bea Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 07 四月 2023 17:47:44 +0800 Subject: [PATCH] 1 --- src/main/java/com/terra/coal/entity/Coal2000Entity.java | 49 ++++++++++++++++++++++++------------------------- 1 files changed, 24 insertions(+), 25 deletions(-) diff --git a/src/main/java/com/terra/coal/entity/Coal2000Entity.java b/src/main/java/com/terra/coal/entity/Coal2000Entity.java index 86628f5..d2a2eb6 100644 --- a/src/main/java/com/terra/coal/entity/Coal2000Entity.java +++ b/src/main/java/com/terra/coal/entity/Coal2000Entity.java @@ -8,7 +8,6 @@ import lombok.EqualsAndHashCode; import java.io.Serializable; -import java.math.BigDecimal; /** * Coal2000Entity @@ -23,23 +22,23 @@ private Integer gid; - private BigDecimal top; + private Double top; - private BigDecimal bottom; + private Double bottom; - private BigDecimal clong; + private Double clong; - private BigDecimal width; + private Double width; - private BigDecimal height; + private Double height; private String ctype; - private BigDecimal density; + private Double density; - private BigDecimal gangue; + private Double gangue; - private BigDecimal volume; + private Double volume; @TableField(value = "ST_AsText(geom)", updateStrategy = FieldStrategy.NEVER, insertStrategy = FieldStrategy.NEVER) private String geom; @@ -55,43 +54,43 @@ this.gid = gid; } - public BigDecimal getTop() { + public Double getTop() { return top; } - public void setTop(BigDecimal top) { + public void setTop(Double top) { this.top = top; } - public BigDecimal getBottom() { + public Double getBottom() { return bottom; } - public void setBottom(BigDecimal bottom) { + public void setBottom(Double bottom) { this.bottom = bottom; } - public BigDecimal getClong() { + public Double getClong() { return clong; } - public void setClong(BigDecimal clong) { + public void setClong(Double clong) { this.clong = clong; } - public BigDecimal getWidth() { + public Double getWidth() { return width; } - public void setWidth(BigDecimal width) { + public void setWidth(Double width) { this.width = width; } - public BigDecimal getHeight() { + public Double getHeight() { return height; } - public void setHeight(BigDecimal height) { + public void setHeight(Double height) { this.height = height; } @@ -103,27 +102,27 @@ this.ctype = ctype; } - public BigDecimal getDensity() { + public Double getDensity() { return density; } - public void setDensity(BigDecimal density) { + public void setDensity(Double density) { this.density = density; } - public BigDecimal getGangue() { + public Double getGangue() { return gangue; } - public void setGangue(BigDecimal gangue) { + public void setGangue(Double gangue) { this.gangue = gangue; } - public BigDecimal getVolume() { + public Double getVolume() { return volume; } - public void setVolume(BigDecimal volume) { + public void setVolume(Double volume) { this.volume = volume; } -- Gitblit v1.9.3