SVN r966
SVN-Revision: r966
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user