流量分发代码优化
This commit is contained in:
@@ -198,6 +198,7 @@ class WorkbenchTrafficDistributeJob
|
|||||||
->join('workbench_traffic_config_item wtci', 'wtci.wechatFriendId = wf.id AND wtci.workbenchId = ' . $config['workbenchId'], 'left')
|
->join('workbench_traffic_config_item wtci', 'wtci.wechatFriendId = wf.id AND wtci.workbenchId = ' . $config['workbenchId'], 'left')
|
||||||
->where([
|
->where([
|
||||||
['wf.isDeleted', '=', 0],
|
['wf.isDeleted', '=', 0],
|
||||||
|
['wf.isPassed', '=', 1],
|
||||||
//['sa.departmentId', '=', $workbench->companyId],
|
//['sa.departmentId', '=', $workbench->companyId],
|
||||||
['wtci.id', 'null', null]
|
['wtci.id', 'null', null]
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user