Your Name 2 年之前
父節點
當前提交
0f5630ff3c
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      app/shop/database/buy_order.php
  2. 1 1
      tool/stats/lib/Manage.php

+ 2 - 2
app/shop/database/buy_order.php

@@ -996,8 +996,8 @@ $config = array
                 'end' => array('yes-cdate', '<='),
                 'fstart' => array('yes-fdate', '>='),
                 'fend' => array('yes-fdate', '<='),
-                'fastart' => array('yes-cdate', '>='),
-                'faend' => array('yes-cdate', '<='),
+                'fastart' => array('yes-fadate', '>='),
+                'faend' => array('yes-fadate', '<='),
                 'type' => 1,
                 'type_id' => array('yes', 'in'),
                 'status' => array('yes', 'in'),

+ 1 - 1
tool/stats/lib/Manage.php

@@ -552,7 +552,7 @@ Class Manage
 		}
 		if ($shop_name) {
 			$where['type'] = 1;
-			$shop = Dever::db('shop/info')->find(array('name'=>$name));
+			$shop = Dever::db('shop/info')->find(array('name'=>$shop_name));
 			if ($shop) {
 				$where['type_id'] = $shop['id'];
 			}