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

QQ登录

只需一步,快速开始

查看: 4319|回复: 7

[结贴] KSQL语法错误

[复制链接]

186

主题

1012

帖子

1663

积分

金牌会员

Rank: 6Rank: 6

积分
1663
QQ
发表于 2017-4-9 15:07:15 | 显示全部楼层 |阅读模式
实在看不出哪里有错。
mianData.setFilter("gl", "FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='" + fid + "') and GP_SAMPLEALY_MAIN <> '" + fid + "'");

Error: __justepServerErrorStart__{"message":"刷新数据失败! , \n执行KSQL出错, KSQL: SELECT GP_SAMPLEALY_MAIN.*  FROM GP_SAMPLEALY_MAIN GP_SAMPLEALY_MAIN WHERE ((FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='00985BB1ADAA41DA99AED0C148B7AC3C') and GP_SAMPLEALY_MAIN <> '00985BB1ADAA41DA99AED0C148B7AC3C')) LIMIT 0, -1\r\n --> sql: \r\n --> binds: []","reason":"","code":"JUSTEP150210","stack":"java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.justep.system.action.Engine.invokeActions(Native Method)\r\n\tat com.justep.system.action.Engine.invokeActions(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.doAction(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.doExcute(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\r\n\tat com.justep.business.server.BusinessServerServlet.execService(Unknown Source)\r\n\tat com.justep.business.server.BusinessServerServlet.service(Unknown Source)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:723)\r\n\tat com.justep.x.bs.BusinessServerServlet.service(Unknown Source)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:723)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)\r\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)\r\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT GP_SAMPLEALY_MAIN.*  FROM GP_SAMPLEALY_MAIN GP_SAMPLEALY_MAIN WHERE ((FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='00985BB1ADAA41DA99AED0C148B7AC3C') and GP_SAMPLEALY_MAIN <> '00985BB1ADAA41DA99AED0C148B7AC3C')) LIMIT 0, -1\r\n --> sql: \r\n --> binds: []\r\n\tat com.justep.exception.BusinessException.create(Unknown Source)\r\n\tat com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)\r\n\tat com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)\r\n\tat com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)\r\n\tat com.justep.system.data.BizData.query(Unknown Source)\r\n\tat BizProcedure.query(BizProcedure.java:12)\r\n\t... 26 more\r\nCaused by: com.justep.exception.BusinessException: 编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列FSAMPLEALYID必须包含在select查出列中\r\n\tat com.justep.exception.BusinessException.create(Unknown Source)\r\n\tat com.justep.util.Utils.check(Unknown Source)\r\n\tat com.justep.system.ksql.parser.AbstractParser.handleColumns(Unknown Source)\r\n\tat com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)\r\n\tat com.justep.system.ksql.parser.QueryParser.start(Unknown Source)\r\n\tat com.justep.system.ksql.parser.QueryParser.start(Unknown Source)\r\n\tat com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)\r\n\t... 31 more\r\n","messages":["编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT GP_SAMPLEALY_MAIN.*  FROM GP_SAMPLEALY_MAIN GP_SAMPLEALY_MAIN WHERE ((FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='00985BB1ADAA41DA99AED0C148B7AC3C') and GP_SAMPLEALY_MAIN <> '00985BB1ADAA41DA99AED0C148B7AC3C')) LIMIT 0, -1\r\n --> sql: \r\n --> binds: []","编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列FSAMPLEALYID必须包含在select查出列中"],"url":"http://127.0.0.1:8080/BusinessServer/business-action","param":{"contentType":"json","accept":"application/json","process":"/aojing/gp/process/gp_sampleApply/gp_sampleApplyProcess","activity":"sampleApplyPage","actionFlag":"__action_0__","executor":"","executeContext":"","action":"queryGP_SAMPLEALY_MAINAction","parameters":{"variables":{},"filter":"(FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='00985BB1ADAA41DA99AED0C148B7AC3C') and GP_SAMPLEALY_MAIN <> '00985BB1ADAA41DA99AED0C148B7AC3C')","offset":0,"limit":-1,"columns":"FAPPROVER,FAPPROVERTIME,FCOSTITEM,FCREATIONTIME,FFOUNDER,FREQUIREDDELIVERYDATE,FSAMPLE,FSAMPLEALYID,FSAMPLEALYKH,FSAMPLEALYKHID,FSHIPTOPARTY,FSHIPTOPARTYID,FSLSTATE,FYPAPPLICANT,FYPAPPLICANTTIME,FYPREMARK,FYPSLBBH,FZXBJ,GP_SAMPLEALY_MAIN,fCostItemsID,version"},"translateParameter":{"dataType":"row-list","transformIdcolumn":true,"includeState":true,"useNamespace":true,"cellnameByRelation":false,"rowsConfig":{"concept":"GP_SAMPLEALY_MAIN","sequence":"FAPPROVER,FAPPROVERTIME,FCOSTITEM,FCREATIONTIME,FFOUNDER,FREQUIREDDELIVERYDATE,FSAMPLE,FSAMPLEALYID,FSAMPLEALYKH,FSAMPLEALYKHID,FSHIPTOPARTY,FSHIPTOPARTYID,FSLSTATE,FYPAPPLICANT,FYPAPPLICANTTIME,FYPREMARK,FYPSLBBH,FZXBJ,GP_SAMPLEALY_MAIN,fCostItemsID,version"}}}}__justepServerErrorEnd__
    at Object.create (core.min.js:71)
    at Object.Request.errorMessage (biz.common.min.js:12)
    at Object.callback (biz.common.min.js:12)
    at Object.h (biz.common.min.js:12)
    at f (core.min.js:71)
    at Object.add (core.min.js:71)
    at _sendRequest (biz.common.min.js:12)
    at Object.Request.sendRequest (biz.common.min.js:12)
    at Object.$var._sendBizRequest (eval at __actionFinish (biz.common.min.js:12), <anonymous>:1:577)

    at Object.Request.sendBizRequest (biz.common.min.js:12)


186

主题

1012

帖子

1663

积分

金牌会员

Rank: 6Rank: 6

积分
1663
QQ
 楼主| 发表于 2017-4-9 15:13:02 | 显示全部楼层
2017-04-09 15:04:19 excute stream action, params:{"accept":"application/json","action":"queryGP_SAMPLEALY_MAINAction","actionFlag":"__action_0__","activity":"sampleApplyPage","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"FAPPROVER,FAPPROVERTIME,FCOSTITEM,FCREATIONTIME,FFOUNDER,FREQUIREDDELIVERYDATE,FSAMPLE,FSAMPLEALYID,FSAMPLEALYKH,FSAMPLEALYKHID,FSHIPTOPARTY,FSHIPTOPARTYID,FSLSTATE,FYPAPPLICANT,FYPAPPLICANTTIME,FYPREMARK,FYPSLBBH,FZXBJ,GP_SAMPLEALY_MAIN,fCostItemsID,version","filter":"(FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='00985BB1ADAA41DA99AED0C148B7AC3C') and GP_SAMPLEALY_MAIN <> '00985BB1ADAA41DA99AED0C148B7AC3C')","limit":-1,"offset":0,"variables":{}},"process":"/aojing/gp/process/gp_sampleApply/gp_sampleApplyProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"GP_SAMPLEALY_MAIN","sequence":"FAPPROVER,FAPPROVERTIME,FCOSTITEM,FCREATIONTIME,FFOUNDER,FREQUIREDDELIVERYDATE,FSAMPLE,FSAMPLEALYID,FSAMPLEALYKH,FSAMPLEALYKHID,FSHIPTOPARTY,FSHIPTOPARTYID,FSLSTATE,FYPAPPLICANT,FYPAPPLICANTTIME,FYPREMARK,FYPSLBBH,FZXBJ,GP_SAMPLEALY_MAIN,fCostItemsID,version"},"transformIdcolumn":true,"useNamespace":true}}
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
        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.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT GP_SAMPLEALY_MAIN.*  FROM GP_SAMPLEALY_MAIN GP_SAMPLEALY_MAIN WHERE ((FSAMPLEALYID in (select yp.FSAMPLEALYID from GP_SAMPLEALY_MAIN yp where yp='00985BB1ADAA41DA99AED0C148B7AC3C') and GP_SAMPLEALY_MAIN <> '00985BB1ADAA41DA99AED0C148B7AC3C')) LIMIT 0, -1
--> 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中的列FSAMPLEALYID必须包含在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
回复 支持 反对

使用道具 举报

1014

主题

4371

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
10979
QQ
发表于 2017-4-9 15:32:34 | 显示全部楼层
UI层缓存问题,修改版本号,重启tomcat
孤舟蓑笠翁,独钓寒江雪。
X5牛刀交流民间第一群:30057529
提供有偿服务,联系WX:18332024
bex5疑难问题解决方案
回复 支持 反对

使用道具 举报

186

主题

1012

帖子

1663

积分

金牌会员

Rank: 6Rank: 6

积分
1663
QQ
 楼主| 发表于 2017-4-9 15:52:13 | 显示全部楼层
ecoolper 发表于 2017-4-9 15:32
UI层缓存问题,修改版本号,重启tomcat

修改版本号是什么意思?
回复 支持 反对

使用道具 举报

1014

主题

4371

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
10979
QQ
发表于 2017-4-9 15:56:13 | 显示全部楼层
文件中心或者论坛中搜下,先掌握x5中的版本号和缓存两个知识点
孤舟蓑笠翁,独钓寒江雪。
X5牛刀交流民间第一群:30057529
提供有偿服务,联系WX:18332024
bex5疑难问题解决方案
回复 支持 反对

使用道具 举报

186

主题

1012

帖子

1663

积分

金牌会员

Rank: 6Rank: 6

积分
1663
QQ
 楼主| 发表于 2017-4-9 15:57:01 | 显示全部楼层
老是说我语法错误,这个句子放数据库里面都能正常执行的。我就不是很明白了。
mianData.setFilter("gl","select * from GP_SAMPLEALY_MAIN yp where yp.FSAMPLEALYID in (select  yp2.FSAMPLEALYID  from  GP_SAMPLEALY_MAIN yp2  group  by  yp2.FSAMPLEALYID  having  count(yp2.FSAMPLEALYID) > 1) and yp <>'"+ fid + "'");


2017-04-09 15:53:44 excute stream action, params:{"accept":"application/json","action":"queryGP_SAMPLEALY_MAINAction","actionFlag":"__action_0__","activity":"sampleApplyPage","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"FAPPROVER,FAPPROVERTIME,FCOSTITEM,FCREATIONTIME,FFOUNDER,FREQUIREDDELIVERYDATE,FSAMPLE,FSAMPLEALYID,FSAMPLEALYKH,FSAMPLEALYKHID,FSHIPTOPARTY,FSHIPTOPARTYID,FSLSTATE,FYPAPPLICANT,FYPAPPLICANTTIME,FYPREMARK,FYPSLBBH,FZXBJ,GP_SAMPLEALY_MAIN,fCostItemsID,version","filter":"(select * from GP_SAMPLEALY_MAIN yp where yp.FSAMPLEALYID in (select  yp2.FSAMPLEALYID  from  GP_SAMPLEALY_MAIN yp2  group  by  yp2.FSAMPLEALYID  having  count(yp2.FSAMPLEALYID) > 1) and yp <>'00985BB1ADAA41DA99AED0C148B7AC3C')","limit":-1,"offset":0,"variables":{}},"process":"/aojing/gp/process/gp_sampleApply/gp_sampleApplyProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"GP_SAMPLEALY_MAIN","sequence":"FAPPROVER,FAPPROVERTIME,FCOSTITEM,FCREATIONTIME,FFOUNDER,FREQUIREDDELIVERYDATE,FSAMPLE,FSAMPLEALYID,FSAMPLEALYKH,FSAMPLEALYKHID,FSHIPTOPARTY,FSHIPTOPARTYID,FSLSTATE,FYPAPPLICANT,FYPAPPLICANTTIME,FYPREMARK,FYPSLBBH,FZXBJ,GP_SAMPLEALY_MAIN,fCostItemsID,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.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT GP_SAMPLEALY_MAIN.*  FROM GP_SAMPLEALY_MAIN GP_SAMPLEALY_MAIN WHERE ((select * from GP_SAMPLEALY_MAIN yp where yp.FSAMPLEALYID in (select  yp2.FSAMPLEALYID  from  GP_SAMPLEALY_MAIN yp2  group  by  yp2.FSAMPLEALYID  having  count(yp2.FSAMPLEALYID) > 1) and yp <>'00985BB1ADAA41DA99AED0C148B7AC3C')) LIMIT 0, -1
--> 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)
        ... 27 more
Caused by: com.justep.exception.KSQLException: 编码: JUSTEP154046; 提示: KSQL语法错误, WHERE ((select ^^* from GP_SAMPL中未找到需要的元素, 位置84期望是以下元素之一:STRING, NUMBER, ONE_RELATION, IDENTIFER, VARIABLE
        at com.justep.exception.KSQLException.create(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.constExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.unaryExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.multiExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.addExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.selectColumn(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.selectListNode(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.unaryExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.multiExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.addExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.compExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.notExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.andExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.orExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.unaryExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.multiExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.addExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.compExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.notExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.andExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.orExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.conditionExpression(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.whereExpression(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)

        ... 32 more


回复 支持 反对

使用道具 举报

186

主题

1012

帖子

1663

积分

金牌会员

Rank: 6Rank: 6

积分
1663
QQ
 楼主| 发表于 2017-4-9 16:00:23 | 显示全部楼层
ecoolper 发表于 2017-4-9 15:56
文件中心或者论坛中搜下,先掌握x5中的版本号和缓存两个知识点

我觉得不是你说的这个问题啊,因为"GP_SAMPLEALY_MAIN = '"+fid+"'" 这种句子,还是能这次运行的。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2017-4-10 10:42:01 | 显示全部楼层
select * from GP_SAMPLEALY_MAIN yp
改为

select yp. * from GP_SAMPLEALY_MAIN yp
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 12:22 , Processed in 0.070300 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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