|
楼主 |
发表于 2013-2-26 10:21:24
|
显示全部楼层
这是用standardProcessQueryBar 工具栏上的过滤查询后报的错,都是upper方法,请问这上面的过滤组件怎么可以删除他?
2013-02-26 10:19:34 excute Action error:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="true" process="/OA/asset/process/assetBuyApplyDetailQuery/assetBuyApplyDetailQueryProcess" activity="startActivity" action-flag="__action_0__" executor="" execute-context="" name="queryASBuyApplyDetailAction"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="variables"><xbiz:map/></parameter><parameter name="filter"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[(fBizState IN ('bsEditing','bsExecuting','bsFinished','bsAborted')) AND ((stringToDate('2013-02-26') <= fCreateTime) AND (stringToDate('2013-02-27') > fCreateTime)) AND ((fCreatePsnID = 'D7FF8167C89A4BADAE3DFD16B9ED6A80') OR (OA_AS_BuyApplyD IN (SELECT EXECUTE_CONCEPT.fMasterID AS EXECUTE_CONCEPT_fMasterID FROM OA_AS_BuyExecute EXECUTE_CONCEPT WHERE EXECUTE_CONCEPT.fCreatePsnID = 'D7FF8167C89A4BADAE3DFD16B9ED6A80') )) AND (((((((((((UPPER(m.fNO) LIKE '%965965%') OR (UPPER(fApplyDeptName) LIKE '%965965%')) OR (UPPER(m.fApplyPsnName) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fKind) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fName) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fSpecType) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fUnit) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fBuyNum) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fPrice) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fAmount) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fInNum) LIKE '%965965%'))]]></xbiz:simple></parameter><parameter name="offset"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#Integer">0</xbiz:simple></parameter><parameter name="limit"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#Integer">20</xbiz:simple></parameter><parameter name="columns"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[version,fMasterID,fNO,fKindID,fKind,fSpecType,fUnitID,fUnit,fInNum,fBuyNum,fPrice,fAmount,fRemark,fName,fBizState,fBizStateName,fCreatePsnID,fCreatePsnFID,fCreateTime,fApplyDeptName,fApplyPsnID,fApplyPsnName,fApplyPsnFID,fApplyDate,OA_AS_BuyApplyD]]></xbiz:simple></parameter><parameter name="orderBy"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[fCreateTime DESC]]></xbiz:simple></parameter></parameters><translate-parameter data-type="row-list" transform-idcolumn="true" use-namespace="true" cellname-by-relation="false"><rows-config concept="OA_AS_BuyApplyD" sequence="recNo,fBizStateName,fApplyDeptName,fApplyPsnName,fApplyDate,fKind,fName,fSpecType,fUnit,fBuyNum,fPrice,fAmount,fInNum,version,fMasterID,fNO,fKindID,fUnitID,fRemark,fBizState,fCreatePsnID,fCreatePsnFID,fCreateTime,fApplyPsnID,fApplyPsnFID"/></translate-parameter></action>
com.justep.model.exception.ModelException: java.lang.reflect.InvocationTargetException
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.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.justep.system.action.Engine.invokeActions(Native Method)
... 21 more
Caused by: com.justep.model.exception.ModelException: 执行ksql:SELECT OA_AS_BuyApplyD.*,m.fNO AS fNO,m.fBizState AS fBizState,m.fBizStateName AS fBizStateName,m.fCreatePsnID AS fCreatePsnID,m.fCreatePsnFID AS fCreatePsnFID,m.fCreateTime AS fCreateTime,m.fApplyDeptName AS fApplyDeptName,m.fApplyPsnID AS fApplyPsnID,m.fApplyPsnName AS fApplyPsnName,m.fApplyPsnFID AS fApplyPsnFID,m.fApplyDate AS fApplyDate FROM OA_AS_BuyApplyD OA_AS_BuyApplyD optional join OA_AS_BuyApplyM m on OA_AS_BuyApplyD.fMasterID = m WHERE ((fBizState IN ('bsEditing','bsExecuting','bsFinished','bsAborted')) AND ((stringToDate('2013-02-26') <= fCreateTime) AND (stringToDate('2013-02-27') > fCreateTime)) AND ((fCreatePsnID = 'D7FF8167C89A4BADAE3DFD16B9ED6A80') OR (OA_AS_BuyApplyD IN (SELECT EXECUTE_CONCEPT.fMasterID AS EXECUTE_CONCEPT_fMasterID FROM OA_AS_BuyExecute EXECUTE_CONCEPT WHERE EXECUTE_CONCEPT.fCreatePsnID = 'D7FF8167C89A4BADAE3DFD16B9ED6A80') )) AND (((((((((((UPPER(m.fNO) LIKE '%965965%') OR (UPPER(fApplyDeptName) LIKE '%965965%')) OR (UPPER(m.fApplyPsnName) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fKind) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fName) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fSpecType) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fUnit) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fBuyNum) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fPrice) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fAmount) LIKE '%965965%')) OR (UPPER(OA_AS_BuyApplyD.fInNum) LIKE '%965965%'))) ORDER BY fCreateTime DESC LIMIT 0, 20时出错!
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)
... 25 more
Caused by: java.sql.SQLException: Function UPPER invoked with wrong number or type of argument(s).
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:628)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:418)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:693)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
... 30 more |
|