正在显示
4 个修改的文件
包含
14 行增加
和
18 行删除
@@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model; | @@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model; | ||
2 | 2 | ||
3 | import com.fasterxml.jackson.annotation.JsonFormat; | 3 | import com.fasterxml.jackson.annotation.JsonFormat; |
4 | 4 | ||
5 | +import java.math.BigDecimal; | ||
5 | import java.util.Date; | 6 | import java.util.Date; |
6 | import java.util.List; | 7 | import java.util.List; |
7 | 8 | ||
@@ -25,7 +26,7 @@ public class NMMS_CUSTOM_MT3201 { | @@ -25,7 +26,7 @@ public class NMMS_CUSTOM_MT3201 { | ||
25 | 26 | ||
26 | private Integer piece; | 27 | private Integer piece; |
27 | 28 | ||
28 | - private Long weight; | 29 | + private BigDecimal weight; |
29 | 30 | ||
30 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 31 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
31 | private Date arrivetime; | 32 | private Date arrivetime; |
@@ -127,11 +128,11 @@ public class NMMS_CUSTOM_MT3201 { | @@ -127,11 +128,11 @@ public class NMMS_CUSTOM_MT3201 { | ||
127 | this.piece = piece; | 128 | this.piece = piece; |
128 | } | 129 | } |
129 | 130 | ||
130 | - public Long getWeight() { | 131 | + public BigDecimal getWeight() { |
131 | return weight; | 132 | return weight; |
132 | } | 133 | } |
133 | 134 | ||
134 | - public void setWeight(Long weight) { | 135 | + public void setWeight(BigDecimal weight) { |
135 | this.weight = weight; | 136 | this.weight = weight; |
136 | } | 137 | } |
137 | 138 |
@@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model; | @@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model; | ||
2 | 2 | ||
3 | import com.fasterxml.jackson.annotation.JsonFormat; | 3 | import com.fasterxml.jackson.annotation.JsonFormat; |
4 | 4 | ||
5 | +import java.math.BigDecimal; | ||
5 | import java.util.Date; | 6 | import java.util.Date; |
6 | import java.util.List; | 7 | import java.util.List; |
7 | 8 | ||
@@ -25,7 +26,7 @@ public class NMMS_CUSTOM_MT4201 { | @@ -25,7 +26,7 @@ public class NMMS_CUSTOM_MT4201 { | ||
25 | 26 | ||
26 | private Integer lodingpiece; | 27 | private Integer lodingpiece; |
27 | 28 | ||
28 | - private Long lodingweight; | 29 | + private BigDecimal lodingweight; |
29 | 30 | ||
30 | private String customcode; | 31 | private String customcode; |
31 | 32 | ||
@@ -129,11 +130,11 @@ public class NMMS_CUSTOM_MT4201 { | @@ -129,11 +130,11 @@ public class NMMS_CUSTOM_MT4201 { | ||
129 | this.lodingpiece = lodingpiece; | 130 | this.lodingpiece = lodingpiece; |
130 | } | 131 | } |
131 | 132 | ||
132 | - public Long getLodingweight() { | 133 | + public BigDecimal getLodingweight() { |
133 | return lodingweight; | 134 | return lodingweight; |
134 | } | 135 | } |
135 | 136 | ||
136 | - public void setLodingweight(Long lodingweight) { | 137 | + public void setLodingweight(BigDecimal lodingweight) { |
137 | this.lodingweight = lodingweight; | 138 | this.lodingweight = lodingweight; |
138 | } | 139 | } |
139 | 140 |
@@ -44,7 +44,8 @@ public class NMMS_CUSTOM_MT520X { | @@ -44,7 +44,8 @@ public class NMMS_CUSTOM_MT520X { | ||
44 | 44 | ||
45 | private String status; | 45 | private String status; |
46 | 46 | ||
47 | - private String messageType; | 47 | + //去掉 |
48 | +// private String messageType; | ||
48 | 49 | ||
49 | private Boolean isdelete; | 50 | private Boolean isdelete; |
50 | 51 | ||
@@ -194,14 +195,6 @@ public class NMMS_CUSTOM_MT520X { | @@ -194,14 +195,6 @@ public class NMMS_CUSTOM_MT520X { | ||
194 | return status; | 195 | return status; |
195 | } | 196 | } |
196 | 197 | ||
197 | - public String getMessageType() { | ||
198 | - return messageType; | ||
199 | - } | ||
200 | - | ||
201 | - public void setMessageType(String messageType) { | ||
202 | - this.messageType = messageType; | ||
203 | - } | ||
204 | - | ||
205 | public void setStatus(String status) { | 198 | public void setStatus(String status) { |
206 | this.status = status == null ? null : status.trim(); | 199 | this.status = status == null ? null : status.trim(); |
207 | } | 200 | } |
@@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model; | @@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model; | ||
2 | 2 | ||
3 | import com.fasterxml.jackson.annotation.JsonFormat; | 3 | import com.fasterxml.jackson.annotation.JsonFormat; |
4 | 4 | ||
5 | +import java.math.BigDecimal; | ||
5 | import java.util.Date; | 6 | import java.util.Date; |
6 | 7 | ||
7 | public class NMMS_CUSTOM_RESPONSE { | 8 | public class NMMS_CUSTOM_RESPONSE { |
@@ -23,7 +24,7 @@ public class NMMS_CUSTOM_RESPONSE { | @@ -23,7 +24,7 @@ public class NMMS_CUSTOM_RESPONSE { | ||
23 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 24 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
24 | private Date busdate; | 25 | private Date busdate; |
25 | 26 | ||
26 | - private Long busweight; | 27 | + private BigDecimal busweight; |
27 | 28 | ||
28 | private Integer buspiece; | 29 | private Integer buspiece; |
29 | 30 | ||
@@ -125,11 +126,11 @@ public class NMMS_CUSTOM_RESPONSE { | @@ -125,11 +126,11 @@ public class NMMS_CUSTOM_RESPONSE { | ||
125 | this.busdate = busdate; | 126 | this.busdate = busdate; |
126 | } | 127 | } |
127 | 128 | ||
128 | - public Long getBusweight() { | 129 | + public BigDecimal getBusweight() { |
129 | return busweight; | 130 | return busweight; |
130 | } | 131 | } |
131 | 132 | ||
132 | - public void setBusweight(Long busweight) { | 133 | + public void setBusweight(BigDecimal busweight) { |
133 | this.busweight = busweight; | 134 | this.busweight = busweight; |
134 | } | 135 | } |
135 | 136 |
-
请 注册 或 登录 后发表评论