|
楼主 |
发表于 2018-8-31 15:06:28
|
显示全部楼层
本帖最后由 leehuilin 于 2018-8-31 15:08 编辑
mysql应该是5.6
详细错误:
2018-08-31 14:58:41 [http-8080-1] [com.justep.business.server.BusinessServer] ERROR: action:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="true" process="/SA/OPM/organization/organizationProcess" activity="mainActivity" action-flag="__action_0__" executor="" execute-context="" name="queryOPPersonAction"><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[(SA_OPPerson = 'A7BA5DED00FE4173AC407DA1ED5A1519')]]></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[sName,sCode,sIDCard,sNumb,sLoginName,sPassword,sPasswordTimeLimit,sPasswordModifyTime,sMainOrgID,sSafeLevelID,sSequence,sValidState,sDescription,sPhoto,sSex,sBirthday,sJoinDate,sHomePlace,sCountry,sProvince,sCity,sDegree,sGraduateSchool,sSpeciality,sSchoolLength,sTitle,sMarriage,sCardNO,sCardKind,sFamilyAddress,sZip,sMsn,sQQ,sMail,sMobilePhone,sFamilyPhone,sOfficePhone,sEnglishName,version,loginType,mainOrgName,mainOrgFID,mainOrgFName,mainOrgSequence,SA_OPPerson]]></xbiz:simple></parameter></parameters><translate-parameter data-type="row-list" transform-idcolumn="true" use-namespace="true" cellname-by-relation="false"><rows-config concept="SA_OPPerson" sequence="sName,sCode,sIDCard,sNumb,sLoginName,sPassword,sPasswordTimeLimit,sPasswordModifyTime,sMainOrgID,sSafeLevelID,sSequence,sValidState,sDescription,sPhoto,sSex,sBirthday,sJoinDate,sHomePlace,sCountry,sProvince,sCity,sDegree,sGraduateSchool,sSpeciality,sSchoolLength,sTitle,sMarriage,sCardNO,sCardKind,sFamilyAddress,sZip,sMsn,sQQ,sMail,sMobilePhone,sFamilyPhone,sOfficePhone,sEnglishName,version,loginType,mainOrgName,mainOrgFID,mainOrgFName,mainOrgSequence"/></translate-parameter></action>
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.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:662)
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPPerson.*,mainOrg.sName as mainOrgName,mainOrg.sFID as mainOrgFID,mainOrg.sFName as mainOrgFName,mainOrg.sSequence as mainOrgSequence FROM SA_OPPerson SA_OPPerson optional join SA_OPOrg mainOrg on mainOrg = SA_OPPerson.sMainOrgID WHERE ((SA_OPPerson = 'A7BA5DED00FE4173AC407DA1ED5A1519')) ORDER BY mainOrg.sSequence asc LIMIT 0, 20
--> sql: SELECT SA_OPPerson.SNAME AS sName, SA_OPPerson.SCODE AS sCode, SA_OPPerson.SIDCARD AS sIDCard, SA_OPPerson.SNUMB AS sNumb, SA_OPPerson.SLOGINNAME AS sLoginName, SA_OPPerson.SPASSWORD AS sPassword, SA_OPPerson.SPASSWORDTIMELIMIT AS sPasswordTimeLimit, SA_OPPerson.SPASSWORDMODIFYTIME AS sPasswordModifyTime, SA_OPPerson.SMAINORGID AS sMainOrgID, SA_OPPerson.SSAFELEVELID AS sSafeLevelID, SA_OPPerson.SSEQUENCE AS sSequence, SA_OPPerson.SVALIDSTATE AS sValidState, SA_OPPerson.SDESCRIPTION AS sDescription, SA_OPPerson.SPHOTO AS sPhoto, SA_OPPerson.SSEX AS sSex, SA_OPPerson.SBIRTHDAY AS sBirthday, SA_OPPerson.SJOINDATE AS sJoinDate, SA_OPPerson.SHOMEPLACE AS sHomePlace, SA_OPPerson.SCOUNTRY AS sCountry, SA_OPPerson.SPROVINCE AS sProvince, SA_OPPerson.SCITY AS sCity, SA_OPPerson.SDEGREE AS sDegree, SA_OPPerson.SGRADUATESCHOOL AS sGraduateSchool, SA_OPPerson.SSPECIALITY AS sSpeciality, SA_OPPerson.SSCHOOLLENGTH AS sSchoolLength, SA_OPPerson.STITLE AS sTitle, SA_OPPerson.SMARRIAGE AS sMarriage, SA_OPPerson.SCARDNO AS sCardNO, SA_OPPerson.SCARDKIND AS sCardKind, SA_OPPerson.SFAMILYADDRESS AS sFamilyAddress, SA_OPPerson.SZIP AS sZip, SA_OPPerson.SMSN AS sMsn, SA_OPPerson.SQQ AS sQQ, SA_OPPerson.SMAIL AS sMail, SA_OPPerson.SMOBILEPHONE AS sMobilePhone, SA_OPPerson.SFAMILYPHONE AS sFamilyPhone, SA_OPPerson.SOFFICEPHONE AS sOfficePhone, SA_OPPerson.SENGLISHNAME AS sEnglishName, SA_OPPerson.VERSION AS version, SA_OPPerson.LOGINTYPE AS loginType, mainOrg.SNAME AS mainOrgName, mainOrg.sFID AS mainOrgFID, mainOrg.sFName AS mainOrgFName, mainOrg.SSEQUENCE AS mainOrgSequence, SA_OPPerson.sID AS SA_OPPerson FROM SA_OPPerson SA_OPPerson LEFT JOIN SA_OPOrg mainOrg ON mainOrg.sID = SA_OPPerson.SMAINORGID WHERE SA_OPPerson.sID = ? ORDER BY mainOrg.SSEQUENCE ASC
--> binds: [A7BA5DED00FE4173AC407DA1ED5A1519]
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 OrgProcedure.queryOPPerson(OrgProcedure.java:149)
... 26 more
Caused by: java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Timestamp
at com.mysql.jdbc.ResultSet.getNativeTimestamp(ResultSet.java:4166)
at com.mysql.jdbc.ResultSet.getTimestampInternal(ResultSet.java:5735)
at com.mysql.jdbc.ResultSet.getTimestamp(ResultSet.java:5393)
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
|
|