Commit 85d4740d by 杨树贤

Merge branch 'ysx-CRM转化供应商流程-20260518' into Dev

parents ea785827 ccea3020
Showing with 4 additions and 0 deletions
...@@ -684,6 +684,10 @@ class SupplierAuditService ...@@ -684,6 +684,10 @@ class SupplierAuditService
$updateData = []; $updateData = [];
if (!empty($channelUid)) { if (!empty($channelUid)) {
$updateData['channel_uid'] = $channelUid; $updateData['channel_uid'] = $channelUid;
// 同步更新联系人表的 can_check_uids
SupplierContactModel::where('supplier_id', $supplierId)
->where('channel_user_type', SupplierContactModel::CHANNEL_USER_TYPE_LIEXIN)
->update(['can_check_uids' => $channelUid]);
} }
if (!empty($updateData)) { if (!empty($updateData)) {
$updateData['update_time'] = time(); $updateData['update_time'] = time();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment