add support for Join Annotation

This commit is contained in:
CaiHQ 2021-12-07 20:46:25 +08:00
parent eb371580af
commit 3d7a145ca2

View File

@ -549,7 +549,7 @@ public class ContractProcess {
if (fun.isExport()) { if (fun.isExport()) {
// System.out.println("isExport"); // System.out.println("isExport");
fun.appendBeforeInvokeHandler(new MockTemplateHandler()); fun.appendBeforeInvokeHandler(new MockTemplateHandler());
;
} }
} }
} }
@ -1091,7 +1091,7 @@ public class ContractProcess {
if (fn.isExport() && !fn.functionName.equals("onCreate")) { if (fn.isExport() && !fn.functionName.equals("onCreate")) {
function.add(fn.functionName); function.add(fn.functionName);
FunctionDesp desp = FunctionDesp desp =
new FunctionDesp(fn.functionName, fn.annotations, fn.getRouteInfo(), fn.isView()); new FunctionDesp(fn.functionName, fn.annotations, fn.getRouteInfo(), fn.getJoinInfo(), fn.isView());
ret.add(desp); ret.add(desp);
} }
} }