|
版本: |
其它(帖子中说明) |
小版本号: |
3.6 |
|
|
数据库: |
MS SQLServer |
服务器操作系统: |
Windows |
应用服务器: |
Tomcat |
客户端操作系统: |
Windows 7 |
浏览器: |
Chrome |
|
|
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_Task.* FROM SA_Task SA_Task WHERE ((SA_Task.sKindID='tkProcessInstance') AND (SA_Task.sCreatorPersonID='1491298691333' or SA_Task in (select a.sFlowID from SA_Task a where a.sKindID='tkTask' and a.sExecutorPersonID='1491298691333')) AND (((SA_Task.sStatusID='tesExecuting') OR (SA_Task.sStatusID= 'tesReady')))) ORDER BY sCreateTime DESC LIMIT 0, 20
--> sql:
--> 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)
... 26 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列sFlowID必须包含在select查出列中
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.util.Utils.check(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.handleColumns(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)
... 31 more
上面是报错信息,还有执行的ksql,我记得以前这种in(子查询)的方式是好用的,现在不行了老是报这个错误。如果将子查询中的查出列由a.sFlowID改为a就可以了,但是这个字段没用,只能主键支持子查询吗
|
|