ソースを参照

修改列表参数

anderx 3 年 前
コミット
01e9b98470
共有2 個のファイルを変更した10 個の追加6 個の削除を含む
  1. 5 3
      src/main/java/com/goafanti/order/bo/OutselectProjectSotp.java
  2. 5 3
      src/main/java/com/goafanti/order/bo/OutselectProjectSotpBo.java

+ 5 - 3
src/main/java/com/goafanti/order/bo/OutselectProjectSotp.java

@@ -1,6 +1,8 @@
 package com.goafanti.order.bo;
 
 
+import java.math.BigDecimal;
+
 public class OutselectProjectSotp {
 
     private Long id;
@@ -15,7 +17,7 @@ public class OutselectProjectSotp {
     private String serviceType;
     private String receiverName;
     private Integer status;
-    private String commodityPrice;
+    private BigDecimal commodityPrice;
     private String reason;
     private String annexUrl;
     private Integer sotpType;
@@ -141,11 +143,11 @@ public class OutselectProjectSotp {
         this.status = status;
     }
 
-    public String getCommodityPrice() {
+    public BigDecimal getCommodityPrice() {
         return commodityPrice;
     }
 
-    public void setCommodityPrice(String commodityPrice) {
+    public void setCommodityPrice(BigDecimal commodityPrice) {
         this.commodityPrice = commodityPrice;
     }
 

+ 5 - 3
src/main/java/com/goafanti/order/bo/OutselectProjectSotpBo.java

@@ -2,6 +2,8 @@ package com.goafanti.order.bo;
 
 import com.goafanti.common.utils.excel.Excel;
 
+import java.math.BigDecimal;
+
 public class OutselectProjectSotpBo extends  OutselectProjectSotp{
 
     @Excel(name = "时间")
@@ -28,7 +30,7 @@ public class OutselectProjectSotpBo extends  OutselectProjectSotp{
     private String statusName;
     private Integer status;
     @Excel(name = "项目金额")
-    private String commodityPrice;
+    private BigDecimal commodityPrice;
     @Excel(name = "原因")
     private String reason;
     private Integer sotpType;
@@ -154,12 +156,12 @@ public class OutselectProjectSotpBo extends  OutselectProjectSotp{
     }
 
     @Override
-    public String getCommodityPrice() {
+    public BigDecimal getCommodityPrice() {
         return commodityPrice;
     }
 
     @Override
-    public void setCommodityPrice(String commodityPrice) {
+    public void setCommodityPrice(BigDecimal commodityPrice) {
         this.commodityPrice = commodityPrice;
     }