|
楼主 |
发表于 2017-7-3 17:50:47
|
显示全部楼层
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: UPDATE TBK_TaokePay TBK_TaokePay SET TBK_TaokePay.fCoupon = :fCoupon_new, TBK_TaokePay.fVoucher = :fVoucher_new, TBK_TaokePay.version = :version + 1 WHERE TBK_TaokePay= :TBK_TaokePay_old AND TBK_TaokePay.version = :version_old
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlUpdate(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlExecuteUpdate(Unknown Source)
at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
at com.justep.system.data.impl.TableImpl.edit(Unknown Source)
at com.justep.system.data.impl.TableImpl.save(Unknown Source)
at com.justep.system.data.impl.TableImpl.save(Unknown Source)
at com.justep.system.data.BizData.save(Unknown Source)
at BizProcedure.save(BizProcedure.java:18)
... 27 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: UPDATE TBK_TAOKEPAY SET TBK_TAOKEPAY.FCOUPON = ? , TBK_TAOKEPAY.FVOUCHER = ? , TBK_TAOKEPAY.VERSION = ( ? + ? ) WHERE (TBK_TAOKEPAY.fID = ? ) AND (TBK_TAOKEPAY.VERSION = ? ) , binds: [[{"docID":"C797084715000001BE77179F1E901FDB","docName":"测试1.JPG","size":"22048","docPath":"/defaultDocNameSpace","fileID":"16-defaultDocNameSpace","time":"2017-07-03T17:45:11.989Z"}], [{"docID":"C79708485F40000134D4F0121B0F108D","docName":"测试2.JPG","size":"38989","docPath":"/defaultDocNameSpace","fileID":"17-defaultDocNameSpace","time":"2017-07-03T17:45:12.126Z"}], 0, 1, 5574BC61FCE04D58AA3AA5F64B152D69, 0]出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlUpdate(Unknown Source)
... 36 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'fCoupon' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3845)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2113)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2049)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2034)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
... 37 more
然后如果没上传图片,不会报错
|
|