|
|
@@ -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);
|