|
@@ -1455,7 +1455,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
end = datelist[1].Replace("-", "");
|
|
end = datelist[1].Replace("-", "");
|
|
|
con += " and TradeDate>='" + start + "' and TradeDate<='" + end + "'";
|
|
con += " and TradeDate>='" + start + "' and TradeDate<='" + end + "'";
|
|
|
}
|
|
}
|
|
|
- if (!string.IsNullOrEmpty(BrandSelect.ToString()))
|
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(BrandSelect.ToString()) && BrandId > 0)
|
|
|
{
|
|
{
|
|
|
con += " and BrandId='" + BrandId + "'";
|
|
con += " and BrandId='" + BrandId + "'";
|
|
|
}
|
|
}
|