初始化问题

This commit is contained in:
2025-03-24 14:24:25 +08:00
parent d4e2e7c4d8
commit c7f7af9faf
2 changed files with 0 additions and 11 deletions

View File

@@ -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;
}
}