Browse Source

conversrc->converUrl

kobe6258 4 months ago
parent
commit
b8a575d836
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/merchant/merchant_product.go

+ 1 - 1
models/merchant/merchant_product.go

@@ -92,7 +92,7 @@ func GetProductListBySourceIds(ids []int, detail bool, productType ...MerchantPr
 	if len(productType) > 0 {
 		if len(productType) == 1 {
 			if productType[0] == Package {
-				err = db.Select(detailColumnsWithRisk).Joins("left join permissions  on permissions.permission_id=source_id").Where("source_id in ? and type = ? and deleted =? and sale_status=? order by created_time desc", ids, productType[0], false).Find(&productList).Error
+				err = db.Select(detailColumnsWithRisk).Joins("left join permissions  on permissions.permission_id=source_id").Where("source_id in ? and type = ? and deleted =?  order by created_time desc", ids, productType[0], false).Find(&productList).Error
 			} else {
 				err = db.Select(columns).Where("source_id in ? and type = ? and deleted =? order by created_time desc", ids, productType[0], false).Find(&productList).Error
 			}