1 Commits

Author SHA1 Message Date
aee2063646 2023-07-19 15:29:24 +08:00

View File

@ -2551,7 +2551,7 @@ namespace Epost.DAL
public DataTable GetOrderMatchidInfo(string block, string area) 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); DataTable dt = db.GetsqlForDT(sql);
return dt; return dt;
} }