optimize:friendly reminder
This commit is contained in:
parent
a01b259a89
commit
ba12588bcd
@ -142,7 +142,7 @@ public class InterfaceForwardCommon(
|
|||||||
public IForwardFlow GetForwardFlow(string flowCode)
|
public IForwardFlow GetForwardFlow(string flowCode)
|
||||||
{
|
{
|
||||||
return serviceProvider.GetServices<IForwardFlow>()
|
return serviceProvider.GetServices<IForwardFlow>()
|
||||||
.FirstOrDefault(x => x.GetType().Name == flowCode)?? throw new BusinessException("");
|
.FirstOrDefault(x => x.GetType().Name == flowCode)?? throw new BusinessException("未找到流程模版,请联系开发");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user