Merge branch 'abp' of https://gitee.com/ccnetcore/Yi into abp

This commit is contained in:
橙子
2024-01-04 20:37:02 +08:00
26 changed files with 182 additions and 49 deletions

View File

@@ -140,8 +140,10 @@ namespace Yi.Framework.Ddd.Application
public virtual async Task PostImportExcelAsync(List<TCreateInput> input)
{
var entities = input.Select(x => MapToEntity(x)).ToList();
await Repository.DeleteManyAsync(entities.Select(x => x.Id));
await Repository.InsertManyAsync(entities);
//安全起见,该接口需要自己实现
throw new NotImplementedException();
//await Repository.DeleteManyAsync(entities.Select(x => x.Id));
//await Repository.InsertManyAsync(entities);
}
}
}

View File

@@ -70,7 +70,7 @@ namespace Yi.Framework.Bbs.Domain.Managers
var articleHandled = abstractArticleImport.Import(discussId, articleParentId, fileObjs);
//await _articleRepository.InsertManyAsync(articleHandled);
await _articleRepository.InsertManyAsync(articleHandled);
}
}

View File

@@ -39,7 +39,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\icon\" />
<Folder Include="database_backup\" />
</ItemGroup>
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB