|
@@ -919,11 +919,11 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
{
|
|
|
switch (sourceStepBusinessType)
|
|
|
{
|
|
|
- case EBusinessType.Center:
|
|
|
+ case EBusinessType.Seat:
|
|
|
case EBusinessType.Send:
|
|
|
return directionStepBusinessType switch
|
|
|
{
|
|
|
- EBusinessType.Center => EFlowDirection.CenterToCenter,
|
|
|
+ EBusinessType.Seat => EFlowDirection.CenterToCenter,
|
|
|
EBusinessType.Send => EFlowDirection.CenterToCenter,
|
|
|
EBusinessType.Department => EFlowDirection.CenterToOrg,
|
|
|
EBusinessType.File => EFlowDirection.CenterToFile,
|
|
@@ -934,7 +934,7 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
case EBusinessType.File:
|
|
|
return directionStepBusinessType switch
|
|
|
{
|
|
|
- EBusinessType.Center => EFlowDirection.OrgToCenter,
|
|
|
+ EBusinessType.Seat => EFlowDirection.OrgToCenter,
|
|
|
EBusinessType.Send => EFlowDirection.OrgToCenter,
|
|
|
EBusinessType.Department => EFlowDirection.OrgToOrg,
|
|
|
EBusinessType.File => EFlowDirection.OrgToFile,
|
|
@@ -1483,8 +1483,8 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
//public ECounterSignType? GetCounterSignType(EBusinessType businessType) =>
|
|
|
// businessType switch
|
|
|
// {
|
|
|
- // EBusinessType.Center => ECounterSignType.Center,
|
|
|
- // EBusinessType.Send => ECounterSignType.Center,
|
|
|
+ // EBusinessType.Seat => ECounterSignType.Seat,
|
|
|
+ // EBusinessType.Send => ECounterSignType.Seat,
|
|
|
// EBusinessType.Department => ECounterSignType.Department,
|
|
|
// EBusinessType.File => null,
|
|
|
// _ => throw new ArgumentOutOfRangeException(nameof(businessType), businessType, null)
|
|
@@ -1534,7 +1534,7 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
if (dto.IsStartCountersign) return;
|
|
|
if (workflow.IsInCountersign) return;
|
|
|
|
|
|
- if (nextStepDefine.BusinessType is EBusinessType.Center or EBusinessType.Send)
|
|
|
+ if (nextStepDefine.BusinessType is EBusinessType.Seat or EBusinessType.Send)
|
|
|
{
|
|
|
//坐席->派单不选办理对象时
|
|
|
workflow.UpdateCurrentStepWhenAssign(nextSteps.First(),
|
|
@@ -1558,7 +1558,7 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
if (workflow.IsInCountersign) return;
|
|
|
if (nextStepDefine.StepType is EStepType.Summary or EStepType.End) return;
|
|
|
|
|
|
- if (nextStepDefine.BusinessType is EBusinessType.Center or EBusinessType.Send)
|
|
|
+ if (nextStepDefine.BusinessType is EBusinessType.Seat or EBusinessType.Send)
|
|
|
{
|
|
|
//坐席->派单不选办理对象时
|
|
|
workflow.UpdateActualStepWhenAssign(nextSteps.First(),
|
|
@@ -1569,8 +1569,8 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
{
|
|
|
var nextHandler = dto.NextHandlers.First();
|
|
|
workflow.UpdateActualStepWhenAssign(nextSteps.First(),
|
|
|
- actualHandleOrgCode: nextHandler.Key,
|
|
|
- actualHandleOrgName: nextHandler.Value);
|
|
|
+ actualHandleOrgCode: nextHandler.OrgId,
|
|
|
+ actualHandleOrgName: nextHandler.OrgName);
|
|
|
}
|
|
|
|
|
|
//if ( /*workflow.FlowType is EFlowType.Handle &&*/
|
|
@@ -1578,7 +1578,7 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
// nextStepDefine.StepType != EStepType.Summary &&
|
|
|
// nextStepDefine.StepType != EStepType.End)
|
|
|
//{
|
|
|
- // if (nextStepDefine.BusinessType is EBusinessType.Center or EBusinessType.Send)
|
|
|
+ // if (nextStepDefine.BusinessType is EBusinessType.Seat or EBusinessType.Send)
|
|
|
// {
|
|
|
// workflow.UpdateActualStepWhenAssign(firstSteps.First(), actualHandleOrgCode: OrgSeedData.CenterId,
|
|
|
// actualHandleOrgName: "市民热线服务中心");
|