lvhao 1 день тому
батько
коміт
7815f978bb
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      core/CoreApp/controllers/Whlabel_bh.php

+ 4 - 1
core/CoreApp/controllers/Whlabel_bh.php

@@ -2298,7 +2298,10 @@ class Whlabel_bh extends Start_Controller {
 		}
 		$start_time = strtotime(date('Y-m-d')) -  14* 24 * 60 * 60;
 		$end_time = strtotime(date('Y-m-d')) + 24 * 60 * 60;
-		$all_list = $this->whlabel_bh->find_all("extra_type = 1 and time >= ".$start_time." and time <= ".$end_time);
+		//$all_list = $this->whlabel_bh->find_all("extra_type = 1 and time >= ".$start_time." and time <= ".$end_time);
+		$tmp_list = $this->whlabel_bh->find_pc("extra_type = 1 and time >= ".$start_time." and time <= ".$end_time,'orderinfo',"id,orderinfo,jgtime",'id desc');
+		var_dump($tmp_list);
+		die;
 		$orderinfo_list =[];
 		$total_num = 0;
 		foreach($all_list as $k=>$v){