- exclude skuname 12506
This commit is contained in:
@@ -206,7 +206,9 @@ func DeleteWrongSpu(ctx *jxcontext.Context, isAsync, isContinueWhenError bool) (
|
|||||||
sql := `
|
sql := `
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM sku_name t1
|
FROM sku_name t1
|
||||||
WHERE t1.link_id <> 0 AND t1.unit <> '份' AND t1.is_spu = 1 AND t1.deleted_at = ?;
|
WHERE t1.link_id <> 0 AND t1.unit <> '份'
|
||||||
|
AND t1.is_spu = 1 AND t1.deleted_at = ?
|
||||||
|
AND t1.id <> 12506;
|
||||||
`
|
`
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
var skuNameList []*model.SkuName
|
var skuNameList []*model.SkuName
|
||||||
|
|||||||
Reference in New Issue
Block a user