|
@@ -4985,8 +4985,8 @@ public class OrderController : BaseController
|
|
|
copy.AuditTime = DateTime.Now;
|
|
|
copy.AuditUserId = _sessionContext.UserId;
|
|
|
copy.AuditUserName = _sessionContext.UserName;
|
|
|
- copy.AuditSource = dto.Source;
|
|
|
- copy.InitId();
|
|
|
+ copy.AuditSource = dto.IsEdit ? EOrderUpdateSource.Alter : EOrderUpdateSource.Accepted;
|
|
|
+ copy.InitId();
|
|
|
await _orderCopyRepository.AddAsync(copy, HttpContext.RequestAborted);
|
|
|
|
|
|
if (order.Content != dto.Content)
|