先将excel导入mysql数据库,参考:
https://blog.csdn.net/qq_38666502/article/details/84026601
然后运行:
UPDATE sean_t_baojia_new a,
test2018 b
SET a.SupplierID = b.id
WHERE
a.Supplier = b.comname
AND a.IsDel = 0
AND a.isyuanliao = '原料';
注意相关字段添加索引!比如标红的字段!
先将excel导入mysql数据库,参考:
https://blog.csdn.net/qq_38666502/article/details/84026601
然后运行:
UPDATE sean_t_baojia_new a,
test2018 b
SET a.SupplierID = b.id
WHERE
a.Supplier = b.comname
AND a.IsDel = 0
AND a.isyuanliao = '原料';
注意相关字段添加索引!比如标红的字段!