|
@@ -2,9 +2,7 @@
|
|
|
using Hotline.Orders;
|
|
|
using Hotline.Share.Dtos.OrderExportWord;
|
|
|
using MapsterMapper;
|
|
|
-using Microsoft.AspNetCore.Authorization;
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
-using System.Diagnostics;
|
|
|
using XF.Domain.Repository;
|
|
|
|
|
|
namespace Hotline.Api.Controllers
|
|
@@ -42,7 +40,7 @@ namespace Hotline.Api.Controllers
|
|
|
{
|
|
|
var streams = new Dictionary<string, Stream>();
|
|
|
var path = $"{Directory.GetCurrentDirectory()}/Template/宜宾交办单模版.doc";
|
|
|
-
|
|
|
+
|
|
|
foreach (var item in Ids)
|
|
|
{
|
|
|
var order = await _orderRepository.GetAsync(item, HttpContext.RequestAborted);
|