|
实在看不出哪里有错。
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)
|
|