This commit is contained in:
帅凯 贾
2023-04-19 17:01:53 +08:00
parent 70ebea6292
commit 7e11ca5d4d
3 changed files with 6 additions and 3 deletions

View File

@ -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;
}