forked from ddrilling/AsbCloudServer
WirsRepository save fix
This commit is contained in:
parent
78e2f52ac8
commit
41816719b9
@ -88,7 +88,7 @@ namespace AsbCloudInfrastructure.Repository
|
|||||||
|
|
||||||
foreach (var entity in entities)
|
foreach (var entity in entities)
|
||||||
{
|
{
|
||||||
if (!existingEntities.Any(e => e.DateTime == entity.DateTime))
|
if (!existingEntities.Any(e => e == entity.DateTime))
|
||||||
{
|
{
|
||||||
dbset.Add(entity);
|
dbset.Add(entity);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user