|
@ -60,7 +60,7 @@ public class TransferLibJobAppService |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException($"{methodPrefix}没有找到类型为{dto.CallServerName}的对象"); |
|
|
throw new UserFriendlyException($"{methodPrefix}没有找到类型为{dto.CallServerName}的对象"); |
|
|
} |
|
|
} |
|
|
var instance = Activator.CreateInstance(ty, dto.CallBusinessType, dto.CallRequestNumber, dto.CallJobNumber); |
|
|
var instance = Activator.CreateInstance(ty); |
|
|
if (instance == null) |
|
|
if (instance == null) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException($"{methodPrefix}类型为{dto.CallServerName}的对象创建失败"); |
|
|
throw new UserFriendlyException($"{methodPrefix}类型为{dto.CallServerName}的对象创建失败"); |
|
|