linshi
This commit is contained in:
@@ -1589,9 +1589,9 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
)
|
||||
sql := `
|
||||
SELECT a.* FROM store_sku_bind a,store b
|
||||
WHERE a.store_id = b.id AND b.deleted_at = '1970-01-01 00:00:00' AND a.status = 1 AND a.unit_price = 100
|
||||
WHERE a.store_id = b.id AND b.deleted_at = '1970-01-01 00:00:00' AND a.unit_price = 100
|
||||
AND a.deleted_at = '1970-01-01 00:00:00'
|
||||
AND a.sku_id NOT IN (34268,6045545,29401,6039481,29285,29286,29287,6040945,6040963,31737,33465,6045629,34989,6043733)
|
||||
AND a.sku_id NOT IN (34268,6045545,29401,6039481,29285,29286,29287,6040945,6040963,31737,33465,6045629,34989,6043733,6039661,25917,29569)
|
||||
`
|
||||
err = dao.GetRows(db, &storeSkus, sql, nil)
|
||||
for _, v := range storeSkus {
|
||||
|
||||
Reference in New Issue
Block a user