|
|
@@ -1557,9 +1557,13 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
con += " and Id >=" + consId;
|
|
|
cons += " and Id >=" + conssId;
|
|
|
}
|
|
|
- string[] datas = Info.Split(",");
|
|
|
- con += " and Id >=" + Convert.ToInt32(datas[0]);
|
|
|
- cons += " and Id >=" + Convert.ToInt32(datas[1]);
|
|
|
+ else
|
|
|
+ {
|
|
|
+ string[] datas = Info.Split(",");
|
|
|
+ con += " and Id >=" + Convert.ToInt32(datas[0]);
|
|
|
+ cons += " and Id >=" + Convert.ToInt32(datas[1]);
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
if (!string.IsNullOrEmpty(BrandSelect.ToString()) && BrandId > 0)
|
|
|
{
|
|
|
@@ -1875,9 +1879,13 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
condition += " and Id >=" + conId;
|
|
|
con += " and Id >=" + consId;
|
|
|
}
|
|
|
- string[] datas = Info.Split(",");
|
|
|
- condition += " and Id >=" + Convert.ToInt32(datas[0]);
|
|
|
- con += " and Id >=" + Convert.ToInt32(datas[1]);
|
|
|
+ else
|
|
|
+ {
|
|
|
+ string[] datas = Info.Split(",");
|
|
|
+ condition += " and Id >=" + Convert.ToInt32(datas[0]);
|
|
|
+ con += " and Id >=" + Convert.ToInt32(datas[1]);
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//扶持期
|