This commit is contained in:
帅凯 贾
2023-07-19 15:29:24 +08:00
parent 53c4b66485
commit aee2063646

View File

@ -2551,7 +2551,7 @@ namespace Epost.DAL
public DataTable GetOrderMatchidInfo(string block, string area)
{
string sql = string.Format("select distinct matchid,ControlIP from v_orders where tolocation!='' and block='" + block + "' and area='" + area + "' ");
string sql = string.Format("select distinct matchid,ControlIP from v_orders where (tolocation!='' or tolocation is not null) and block='" + block + "' and area='" + area + "' ");
DataTable dt = db.GetsqlForDT(sql);
return dt;
}