diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs index 30e03bb6..a25df6aa 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs @@ -74,18 +74,12 @@ namespace Win.Sfs.SettleAccount.Entities.MaterialRelationships [DisableRequestSizeLimit] public async Task MaterialRelationshipUploadExcelImportMap([FromForm] IFormFileCollection files) { - - ExportImporter _exportImporter = new ExportImporter(); var mapList=_mapRepository.Where(p => p.ProjectName == SettleAccountModuleName.MaterialRelationship).ToList(); var result = await _exportImporter.ExtendExcelImport(files, _excelImportService,mapList); var _ls = ObjectMapper.Map, List>(result); - List _errorList = new List(); - - var checkList = new List(); - if (_ls.Count > 0) { var query = from arc in _ls @@ -143,10 +137,7 @@ namespace Win.Sfs.SettleAccount.Entities.MaterialRelationships ExportImporter _exportImporter = new ExportImporter(); var result = await _exportImporter.UploadExcelImport(files, _excelImportService); var _ls = ObjectMapper.Map, List>(result); - List _errorList = new List(); - - var checkList = new List(); if (_ls.Count > 0) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs index 2044cf2a..bb0c50f9 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs @@ -554,7 +554,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts var sql = "DECLARE @return_value int\n" + "EXEC @return_value = [dbo].[p_wms_output_cancel_all]\n" + " @billnum = N'{0}',\n" + - " type=0\n" + + " @type =0\n" + "SELECT 'Return Value' = @return_value"; await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( string.Format(sql, input.BillNum)