Your Name 2 年之前
父节点
当前提交
a794fe4171
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 1 0
      app/shop/database/sell_order.php
  2. 4 0
      tool/stats/lib/Manage.php

+ 1 - 0
app/shop/database/sell_order.php

@@ -1037,6 +1037,7 @@ return array
                 'shop_type' => 'yes',
                 'name' => 'yes',
                 'shop_id' => 'yes', 
+                'order_num' => 'yes',
                 'state' => 1,
             ),
             'type' => 'all',

+ 4 - 0
tool/stats/lib/Manage.php

@@ -60,6 +60,7 @@ Class Manage
 		$cate = Dever::input('cate');
 		$name = Dever::input('goods_name');
 		$shop_name = Dever::input('shop_name');
+		$order_num = Dever::input('order_num');
 		if ($start) {
 			$where['start'] = strtotime($start);
 		}
@@ -90,6 +91,9 @@ Class Manage
 				$where['shop_id'] = $shop['id'];
 			}
 		}
+		if ($order_num) {
+			$where['order_num'] = $order_num;
+		}
 		$where['state'] = 1;
 		$data = Dever::db('shop/sell_order')->getExcel($where);
 		// print_R($data);die;