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