初始化问题
This commit is contained in:
@@ -125,12 +125,4 @@ public class ShopUser implements Serializable {
|
||||
|
||||
@Column(onInsertValue = "now()", onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
|
||||
public BigDecimal getAmount() {
|
||||
if (amount == null) {
|
||||
return BigDecimal.ZERO;
|
||||
}
|
||||
return amount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user