|
|
@@ -60,7 +60,7 @@ public class UserOrders {
|
|
|
* 阅读状态(1表示已读)
|
|
|
*/
|
|
|
@Column(name = "puo_readstatus")
|
|
|
- private Integer readStatus;
|
|
|
+ private Short readStatus;
|
|
|
|
|
|
/**
|
|
|
* 单据阅读时间(用于定期删除)
|
|
|
@@ -77,7 +77,7 @@ public class UserOrders {
|
|
|
this.sourceId = sourceId;
|
|
|
this.category = category;
|
|
|
this.table = table;
|
|
|
- this.readStatus = Status.NOT_READ.value();
|
|
|
+ this.readStatus = (short) Status.NOT_READ.value();
|
|
|
}
|
|
|
|
|
|
public Long getId() {
|
|
|
@@ -128,11 +128,11 @@ public class UserOrders {
|
|
|
this.table = table;
|
|
|
}
|
|
|
|
|
|
- public Integer getReadStatus() {
|
|
|
+ public Short getReadStatus() {
|
|
|
return readStatus;
|
|
|
}
|
|
|
|
|
|
- public void setReadStatus(Integer readStatus) {
|
|
|
+ public void setReadStatus(Short readStatus) {
|
|
|
this.readStatus = readStatus;
|
|
|
}
|
|
|
|