删除无意义的记录
This commit is contained in:
@@ -20,7 +20,6 @@ class ProductOrderSyncJob extends BaseJob implements JobInterface
|
||||
*/
|
||||
public function execute($queue)
|
||||
{
|
||||
ProductOrderLog::saveLog($this->orderId,'订单自动同步江奥川ERP start');
|
||||
$t = \Yii::$app->db->beginTransaction();
|
||||
try {
|
||||
$this->setRequest();
|
||||
@@ -96,7 +95,6 @@ class ProductOrderSyncJob extends BaseJob implements JobInterface
|
||||
$ProductOrder->is_sync_erp = 1;
|
||||
$ProductOrder->save();
|
||||
|
||||
ProductOrderLog::saveLog($this->orderId,'订单自动同步江奥川ERP('.$ProductOrder->store->erp_id.') end');
|
||||
$t->commit();
|
||||
} catch (\Exception $exception) {
|
||||
$t->rollBack();
|
||||
|
||||
Reference in New Issue
Block a user