流量分发代码优化

This commit is contained in:
wong
2025-06-30 14:02:08 +08:00
parent 601307da6b
commit 6cc717a6c8

View File

@@ -198,6 +198,7 @@ class WorkbenchTrafficDistributeJob
->join('workbench_traffic_config_item wtci', 'wtci.wechatFriendId = wf.id AND wtci.workbenchId = ' . $config['workbenchId'], 'left')
->where([
['wf.isDeleted', '=', 0],
['wf.isPassed', '=', 1],
//['sa.departmentId', '=', $workbench->companyId],
['wtci.id', 'null', null]
])