createOrIncrementSucceededCount('中通', now()->toDateString(), $column_name); break; case LogisticSFSync::class: $orderPackageReceivedSyncRecordService->createOrIncrementSucceededCount('顺丰', now()->toDateString(), $column_name); break; case LogisticYDSync::class: $orderPackageReceivedSyncRecordService->createOrIncrementSucceededCount('韵达', now()->toDateString(), $column_name); break; case LogisticYTOSync::class: $orderPackageReceivedSyncRecordService->createOrIncrementSucceededCount('圆通', now()->toDateString(), $column_name); break; default: $orderPackageReceivedSyncRecordService->createOrIncrementSucceededCount('其他', now()->toDateString(), $column_name); } } /** * 判断当前任务类型是否为快递信息同步 * @param $displayName * @return bool */ public function isLogisticSyncJob($displayName): bool { return ($displayName == LogisticZopSync::class) || ($displayName == LogisticSFSync::class) || ($displayName == LogisticYDSync::class) || ($displayName == LogisticYTOSync::class); } }