1. 调试erp
This commit is contained in:
@@ -147,6 +147,7 @@ class ErpController extends Controller
|
||||
|
||||
}
|
||||
}
|
||||
ProductOrderLog::saveLog(0,'江奥川ERP拉取西(中成)药订单结束,拉取订单数据'). '--------'. json_encode($erpData);
|
||||
if(!empty($ids)){
|
||||
//更新为已同步erp
|
||||
\Yii::$app->db->createCommand()->update('yii_product_order', [
|
||||
@@ -155,7 +156,6 @@ class ErpController extends Controller
|
||||
}
|
||||
|
||||
|
||||
ProductOrderLog::saveLog(0,'江奥川ERP拉取西(中成)药订单结束,拉取订单数据'). '--------'. json_encode($erpData);
|
||||
ProductOrderLog::saveLog(0,'江奥川ERP拉取西(中成)药订单结束,拉取订单数量:'.count($productOrders).', 拉取的订单ids:'.implode(',',$ids));
|
||||
} catch (\Exception $e) {
|
||||
// ds([
|
||||
|
||||
Reference in New Issue
Block a user