复制门店商品价格不统一修改

This commit is contained in:
苏尹岚
2020-07-06 10:30:23 +08:00
parent 1f627305ec
commit ec8c7c020f
3 changed files with 37 additions and 2 deletions

View File

@@ -998,7 +998,7 @@ func GetStoreSkusByNameIDs(db *DaoDB, storeIDs []int, nameID int) (skuList []*St
sqlParams = append(sqlParams, storeIDs)
}
sql += ` AND a.status != ?
ORDER BY a.created_at
ORDER BY a.updated_at DESC
`
sqlParams = append(sqlParams, model.SkuStatusDeleted)
err = GetRows(db, &skuList, sql, sqlParams...)