Browse Source

fohow 订单统计功能

abiao 5 years ago
parent
commit
ce55870780
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/models/order_static.rb

+ 2 - 0
app/models/order_static.rb

@@ -1,4 +1,6 @@
 # encoding: utf-8
+require 'date' # 包含DateTime
+require 'time'
 class OrderStatic < ActiveRecord::Base
   has_paper_trail
   self.table_name = "order_statics"