web端付款单列表查询界面点击搜索报错8.5
错误场景1:
分析过程:web端付款单查询搜索含有非数值(如字母)报错,搜索金额比如 11 不报错,则说明符合这个场景。需要更新web框架补丁PT151017,该补丁同样适应与费用报销模块报销工作台搜索报错。
(输入字符后因为查询过滤的字段包含金额(金额不是字符类型而是数字类型),导致搜索的跟过滤的字段数据类型不匹配从而导致一场)
com.kingdee.bos.webframework.exception.WafException: com.kingdee.bos.BOSException: The ConstField convert datatype is error. filterItemInfo:com.kingdee.bos.metadata.query.QueryFilterToken@58ca40f2, ReturnType:Object, isFuncCol:false
Caused exception message is: For input string: "721fk202008000001", query : com.kingdee.eas.fi.cas.PaymentBillWebQuery,
场景2:输入任意字段点击搜索报错,报错堆栈如下文,lower()函数
解决方法:更新出纳补丁PT154329
com.kingdee.bos.dao.InvalidDAOMetaDataException: cannot find property: LOWER(number), bo:com.kingdee.eas.fi.cas.app.PaymentBill
at: com.kingdee.bos.metadata.entity.EntityObjectInfo.innerGetFieldByFullName(EntityObjectInfo.java:1537)
at: com.kingdee.bos.metadata.entity.EntityObjectInfo.getFieldByFullName(EntityObjectInfo.java:1494)
at: com.kingdee.bos.dao.ormapping.impl.EntityAccess.addFilter(EntityAccess.java:746)
at: com.kingdee.bos.dao.ormapping.impl.EntityAccess.initialize(EntityAccess.java:151)
at: com.kingdee.bos.dao.ormapping.impl.EntityAccess.getInstance(EntityAccess.java:281)
错误场景3:输入过长的银行账号点击搜索报错,待发补丁
java.lang.NumberFormatException: For input string: "2155645645451212121235" at: java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at: java.lang.Long.parseLong(Long.java:592) at: java.lang.Long.parseLong(Long.java:631) at: com.kingdee.bos.sql.parser.Lexer.readDigit(Lexer.java:316) at: com.kingdee.bos.sql.parser.Lexer.next(Lexer.java:163) at: com.kingdee.bos.metadata.query.util.QueryUtil.replaceContactFormulaString(QueryUtil.java:765) at: com.kingdee.bos.metadata.query.util.QueryDeleUtil.getFilterString(QueryDeleUtil.java:830)
web端付款单列表查询界面点击搜索报错8.5
本文2024-09-22 18:37:30发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-101982.html