Browse Source

nsy update 修复bug:点击订单详情报错

ningsy 3 years ago
parent
commit
11aeee7b7f

+ 12 - 12
suishenbang-order/src/main/java/com/dgtly/order/domain/OrderLineDetailLineModel.java

@@ -17,13 +17,13 @@ public class OrderLineDetailLineModel implements Serializable {
     //    规格
     private String sizeDim;
     //    数量
-    private BigDecimal count = new BigDecimal(0);
+    private String count = "0";
     //  未交货数量
-    private BigDecimal notDeliveryCount = new BigDecimal(0);
+    private String notDeliveryCount = "0";
     //    发货数量
-    private BigDecimal sendCount = new BigDecimal(0);
+    private String sendCount = "0";
     //    已收货数量
-    private BigDecimal collectCount = new BigDecimal(0);
+    private String collectCount ="0";
 
 
     public String getOrderItem() {
@@ -50,35 +50,35 @@ public class OrderLineDetailLineModel implements Serializable {
         this.sizeDim = sizeDim;
     }
 
-    public BigDecimal getCount() {
+    public String getCount() {
         return count;
     }
 
-    public void setCount(BigDecimal count) {
+    public void setCount(String count) {
         this.count = count;
     }
 
-    public BigDecimal getNotDeliveryCount() {
+    public String getNotDeliveryCount() {
         return notDeliveryCount;
     }
 
-    public void setNotDeliveryCount(BigDecimal notDeliveryCount) {
+    public void setNotDeliveryCount(String notDeliveryCount) {
         this.notDeliveryCount = notDeliveryCount;
     }
 
-    public BigDecimal getSendCount() {
+    public String getSendCount() {
         return sendCount;
     }
 
-    public void setSendCount(BigDecimal sendCount) {
+    public void setSendCount(String sendCount) {
         this.sendCount = sendCount;
     }
 
-    public BigDecimal getCollectCount() {
+    public String getCollectCount() {
         return collectCount;
     }
 
-    public void setCollectCount(BigDecimal collectCount) {
+    public void setCollectCount(String collectCount) {
         this.collectCount = collectCount;
     }
 }