This commit is contained in:
@ -2690,7 +2690,7 @@ namespace Epost.DAL
|
||||
#region
|
||||
public DataTable GetOrderinfoNumber(string matchid)
|
||||
{
|
||||
string sql = string.Format("select distinct matchid,clientname,COUNT(distinct shopid) 'shopcount',count(distinct sku) qty from Orders where matchid='" + matchid + "' group by matchid,clientname");
|
||||
string sql = string.Format("select distinct matchid,clientname,COUNT(distinct shopid) 'shopcount',count(distinct sku) qty from Orders where matchid='" + matchid + "' and isnull(tolocation,0)>0 group by matchid,clientname");
|
||||
DataTable dt = db.GetsqlForDT(sql);
|
||||
return dt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user