From aee206364668f43b0e99495de5bec6c46bc9f913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=85=E5=87=AF=20=E8=B4=BE?= <807404298@qq.com> Date: Wed, 19 Jul 2023 15:29:24 +0800 Subject: [PATCH] --- Epost.DAL/OrdersDAL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Epost.DAL/OrdersDAL.cs b/Epost.DAL/OrdersDAL.cs index efbbf05..3f49e3f 100644 --- a/Epost.DAL/OrdersDAL.cs +++ b/Epost.DAL/OrdersDAL.cs @@ -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; }