lvhao 2 gün önce
ebeveyn
işleme
5476068ee2
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      core/CoreApp/controllers/Whlabel_bh.php

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

@@ -2301,9 +2301,11 @@ class Whlabel_bh extends Start_Controller {
 		$all_list = $this->whlabel_bh->find_all("extra_type = 1 and time >= ".$start_time." and time <= ".$end_time);
 		$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']);
 		}
 		$wbids = array_values($orderinfo_list);
 		if(empty($wbids)){
@@ -2311,7 +2313,7 @@ class Whlabel_bh extends Start_Controller {
 		}else{
 			$over_num = $this->whlabel_bh_transfer->find_count(" status = 2 and wbid in (".implode(",",$wbids).")");
 		}
-		echo "<pre>";
+		
 		var_dump($total_num);
 		var_dump($over_num);
         die;