|
@@ -5550,7 +5550,7 @@ public class OrderController : BaseController
|
|
|
throw UserFriendlyException.SameMessage("工单已不允许退回!");
|
|
|
}
|
|
|
|
|
|
- if ((oneSendBack && isOrgToCenter) || (twoSendBack && isSecondToFirstOrgLevel))
|
|
|
+ if ((oneSendBack && isOrgToCenter) || (twoSendBack && isSecondToFirstOrgLevel) || (!string.IsNullOrEmpty(dto.AssignStepId)))
|
|
|
{
|
|
|
await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { Status = EOrderStatus.SendBackAudit })
|
|
|
.Where(o => o.Id == order.Id).ExecuteCommandAsync(HttpContext.RequestAborted);
|
|
@@ -6117,10 +6117,10 @@ public class OrderController : BaseController
|
|
|
},
|
|
|
HttpContext.RequestAborted);
|
|
|
|
|
|
- // if (order.ActualHandleOrgName != OrgSeedData.CenterId && order.Status < EOrderStatus.Filed)
|
|
|
- // {
|
|
|
- // await _circularRecordDomainService.OrderSpecialCircularMessage(special, order, HttpContext.RequestAborted);
|
|
|
- //}
|
|
|
+ // if (order.ActualHandleOrgCode != OrgSeedData.CenterId && order.Status < EOrderStatus.Filed)
|
|
|
+ // {
|
|
|
+ // await _circularRecordDomainService.OrderSpecialCircularMessage(special, order, HttpContext.RequestAborted);
|
|
|
+ //}
|
|
|
|
|
|
if (string.IsNullOrEmpty(currentStep?.HandlerOrgId))
|
|
|
{
|