|
@@ -4314,7 +4314,7 @@ public class OrderController : BaseController
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
|
|
- if (order.Status >= EOrderStatus.HandOverToUnAccept)
|
|
|
|
|
|
+ if (order.Status >= EOrderStatus.Filed || order.Status == EOrderStatus.BackToProvince || !order.IsProvince || order.ActualHandleOrgCode!="001")
|
|
{
|
|
{
|
|
errorCount++;
|
|
errorCount++;
|
|
continue;
|
|
continue;
|
|
@@ -4365,7 +4365,7 @@ public class OrderController : BaseController
|
|
var order = await _orderRepository.GetAsync(dto.OrderId, HttpContext.RequestAborted);
|
|
var order = await _orderRepository.GetAsync(dto.OrderId, HttpContext.RequestAborted);
|
|
if (order is null)
|
|
if (order is null)
|
|
throw UserFriendlyException.SameMessage("无效工单");
|
|
throw UserFriendlyException.SameMessage("无效工单");
|
|
- if (order.Status >= EOrderStatus.HandOverToUnAccept)
|
|
|
|
|
|
+ if (order.Status >= EOrderStatus.Filed || order.Status == EOrderStatus.BackToProvince || !order.IsProvince || order.ActualHandleOrgCode != "001")
|
|
throw UserFriendlyException.SameMessage("工单状态无效,请确认当前工单状态");
|
|
throw UserFriendlyException.SameMessage("工单状态无效,请确认当前工单状态");
|
|
if (order.Source <= ESource.HotlineImport)
|
|
if (order.Source <= ESource.HotlineImport)
|
|
throw UserFriendlyException.SameMessage("工单来源无效,请确认当前工单来源");
|
|
throw UserFriendlyException.SameMessage("工单来源无效,请确认当前工单来源");
|