Commit 8e854ad7 authored by christ's avatar christ

pc

parent 566f2429
......@@ -666,8 +666,11 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
do {
$storeMemberStatisticDatas = $orderDao->getMemberStoreStaticsByCreateTime($beginTime, $this->taskIndex, $this->taskSize);
$orders = isset($storeMemberStatisticDatas['list']) ? $storeMemberStatisticDatas['list'] : false;
echo 1;
$this->taskIndex++;
echo 2;
if ($orders) {
echo 3;
foreach($orders as $order){
$storeMemberStatisticsData['storeId']=$order['storeId'];
$storeMemberStatisticsData['buyerId']=$order['buyerId'];
......@@ -683,8 +686,11 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
echo $ex->getMessage().json_encode($storeMemberStatisticsData)."\r\n";
}
}
echo 4;
}
echo 5;
echo $this->taskIndex;
echo 6;
} while ($orders);
echo 234234;exit;
file_put_contents($this->baseDir . PathConst::orderGoodsCreateTime, TIMESTAMP);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment