|
概念是通过视图反向生成的,但是在bizdata中调用的时候,设置排序就报错,不设置正常,设置了报如下错误
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor141.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 Uv_HX_ProjectApply.* FROM Uv_HX_ProjectApply Uv_HX_ProjectApply ORDER BY fContractDate DESC LIMIT 0, 20
--> sql: SELECT Uv_HX_ProjectApply.fID AS Uv_HX_ProjectApply, Uv_HX_ProjectApply.FATTACHMENT AS fAttachment, Uv_HX_ProjectApply.FBLDYRY AS fBLDYRY, Uv_HX_ProjectApply.FBLDYSJ AS fBLDYSJ, Uv_HX_ProjectApply.FBZJCLFS AS fBZJCLFS, Uv_HX_ProjectApply.FBUSINESSTYPE AS fBusinessType, Uv_HX_ProjectApply.FCONHIREDATE AS fConHireDate, Uv_HX_ProjectApply.FCONTACT AS fContact, Uv_HX_ProjectApply.FCONTACTVALUE AS fContactValue, Uv_HX_ProjectApply.FCONTRACTDATE AS fContractDate, Uv_HX_ProjectApply.FCONTRACTMODE AS fContractMode, Uv_HX_ProjectApply.FCONTRACTNO AS fContractNo, Uv_HX_ProjectApply.FCONTRACTPERSON AS fContractPerson, Uv_HX_ProjectApply.FCUSTOMCODE AS fCustomCode, Uv_HX_ProjectApply.FCUSTOMNAME AS fCustomName, Uv_HX_ProjectApply.FCUSTOMSHORTNAME AS fCustomShortName, Uv_HX_ProjectApply.FDYDJSBH AS fDYDJSBH, Uv_HX_ProjectApply.FDYHTBH AS fDYHTBH, Uv_HX_ProjectApply.FDEVICENO AS fDeviceNo, Uv_HX_ProjectApply.FDEVICEPRICE AS fDevicePrice, Uv_HX_ProjectApply.FDURATION AS fDuration, Uv_HX_ProjectApply.FENDDATE AS fEndDate, Uv_HX_ProjectApply.FENDFLAG AS fEndFlag, Uv_HX_ProjectApply.FFIRSTPAYMENT AS fFirstPayment, Uv_HX_ProjectApply.FFIRSTPAYMENTRATIO AS fFirstPaymentRatio, Uv_HX_ProjectApply.FFLAG AS fFlag, Uv_HX_ProjectApply.FGUARANTEETYPE AS fGuaranteeType, Uv_HX_ProjectApply.FGUARANTOR AS fGuarantor, Uv_HX_ProjectApply.FGUARANTORID AS fGuarantorID, Uv_HX_ProjectApply.FHANDING AS fHanding, Uv_HX_ProjectApply.FHANDINGRATE AS fHandingRate, Uv_HX_ProjectApply.FHIREDATE AS fHireDate, Uv_HX_ProjectApply.FID AS fID, Uv_HX_ProjectApply.FINTENTCODE AS fIntentCode, Uv_HX_ProjectApply.FMQFKR AS fMQFKR, Uv_HX_ProjectApply.FMARGIN AS fMargin, Uv_HX_ProjectApply.FMARGINRATE AS fMarginRate, Uv_HX_ProjectApply.FMORTGAGE AS fMortgage, Uv_HX_ProjectApply.FPREFIX AS fPrefix, Uv_HX_ProjectApply.FPROCESSNAME AS fProcessName, Uv_HX_ProjectApply.FPROJECTCODE AS fProjectCode, Uv_HX_ProjectApply.FQMGZK AS fQMGZK, Uv_HX_ProjectApply.FRFXL AS fRFXL, Uv_HX_ProjectApply.FREPAYCYC AS fRepayCyc, Uv_HX_ProjectApply.FRESIDENCE AS fResidence, Uv_HX_ProjectApply.FSBFZDD AS fSBFZDD, Uv_HX_ProjectApply.FSBGG AS fSBGG, Uv_HX_ProjectApply.FSBLX AS fSBLX, Uv_HX_ProjectApply.FSBMC AS fSBMC, Uv_HX_ProjectApply.FSBSCS AS fSBSCS, Uv_HX_ProjectApply.FSBXH AS fSBXH, Uv_HX_ProjectApply.FSBXSS AS fSBXSS, Uv_HX_ProjectApply.FSSBZ AS fSSBZ, Uv_HX_ProjectApply.FSXRZE AS fSXRZE, Uv_HX_ProjectApply.FSUPSHORTNAME AS fSupShortName, Uv_HX_ProjectApply.FSUPPLIER AS fSupplier, Uv_HX_ProjectApply.FSUPPLIERNO AS fSupplierNo, Uv_HX_ProjectApply.FTRACKNO AS fTrackNo, Uv_HX_ProjectApply.FVALUE AS fValue, Uv_HX_ProjectApply.FYJIRR AS fYJIRR, Uv_HX_ProjectApply.FZLQMCLFS AS fZLQMCLFS, Uv_HX_ProjectApply.PX AS px, Uv_HX_ProjectApply.SACTIVITYNAMES AS sActivityNames, Uv_HX_ProjectApply.SEXECUTORNAMES AS sExecutorNames, Uv_HX_ProjectApply.VERSION AS version FROM Uv_HX_ProjectApply Uv_HX_ProjectApply ORDER BY fContractDate DESC
--> 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: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
at java.sql.Timestamp.valueOf(Timestamp.java:204)
at net.sourceforge.jtds.jdbc.Support.convert(Support.java:387)
at net.sourceforge.jtds.jdbc.JtdsResultSet.getTimestamp(JtdsResultSet.java:1160)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getTimestamp(DelegatingResultSet.java:250)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getTimestamp(DelegatingResultSet.java:250)
at com.justep.system.data.impl.TableUtilsImplement.fillRow(Unknown Source)
... 31 more |
|