Commit 7141c53b by 杨树贤

修复数据

parent b30aa7cb
Showing with 6 additions and 1 deletions
......@@ -1110,7 +1110,12 @@ class DataService
->where('channel_user_type', SupplierContactModel::CHANNEL_USER_TYPE_INVENTORY)
->exists();
if ($exists) {
\dump('已经存在跟单联系人 : ' . $followerCodeId . ' 跳过');
\dump('已经存在跟单联系人 : ' . $followerCodeId . ' 更新');
if ($updateData) {
SupplierContactModel::where('supplier_id', $supplierId)
->where('can_check_uids', $followerCodeId)
->where('channel_user_type', SupplierContactModel::CHANNEL_USER_TYPE_INVENTORY)->update($contactData);
}
continue;
}
......
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