|
@@ -118,7 +118,7 @@ namespace MySystem
|
|
|
{
|
|
{
|
|
|
startId = "867041";
|
|
startId = "867041";
|
|
|
}
|
|
}
|
|
|
- string sql = "select Id from TradeRecord where Id>=" + startId + " and QueryCount=0 and ActStatus=1 order by Id limit 50";
|
|
|
|
|
|
|
+ string sql = "select Id from TradeRecord where Id>=" + startId + " and QueryCount=0 and ActStatus=1 and BrandId=14 order by Id limit 50";
|
|
|
if(Id > 0)
|
|
if(Id > 0)
|
|
|
{
|
|
{
|
|
|
sql = "select Id from TradeRecord where Id=" + Id;
|
|
sql = "select Id from TradeRecord where Id=" + Id;
|