userslog_712_2
This commit is contained in:
@@ -236,14 +236,14 @@ class Licheb extends HD_Controller
|
||||
if ($biz_id == 1 || $biz_id == 110) {//门店不写入
|
||||
continue;
|
||||
}
|
||||
$a_num = $t_num = $bills = $follows = $defeats = $qy_adds = $qy_dels = $reassigns = $receives = 0;
|
||||
$c_num = $orders = $customers = 0;
|
||||
$c_num_ary = $order_ary = $customer_ary = [];
|
||||
$c_num_json = $order_json = $customer_json = '';
|
||||
$re = $this->mdBizsLog->get(['biz_id' => $biz_id, 'log_date' => $log_date]);
|
||||
if ($re) {
|
||||
continue;
|
||||
}
|
||||
$a_num = $t_num = $bills = $follows = $defeats = $qy_adds = $qy_dels = $reassigns = $receives = 0;
|
||||
$c_num = $orders = $customers = 0;
|
||||
$c_num_ary = $order_ary = $customer_ary = [];
|
||||
$c_num_json = $order_json = $customer_json = '';
|
||||
$res2 = $this->mdUsersLog->select(['biz_id' => $biz_id, 'log_date' => $log_date], 'id asc');
|
||||
foreach ($res2 as $key2 => $value2) {
|
||||
$c_num += $value2['c_num'];
|
||||
|
||||
@@ -138,14 +138,17 @@ class Temp extends HD_Controller
|
||||
$res = $this->mdBiz->select(['status' => 1], 'id asc', 0, 0, 'id,type,city_id');
|
||||
foreach ($res as $key => $value) {
|
||||
$biz_id = $value['id'];
|
||||
$a_num = $t_num = $bills = $follows = $defeats = $qy_adds = $qy_dels = $reassigns = $receives = 0;
|
||||
$c_num = $orders = $customers = 0;
|
||||
$c_num_ary = $order_ary = $customer_ary = [];
|
||||
$c_num_json = $order_json = $customer_json = '';
|
||||
if ($biz_id == 1 || $biz_id == 110) {//门店不写入
|
||||
continue;
|
||||
}
|
||||
$re = $this->mdBizsLog->get(['biz_id' => $biz_id, 'log_date' => $log_date]);
|
||||
if ($re) {
|
||||
continue;
|
||||
}
|
||||
$a_num = $t_num = $bills = $follows = $defeats = $qy_adds = $qy_dels = $reassigns = $receives = 0;
|
||||
$c_num = $orders = $customers = 0;
|
||||
$c_num_ary = $order_ary = $customer_ary = [];
|
||||
$c_num_json = $order_json = $customer_json = '';
|
||||
$res2 = $this->mdUsersLog->select(['biz_id' => $biz_id, 'log_date' => $log_date], 'id asc');
|
||||
foreach ($res2 as $key2 => $value2) {
|
||||
$c_num += $value2['c_num'];
|
||||
|
||||
Reference in New Issue
Block a user