mahao 1 year ago
parent
commit
8079f15541
  1. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs

4
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs

@ -41,7 +41,7 @@ public class MaterialRelationshipAppService : SettleAccountApplicationBase<Mater
IExcelImportAppService excelImportService,
ISnowflakeIdGenerator snowflakeIdGenerator,
ICommonManager commonManager
) : base(cache,excelImportService,snowflakeIdGenerator,commonManager)
) : base(cache, excelImportService, snowflakeIdGenerator, commonManager)
{
_repository = repository;
}
@ -51,7 +51,7 @@ public class MaterialRelationshipAppService : SettleAccountApplicationBase<Mater
/// 导入
/// </summary>
[HttpPost]
public async Task<string> ImportAsync(MaterialRelationshipImportRequestDto materialRelationshipImportRequestDto)
public async Task<string> ImportAsync([FromForm] MaterialRelationshipImportRequestDto materialRelationshipImportRequestDto)
{
ExportImporter _exportImporter = new ExportImporter();
var result = await _exportImporter.UploadExcelImport<MaterialRelationshipImportDto>(materialRelationshipImportRequestDto.Files, _excelImportService);

Loading…
Cancel
Save