add distinct logic for table name
This commit is contained in:
parent
021d0dd958
commit
54552ee73c
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
|
@ -84,7 +85,7 @@ namespace BotSharp.Plugin.ExcelHandler.Services
|
|||
tables.Add(tableName);
|
||||
}
|
||||
}
|
||||
return tables;
|
||||
return tables.Distinct().ToList();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue