Parcourir la source

fohow 订单统计功能

abiao il y a 5 ans
Parent
commit
d5d167e28e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/models/order_static_detail.rb

+ 1 - 1
app/models/order_static_detail.rb

@@ -16,7 +16,7 @@ class OrderStaticDetail < ActiveRecord::Base
       field :begin_date do
         visible true
         formatted_value do
-          self.begin_date.strftime
+          :begin_date.strftime
         end
       end
       field :end_date