lvhao 11 часов назад
Родитель
Сommit
3e20ce566e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      core/CoreApp/controllers/User.php

+ 4 - 4
core/CoreApp/controllers/User.php

@@ -801,7 +801,7 @@ class User extends Start_Controller
 				$ct = strtotime(date('Ymd', $t));
 				$ctj = strtotime(date('Ymd', $t + 24 * 3600));
 				//var_dump(date("Y-m-d H:i:s",$ct)."=================".date("Y-m-d H:i:s",$ctj));
-				$dlz = $this->fullorder->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
+				$dlz = $this->fullorder->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . "  and wzsgd = 0  and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
 				$smt = $this->fullordersmt->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,refundy,userid,refundj');
 				$tt = $this->fullordertt->find_all("  dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
 				$amz = $this->fullorderamz->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
@@ -904,7 +904,7 @@ class User extends Start_Controller
 				$ct = strtotime(date('Ymd', $t));
 				$ctj = strtotime(date('Ymd', $t + 24 * 3600)) ;
 				//var_dump(date("Y-m-d H:i:s",$ct)."------------------------".date("Y-m-d H:i:s",$ctj));
-				$dlz = $this->fullorder->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
+				$dlz = $this->fullorder->find_all(" (" . rtrim($fgshop, 'or') . ")  and wzsgd = 0  and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
 				$smt = $this->fullordersmt->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
 				$tt = $this->fullordertt->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
 				$amz = $this->fullorderamz->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
@@ -1032,7 +1032,7 @@ class User extends Start_Controller
 					$ct = strtotime(date('Ymd', $t));
 					// [修复 3] $ctj 减 1 秒
 					$ctj = strtotime(date('Ymd', $t + 24 * 3600)) ;
-					$dlz = $this->fullorder->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
+					$dlz = $this->fullorder->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and wzsgd = 0  and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
 					$smt = $this->fullordersmt->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,refundy,userid,refundj');
 					$tt = $this->fullordertt->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
 					$amz = $this->fullorderamz->find_all(" dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,email,refundj');
@@ -1133,7 +1133,7 @@ class User extends Start_Controller
 					$ct = strtotime(date('Ymd', $t));
 					// [修复 3] $ctj 减 1 秒
 					$ctj = strtotime(date('Ymd', $t + 24 * 3600)) ;
-					$dlz = $this->fullorder->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
+					$dlz = $this->fullorder->find_all(" (" . rtrim($fgshop, 'or') . ") and wzsgd = 0  and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
 					$smt = $this->fullordersmt->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
 					$tt = $this->fullordertt->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
 					$amz = $this->fullorderamz->find_all(" (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');