|
|
@@ -799,10 +799,10 @@ 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("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
- $smt = $this->fullordersmt->find_all("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,refundy,userid,budget,refundy');
|
|
|
- $tt = $this->fullordertt->find_all("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
- $amz = $this->fullorderamz->find_all("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
+ $dlz = $this->fullorder->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
+ $smt = $this->fullordersmt->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,refundy,userid,budget,refundy');
|
|
|
+ $tt = $this->fullordertt->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
+ $amz = $this->fullorderamz->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
|
|
|
$ab[] = $dlz;
|
|
|
//数量及金额开始
|
|
|
@@ -876,10 +876,10 @@ 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("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
- $smt = $this->fullordersmt->find_all("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
- $tt = $this->fullordertt->find_all("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
- $amz = $this->fullorderamz->find_all("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $dlz = $this->fullorder->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $smt = $this->fullordersmt->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $tt = $this->fullordertt->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $amz = $this->fullorderamz->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
//数量及金额开始
|
|
|
$dlzm = sprintf("%01.2f", array_sum(array_column($dlz, 'shouldmoney')));
|
|
|
$smtm = sprintf("%01.2f", array_sum(array_column($smt, 'shouldmoney')));
|
|
|
@@ -1004,10 +1004,10 @@ 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("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
- $smt = $this->fullordersmt->find_all("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,refundy,userid,budget,refundy');
|
|
|
- $tt = $this->fullordertt->find_all("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
- $amz = $this->fullorderamz->find_all("source != 1 and state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
+ $dlz = $this->fullorder->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
+ $smt = $this->fullordersmt->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,refundy,userid,budget,refundy');
|
|
|
+ $tt = $this->fullordertt->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
+ $amz = $this->fullorderamz->find_all("state != 217 and state != 214 and dtime >= " . $ct . " and dtime < " . $ctj . $where . " and shop != '0' and (" . rtrim($fgshop, 'or') . ") and shop != '18' and shop != '19'", 'budget,shouldmoney,shop,number,refundy,budget,email,refundy');
|
|
|
|
|
|
$ab[] = $dlz;
|
|
|
//数量及金额开始
|
|
|
@@ -1083,10 +1083,10 @@ 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("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
- $smt = $this->fullordersmt->find_all("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
- $tt = $this->fullordertt->find_all("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
- $amz = $this->fullorderamz->find_all("source != 1 and state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $dlz = $this->fullorder->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $smt = $this->fullordersmt->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $tt = $this->fullordertt->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
+ $amz = $this->fullorderamz->find_all("state != 217 and state != 214 and (" . rtrim($fgshop, 'or') . ") and dtime >= " . $ct . " and dtime < " . $ctj . $where, 'budget,shouldmoney,shop');
|
|
|
//数量及金额开始
|
|
|
$dlzm = sprintf("%01.2f", array_sum(array_column($dlz, 'shouldmoney')));
|
|
|
$smtm = sprintf("%01.2f", array_sum(array_column($smt, 'shouldmoney')));
|