|
@@ -2344,6 +2344,7 @@ public class OrderController : BaseController
|
|
if (publish != null)
|
|
if (publish != null)
|
|
{
|
|
{
|
|
var publishHistory = _mapper.Map<OrderPublishHistory>(publish);
|
|
var publishHistory = _mapper.Map<OrderPublishHistory>(publish);
|
|
|
|
+ publishHistory.OrderPublishId = publish.Id;
|
|
await _orderPublishHistoryRepository.AddAsync(publishHistory, HttpContext.RequestAborted);
|
|
await _orderPublishHistoryRepository.AddAsync(publishHistory, HttpContext.RequestAborted);
|
|
await _orderPublishRepository.RemoveAsync(publish, false, HttpContext.RequestAborted);
|
|
await _orderPublishRepository.RemoveAsync(publish, false, HttpContext.RequestAborted);
|
|
}
|
|
}
|