@@ -41,7 +41,7 @@ class CashBalance < ActiveRecord::Base
return self.count
end
- total=0
+ const total=0
def get_happen_total
total= total+self.count
return total