abiao 4 年 前
コミット
4b83efbab7
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      app/models/cash_balance.rb

+ 1 - 1
app/models/cash_balance.rb

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