add distinct logic for table name

This commit is contained in:
Wenbo Cao 2024-10-02 17:00:23 -05:00
parent 021d0dd958
commit 54552ee73c

View file

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
@ -84,7 +85,7 @@ namespace BotSharp.Plugin.ExcelHandler.Services
tables.Add(tableName); tables.Add(tableName);
} }
} }
return tables; return tables.Distinct().ToList();
} }
} }