|
楼主 |
发表于 2017-8-11 14:56:30
|
显示全部楼层
我要获取的是部门外的部门,下面是我根据文档里的方法写的,帮我看一下有什么问题
我先找到系统自己定义的函数位置,然后这样写了代码
,写完后找到系统java
,然后写下这些代码
,这时我去概念里面就能获取到这个函数
,但是当我选择了以后发现报错
,然后找了好久还是显示在这个错误,下方是错误代码2017-08-11 14:49:38 excute stream action, params:{"accept":"application/json","action":"createDO_HXJHZBAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"DO_HXJHZB","idColumnName":"DO_HXJHZB","idColumnType":"String","model":"/dong_/Navigational_Plan/data","relationAlias":"fAJBBCQZSJ,fAJBBCSP,fAJBSP,fAJBYJ,fAQJDBYJ,fBH,fCBGLBYJ,fCCQM,fCCSP,fCCYJ,fCHRS,fCID,fCM,fDGSJ,fEFQZ,fGCBYJ,fGSFZQZSJ,fGSFZSP,fGSLDYJ,fHC,fHXJL,fHXSD,fJSRW,fKFDJ,fQHSJ,fQZSJ,fSXSJ,fStatus,fXHNL,fZYCS,version","relationTypes":"DateTime,String,String,String,String,String,String,String,String,String,String,String,String,DateTime,String,String,DateTime,String,String,String,String,String,String,String,DateTime,DateTime,String,String,String,String,Integer","relations":"DO_HXJHZB.fAJBBCQZSJ,DO_HXJHZB.fAJBBCSP,DO_HXJHZB.fAJBSP,DO_HXJHZB.fAJBYJ,DO_HXJHZB.fAQJDBYJ,DO_HXJHZB.fBH,DO_HXJHZB.fCBGLBYJ,DO_HXJHZB.fCCQM,DO_HXJHZB.fCCSP,DO_HXJHZB.fCCYJ,DO_HXJHZB.fCHRS,DO_HXJHZB.fCID,DO_HXJHZB.fCM,DO_HXJHZB.fDGSJ,DO_HXJHZB.fEFQZ,DO_HXJHZB.fGCBYJ,DO_HXJHZB.fGSFZQZSJ,DO_HXJHZB.fGSFZSP,DO_HXJHZB.fGSLDYJ,DO_HXJHZB.fHC,DO_HXJHZB.fHXJL,DO_HXJHZB.fHXSD,DO_HXJHZB.fJSRW,DO_HXJHZB.fKFDJ,DO_HXJHZB.fQHSJ,DO_HXJHZB.fQZSJ,DO_HXJHZB.fSXSJ,DO_HXJHZB.fStatus,DO_HXJHZB.fXHNL,DO_HXJHZB.fZYCS,DO_HXJHZB.version","updateMode":"whereVersion"}}},"process":"/dong_/Navigational_Plan/process/Navigational_Plan/navigational_PlanProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"DO_HXJHZB","sequence":"DO_HXJHZB,fAJBBCQZSJ,fAJBBCSP,fAJBSP,fAJBYJ,fAQJDBYJ,fBH,fCBGLBYJ,fCCQM,fCCSP,fCCYJ,fCHRS,fCID,fCM,fDGSJ,fEFQZ,fGCBYJ,fGSFZQZSJ,fGSFZSP,fGSLDYJ,fHC,fHXJL,fHXSD,fJSRW,fKFDJ,fQHSJ,fQZSJ,fSXSJ,fStatus,fXHNL,fZYCS,version"},"transformIdcolumn":true,"useNamespace":true}}java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154064; 提示: 计算表达式getTopDeptNameFn()出错
at com.justep.model.exception.ModelException.create(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.evaluate(Unknown Source)
at com.justep.system.data.Expression.evaluate(Unknown Source)
at com.justep.system.data.BizData.create(Unknown Source)
at BizProcedure.create(BizProcedure.java:22)
... 27 more
Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154075; 提示: 调用函数getTopDeptNameFn出错
at com.justep.model.exception.ModelException.create(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.functionExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.constExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.unaryExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.multiExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.addExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.compExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.notExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.andExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.orExpression(Unknown Source)
... 31 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP154067; 提示: 模块/dong_/Navigational_Plan/ontology中找不到函数getTopDeptNameFn定义
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.util.Utils.check(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.getMethod(Unknown Source)
... 40 more
|
|