瀏覽代碼

no message

lvhao 1 天之前
父節點
當前提交
fa34992961
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      core/CoreApp/controllers/Whlabel_bh.php

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

@@ -2299,13 +2299,13 @@ 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);
+		echo "extra_type = 1 and time >= ".$start_time." and time <= ".$end_time;
+		die;
 		$orderinfo_list =[];
 		$total_num = 0;
-		echo "<pre>";
 		foreach($all_list as $k=>$v){
 			$orderinfo_list[$v['id']] = $v['id'];
-			$total_num = $total_num + $v['bhnum'];
-			var_dump($v['bhnum']);
+			$total_num += $v['bhnum'];
 		}
 		$wbids = array_values($orderinfo_list);
 		if(empty($wbids)){
@@ -2314,9 +2314,7 @@ class Whlabel_bh extends Start_Controller {
 			$over_num = $this->whlabel_bh_transfer->find_count(" status = 2 and wbid in (".implode(",",$wbids).")");
 		}
 		
-		var_dump($total_num);
-		var_dump($over_num);
-        die;
+
 		$this->data['total_num'] = $total_num;
 		$this->data['wwcsl'] = $total_num - $over_num;