Implement cleaning to set all historic negative balances to zero
This commit is contained in:
@ -18,7 +18,7 @@ func (n Numeric) GetFloat64() float64 {
|
||||
return balance
|
||||
}
|
||||
|
||||
func (n Numeric) GetPositive() bool {
|
||||
func (n Numeric) IsPositive() bool {
|
||||
if n.Status != pgtype.Present {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user