Forráskód Böngészése

[CODE]: 数据类型修改

maxianghua 4 éve
szülő
commit
878a0c06c5

+ 7 - 5
ruoyi-warehouse/src/main/java/com/ruoyi/warehouseBusiness/domain/TWarehouseAgreementitems.java

@@ -6,6 +6,8 @@ import com.ruoyi.common.core.domain.BaseEntity;
 import org.apache.commons.lang3.builder.ToStringBuilder;
 import org.apache.commons.lang3.builder.ToStringStyle;
 
+import java.math.BigDecimal;
+
 /**
  * 仓储费明细表对象 t_warehouse_agreementitems
  *
@@ -60,7 +62,7 @@ public class TWarehouseAgreementitems extends BaseEntity {
      * 单价,只有为仓储费显示
      */
     @Excel(name = "单价,只有为仓储费显示")
-    private Long fPrice;
+    private BigDecimal fPrice;
 
     /**
      * 状态,默认 T ,正常T 停用F 下拉选择
@@ -130,12 +132,12 @@ public class TWarehouseAgreementitems extends BaseEntity {
         return fEndays;
     }
 
-    public void setfPrice(Long fPrice) {
-        this.fPrice = fPrice;
+    public BigDecimal getfPrice() {
+        return fPrice;
     }
 
-    public Long getfPrice() {
-        return fPrice;
+    public void setfPrice(BigDecimal fPrice) {
+        this.fPrice = fPrice;
     }
 
     public void setfStatus(String fStatus) {