提交 edaf66be 编写于 作者: sq3536's avatar sq3536

actionName

上级 acd55cb8
......@@ -111,7 +111,7 @@ public class BootServiceImpl<T extends BaseData, F extends BaseFilter> extends D
public Object executeAction(String strActionName, IPSDEAction iPSDEAction, Object[] args) throws Throwable {
if(getBaseService()!=null) {
if(args.length>0&&args[0]!=null) {
Method method = getBaseService().getServiceMethod(StringAdvUtils.camelcase(strActionName), args[0].getClass());
Method method = getBaseService().getServiceMethod(StringAdvUtils.camelcase(iPSDEAction!=null?iPSDEAction.getCodeName():strActionName), args[0].getClass());
if (method != null) {
Object rt = null;
if (iPSDEAction != null && iPSDEAction.getPSDEActionReturn() != null && DEMethodReturnTypes.VOID.equals(iPSDEAction.getPSDEActionReturn().getType()))
......@@ -141,7 +141,7 @@ public class BootServiceImpl<T extends BaseData, F extends BaseFilter> extends D
this.setDataEntityRuntimeContext(iDataEntityRuntimeContext);
if(getBaseService()!=null) {
if(args.length>0&&args[0]!=null) {
Method method = getBaseService().getServiceMethod("on"+StringAdvUtils.pascalcase(strActionName), args[0].getClass());
Method method = getBaseService().getServiceMethod("on"+StringAdvUtils.pascalcase(iPSDEAction!=null?iPSDEAction.getCodeName():strActionName), args[0].getClass());
if (method != null) {
Object rt = null;
if (iPSDEAction != null && iPSDEAction.getPSDEActionReturn() != null && DEMethodReturnTypes.VOID.equals(iPSDEAction.getPSDEActionReturn().getType()))
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册