Explorar el Código

fohow 订单统计功能

abiao hace 5 años
padre
commit
d5d167e28e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
       field :begin_date do
         visible true
         visible true
         formatted_value do
         formatted_value do
-          self.begin_date.strftime
+          :begin_date.strftime
         end
         end
       end
       end
       field :end_date
       field :end_date