kobe6258 4 сар өмнө
parent
commit
2a475dd1cf

+ 2 - 0
controllers/product.go

@@ -473,6 +473,8 @@ func (this *ProductController) ProductList() {
 				br.ErrMsg = "无效的产品类型:" + ProductType
 				return
 			}
+		} else {
+			condition += " AND type !=  '" + string(models.ProductReport) + "'"
 		}
 
 	} else {