@@ -605,7 +605,7 @@ func DepartGetProductsByCatId(cId, saleZone, page, perPage, priceSort, saleSort,
}
var cidSql string
- if cId != 0 && cId != ProdutEmploySort {
+ if cId != 0 {
cidSql = fmt.Sprintf(" and a.category_id=%d", cId)
} else {
cidSql = fmt.Sprintf(" and a.category_id!=%d", ProdutEmploySort)