作者 朱兆平

Long 改为 BigDecimal

... ... @@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
... ... @@ -25,7 +26,7 @@ public class NMMS_CUSTOM_MT3201 {
private Integer piece;
private Long weight;
private BigDecimal weight;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date arrivetime;
... ... @@ -127,11 +128,11 @@ public class NMMS_CUSTOM_MT3201 {
this.piece = piece;
}
public Long getWeight() {
public BigDecimal getWeight() {
return weight;
}
public void setWeight(Long weight) {
public void setWeight(BigDecimal weight) {
this.weight = weight;
}
... ...
... ... @@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
... ... @@ -25,7 +26,7 @@ public class NMMS_CUSTOM_MT4201 {
private Integer lodingpiece;
private Long lodingweight;
private BigDecimal lodingweight;
private String customcode;
... ... @@ -129,11 +130,11 @@ public class NMMS_CUSTOM_MT4201 {
this.lodingpiece = lodingpiece;
}
public Long getLodingweight() {
public BigDecimal getLodingweight() {
return lodingweight;
}
public void setLodingweight(Long lodingweight) {
public void setLodingweight(BigDecimal lodingweight) {
this.lodingweight = lodingweight;
}
... ...
... ... @@ -44,7 +44,8 @@ public class NMMS_CUSTOM_MT520X {
private String status;
private String messageType;
//去掉
// private String messageType;
private Boolean isdelete;
... ... @@ -194,14 +195,6 @@ public class NMMS_CUSTOM_MT520X {
return status;
}
public String getMessageType() {
return messageType;
}
public void setMessageType(String messageType) {
this.messageType = messageType;
}
public void setStatus(String status) {
this.status = status == null ? null : status.trim();
}
... ...
... ... @@ -2,6 +2,7 @@ package com.sunyo.wlpt.base.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;
public class NMMS_CUSTOM_RESPONSE {
... ... @@ -23,7 +24,7 @@ public class NMMS_CUSTOM_RESPONSE {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date busdate;
private Long busweight;
private BigDecimal busweight;
private Integer buspiece;
... ... @@ -125,11 +126,11 @@ public class NMMS_CUSTOM_RESPONSE {
this.busdate = busdate;
}
public Long getBusweight() {
public BigDecimal getBusweight() {
return busweight;
}
public void setBusweight(Long busweight) {
public void setBusweight(BigDecimal busweight) {
this.busweight = busweight;
}
... ...