SVN-Revision: r966
This commit is contained in:
cyf
2025-09-05 08:13:50 +00:00
parent 4094450dcf
commit 9d437b99c0
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1181,7 +1181,7 @@ namespace Lskj.Business.Impl
{
DataTable table = SqlHelper.ExecuteDataTable(string.Format("select MacAddress from P_MacAddressTable where userid='{0}'", userId));
DataRow dataRow = table != null && table.Rows.Count > 0 ? table.Rows[0] : null;
if (dataRow == null) return false;
//if (dataRow == null) return false; 没有配置就默认成功
if (dataRow != null && !string.IsNullOrWhiteSpace(dataRow["MacAddress"] + ""))
{
List<string> MacAddress = ((dataRow["MacAddress"] + "").Split(',')).ToList();