|
@@ -949,8 +949,8 @@ class OrderController extends O2oBaseController{
|
|
|
}
|
|
|
$criteria = new EMongoCriteria();
|
|
|
|
|
|
- //$criteria->booking_time('>=', strtotime($start_time));
|
|
|
- //$criteria->booking_time('<', strtotime($end_time));
|
|
|
+ $criteria->booking_time('>=', strtotime($start_time));
|
|
|
+ $criteria->booking_time('<', strtotime($end_time));
|
|
|
$criteria->addCond('user','==',new MongoId($user_id));
|
|
|
|
|
|
$cursor = ROrder::model()->findAll();
|