删除无意义的记录

This commit is contained in:
2025-01-22 14:59:12 +08:00
parent 7a42b01aed
commit d49814123a

View File

@@ -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();