|
@@ -571,6 +571,8 @@ public class OrderController : BaseController
|
|
|
history.ArrangeContentAfter = dto.ArrangeContent;
|
|
|
history.ArrangeOpinionBefor = publishOrder.ArrangeOpinion;
|
|
|
history.ArrangeOpinionAfter = dto.ArrangeOpinion;
|
|
|
+ history.PublishStateBefor = publishOrder.PublishState;
|
|
|
+ history.PublishStateAfter = dto.PublishState;
|
|
|
history.No = publishOrder.No;
|
|
|
history.OrderId = publishOrder.OrderId;
|
|
|
history.OrderPublishId = publishOrder.Id;
|
|
@@ -579,6 +581,7 @@ public class OrderController : BaseController
|
|
|
publishOrder.ArrangeTitle = dto.ArrangeTitle;
|
|
|
publishOrder.ArrangeContent = dto.ArrangeContent;
|
|
|
publishOrder.ArrangeOpinion = dto.ArrangeOpinion;
|
|
|
+ publishOrder.PublishState = dto.PublishState;
|
|
|
|
|
|
await _orderPublishRepository.UpdateAsync(publishOrder, HttpContext.RequestAborted);
|
|
|
await _orderPublishHistoryRepository.AddAsync(history, HttpContext.RequestAborted);
|