|
@@ -2392,6 +2392,23 @@ public class OrderController : BaseController
|
|
// }
|
|
// }
|
|
//}
|
|
//}
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * 查询delay
|
|
|
|
+ * 查询workflow
|
|
|
|
+ * 查询当前节点(待受理or待办理)
|
|
|
|
+ * 查询nextStep(_workflowApplication.GetNextStepsAsync)
|
|
|
|
+ * 非省工单删除省审批节点
|
|
|
|
+ *!_sessionContext.OrgIsCenter && currentStep.Name != "中心初审"删除中心终审
|
|
|
|
+ * 从nextStep中查找与dto传入的nextStepName相同的节点,workflow.NextStepCode = step.Key;workflow.NextStepName = step.Value;
|
|
|
|
+ * 通过:nextAsync,不同意:rejectAsync
|
|
|
|
+ * endhandler:
|
|
|
|
+ * 1.更新orderDelay.DelayState
|
|
|
|
+ * 2.审批通过:
|
|
|
|
+ * a.更新工单办理期满时间(_orderApplication.DelayOrderExpiredTimeAsync)
|
|
|
|
+ * b.更新未办理节点的期满时间
|
|
|
|
+ * c.cap publish EventNames.HotlineOrderExpiredTimeUpdate
|
|
|
|
+ */
|
|
|
|
+
|
|
var delay = await _orderDelayRepository.Queryable().Includes(x => x.Order).Where(x => x.Id == item)
|
|
var delay = await _orderDelayRepository.Queryable().Includes(x => x.Order).Where(x => x.Id == item)
|
|
.FirstAsync(HttpContext.RequestAborted);
|
|
.FirstAsync(HttpContext.RequestAborted);
|
|
workflow.WorkflowId = delay.WorkflowId;
|
|
workflow.WorkflowId = delay.WorkflowId;
|