|
@@ -487,7 +487,7 @@ public class OrderController : BaseController
|
|
|
orderVisit.EmployeeId = _sessionContext.RequiredUserId;
|
|
|
}
|
|
|
|
|
|
- if (order is { ProcessType: EProcessType.Zhiban, CounterSignType: null })
|
|
|
+ if (order is { ProcessType: EProcessType.Zhiban, CounterSignType: null } && !order.IsProvince)
|
|
|
{
|
|
|
orderVisit.VisitState = EVisitState.Visited;
|
|
|
orderVisit.VisitTime = DateTime.Now;
|
|
@@ -538,7 +538,7 @@ public class OrderController : BaseController
|
|
|
await _orderVisitedDetailRepository.AddRangeAsync(visitedDetail, HttpContext.RequestAborted);
|
|
|
|
|
|
|
|
|
- if (orderVisit.VisitState == EVisitState.Visited)
|
|
|
+ if (orderVisit.VisitState == EVisitState.Visited && !order.IsProvince)
|
|
|
{
|
|
|
//推省上
|
|
|
await _capPublisher.PublishAsync(Hotline.Share.Mq.EventNames.HotlineOrderVisited,
|