|
版本: |
其它(帖子中说明) |
小版本号: |
|
|
|
数据库: |
MySQL |
服务器操作系统: |
Windows |
应用服务器: |
Tomcat |
客户端操作系统: |
Windows 其它 |
浏览器: |
IE9 |
|
|
本帖最后由 eudora 于 2018-5-17 12:08 编辑
按照自定义函数的步骤进行函数的自定义后,在使用时报错,操作如下,
1
2
3
4
错误详情如下:Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154064; 提示: 计算表达式getIDByFID(firstOrgUnitFID(findOrgParentsByLevel(currentDeptFID(),1, '=', true, true)),'dpt')出错
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)
... 26 more
Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154075; 提示: 调用函数getIDByFID出错
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)
... 30 more
Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154068; 提示: 在模块/SIMS/Share/logic/code中, 查找函数getIDByFID对应的Java方法Org.getIDByFID时出错
at com.justep.model.exception.ModelException.create(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.getMethod(Unknown Source)
... 39 more
Caused by: java.lang.ClassNotFoundException: 模块"/SIMS/Share/logic/code"中查找动态类时, 没有类"Org"找到相应的java文件
at com.justep.model.impl.ModelImpl$DynamicClassManager.getDynamicClass(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.getDynamicMethod(Unknown Source)
at com.justep.model.impl.ModelImpl.getModelMethod(Unknown Source)
|
|