|
@@ -3022,13 +3022,6 @@ public class OrderController : BaseController
|
|
|
{
|
|
|
dto.ProvinceRevokeString = "该工单已由省平台发送撤单!请直接归档办理!";
|
|
|
}
|
|
|
- var isHasSendBackAudit = await _orderSendBackAuditRepository.Queryable().AnyAsync(x => x.OrderId == order.Id && x.State == ESendBackAuditState.Apply);
|
|
|
- var isHasSendBack = await _orderSendBackRepository.Queryable().AnyAsync(x => x.OrderId == order.Id && x.State == 0);
|
|
|
- if ((order.ActualHandleOrgCode == "001" || order.Status == EOrderStatus.WaitForAccept || string.IsNullOrEmpty(order.ActualHandleOrgCode)) && !isHasSendBackAudit && order.Status < EOrderStatus.Filed && order.IsProvince && !isHasSendBack && order.Status != EOrderStatus.BackToProvince)
|
|
|
- dto.IsCanProvinceSendBack = true;
|
|
|
- else
|
|
|
- dto.IsCanProvinceSendBack = false;
|
|
|
-
|
|
|
return dto;
|
|
|
}
|
|
|
|