起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3996|回复: 2

[结贴] 访问数据库出错,请联系客服!

[复制链接]

5

主题

11

帖子

39

积分

新手上路

Rank: 1

积分
39
QQ
发表于 2021-2-25 09:54:53 | 显示全部楼层 |阅读模式
后台报错:2021-02-25 09:52:21 划小单元信息查询出错:发起人不属于任何核算单元。2021-02-25 09:52:22 excute stream action, params:{"accept":"application/json","action":"queryT_INVOICE_DETAIL_ITEMAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"GOODSERVICE_NAME,INVOICE_ID,IS_BILL_LINE,ITEM_MODEL,ITEM_NUMBER,ITEM_SUM,LINE_NUM,PRICE,TAX,TAX_RATE,T_INVOICE_DETAIL_ITEM,UNIT,ZERO_TAX_RATE_SIGN,ZERO_TAX_RATE_SIGN_NAME","limit":20,"offset":-1,"variables":{}},"process":"/ERP/newBuy/outBill/process/outBill/outBillProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"T_INVOICE_DETAIL_ITEM","sequence":"GOODSERVICE_NAME,INVOICE_ID,IS_BILL_LINE,ITEM_MODEL,ITEM_NUMBER,ITEM_SUM,LINE_NUM,PRICE,TAX,TAX_RATE,T_INVOICE_DETAIL_ITEM,UNIT,ZERO_TAX_RATE_SIGN,ZERO_TAX_RATE_SIGN_NAME"},"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 com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT T_INVOICE_DETAIL_ITEM.*  FROM T_INVOICE_DETAIL_ITEM T_INVOICE_DETAIL_ITEM LIMIT 0, 20
--> sql: SELECT  T_INVOICE_DETAIL_ITEM.GOODSERVICE_NAME AS GOODSERVICE_NAME, T_INVOICE_DETAIL_ITEM.INVOICE_ID AS INVOICE_ID, T_INVOICE_DETAIL_ITEM.IS_BILL_LINE AS IS_BILL_LINE, T_INVOICE_DETAIL_ITEM.ITEM_MODEL AS ITEM_MODEL, T_INVOICE_DETAIL_ITEM.ITEM_NUMBER AS ITEM_NUMBER, T_INVOICE_DETAIL_ITEM.ITEM_SUM AS ITEM_SUM, T_INVOICE_DETAIL_ITEM.LINE_NUM AS LINE_NUM, T_INVOICE_DETAIL_ITEM.PRICE AS PRICE, T_INVOICE_DETAIL_ITEM.TAX AS TAX, T_INVOICE_DETAIL_ITEM.TAX_RATE AS TAX_RATE, T_INVOICE_DETAIL_ITEM.ITEM_ID AS T_INVOICE_DETAIL_ITEM, T_INVOICE_DETAIL_ITEM.UNIT AS UNIT, T_INVOICE_DETAIL_ITEM.ZERO_TAX_RATE_SIGN AS ZERO_TAX_RATE_SIGN, T_INVOICE_DETAIL_ITEM.ZERO_TAX_RATE_SIGN_NAME AS ZERO_TAX_RATE_SIGN_NAME FROM T_INVOICE_DETAIL_ITEM T_INVOICE_DETAIL_ITEM
--> binds: []
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.BizData.query(Unknown Source)
        at BizProcedure.query(BizProcedure.java:12)
        ... 30 more
Caused by: java.sql.SQLException: 无法转换为内部表示
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
        at oracle.jdbc.driver.CharCommonAccessor.getBigDecimal(CharCommonAccessor.java:341)
        at oracle.jdbc.driver.OracleResultSetImpl.getBigDecimal(OracleResultSetImpl.java:1543)
        at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getBigDecimal(DelegatingResultSet.java:340)
        at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getBigDecimal(DelegatingResultSet.java:340)
        at com.justep.system.data.impl.TableUtilsImplement.fillRow(Unknown Source)
        ... 35 more


1.PNG

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2021-2-26 13:58:37 | 显示全部楼层
数据库的错误,把sql语句拿到数据库执行看看

SELECT  T_INVOICE_DETAIL_ITEM.GOODSERVICE_NAME AS GOODSERVICE_NAME, T_INVOICE_DETAIL_ITEM.INVOICE_ID AS INVOICE_ID, T_INVOICE_DETAIL_ITEM.IS_BILL_LINE AS IS_BILL_LINE, T_INVOICE_DETAIL_ITEM.ITEM_MODEL AS ITEM_MODEL, T_INVOICE_DETAIL_ITEM.ITEM_NUMBER AS ITEM_NUMBER, T_INVOICE_DETAIL_ITEM.ITEM_SUM AS ITEM_SUM, T_INVOICE_DETAIL_ITEM.LINE_NUM AS LINE_NUM, T_INVOICE_DETAIL_ITEM.PRICE AS PRICE, T_INVOICE_DETAIL_ITEM.TAX AS TAX, T_INVOICE_DETAIL_ITEM.TAX_RATE AS TAX_RATE, T_INVOICE_DETAIL_ITEM.ITEM_ID AS T_INVOICE_DETAIL_ITEM, T_INVOICE_DETAIL_ITEM.UNIT AS UNIT, T_INVOICE_DETAIL_ITEM.ZERO_TAX_RATE_SIGN AS ZERO_TAX_RATE_SIGN, T_INVOICE_DETAIL_ITEM.ZERO_TAX_RATE_SIGN_NAME AS ZERO_TAX_RATE_SIGN_NAME FROM T_INVOICE_DETAIL_ITEM T_INVOICE_DETAIL_ITEM
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

5

主题

11

帖子

39

积分

新手上路

Rank: 1

积分
39
QQ
 楼主| 发表于 2021-2-26 14:57:27 | 显示全部楼层
解决了,谢谢,可以结贴了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-24 15:22 , Processed in 0.118333 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表