UploadImg4Vendors

This commit is contained in:
gazebo
2019-09-26 10:06:24 +08:00
parent b3c83924ba
commit 00bb81f11d

View File

@@ -388,7 +388,7 @@ func UploadImg4Vendors(ctx *jxcontext.Context, isAsync, isContinueWhenError bool
FROM sku_name
GROUP BY 1
) t3 ON t3.id = t1.id
LEFT JOIN data_resource t2 ON t2.main_url = t1.img
LEFT JOIN data_resource t2 ON ((t2.main_url <> '' AND t2.main_url = t1.img) OR (t2.hash_code <> '' AND t2.hash_code = t1.img_hash_code))
WHERE t1.img <> '' AND t2.id IS NULL;
`)
case 2: