瀏覽代碼

提交数据

lvhao 3 天之前
父節點
當前提交
dd0fdeb827
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      core/CoreApp/controllers/User.php

+ 8 - 0
core/CoreApp/controllers/User.php

@@ -1852,6 +1852,9 @@ echo "满足条件 (email = 123 且 id = 3) 的数量是:$count";
 				$where .= " and source = '$source' ";
 			}
 		}
+		if($table_name == 'fullordertt' || $table_name == 'fullorderamz'){
+			$where .= " and state != 217 ";
+		}
 		$list = $this->$table_name->find_all($where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
 
 		$sl = count($list);
@@ -1973,6 +1976,11 @@ echo "满足条件 (email = 123 且 id = 3) 的数量是:$count";
 				$where .= " and source = '$source' ";
 			}
 		}
+
+		if($table_name == 'fullordertt' || $table_name == 'fullorderamz'){
+			$where .= " and state != 217 ";
+		}
+		
 		$list = $this->$table_name->find_all($where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
 
 		$sl = count($list);