|
2017-06-20 10:47:39 excute stream action, params:{"accept":"application/json","action":"saveEpd_bomAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[{"Seq_id":{},"bom_ref1":{},"component_code":{"value":"11103"},"item_model":{},"item_name":{"value":"Q235-A"},"item_spec":{},"m_p_flag":{"value":"P"},"modify_date":{"value":"2017/06/19"},"modify_man":{"value":"cyb"},"parent_code":{"value":"NPK-KDF2-GXH "},"plan_price":{"value":7.755},"stock_unit":{"value":"Kg"},"usage_factor":{"value":1},"userdata":{"id":{"value":"NPK-KDF2-GXH :11103"},"isModified":false,"recordState":"delete"},"version":{"value":0}}],"userdata":{"idColumnDefine":"Epd_bom","idColumnName":"Epd_bom","idColumnType":"String","model":"/erp/jcsj/data","relationAlias":"Seq_id,bom_ref1,component_code,item_model,item_name,item_spec,m_p_flag,modify_date,modify_man,parent_code,plan_price,stock_unit,usage_factor,version","relationTypes":"Float,String,String,String,String,String,String,String,String,String,Float,String,Float,Integer","relations":"Epd_bom.Seq_id,Epd_bom.bom_ref1,Epd_bom.component_code,Epd_item_master.item_model,Epd_item_master.item_name,Epd_item_master.item_spec,Epd_item_master.m_p_flag,Epd_bom.modify_date,Epd_bom.modify_man,Epd_bom.parent_code,Epd_item_master.plan_price,Epd_item_master.stock_unit,Epd_bom.usage_factor,Epd_bom.version","sys.count":10,"sys.rowid":"Epd_bom","updateMode":"whereVersion"}}},"process":"/erp/jcsj/process/bom/bomProcess"}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
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: DELETE FROM Epd_bom Epd_bom WHERE Epd_bom= :Epd_bom AND Epd_bom.version = :version
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlDelete(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.delete(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: DELETE FROM epd_bom WHERE (epd_bom.PARENT_CODE = ? AND epd_bom.COMPONENT_CODE = ?) AND (epd_bom.VERSION = ? ) , binds: [NPK-KDF2-GXH , 11103, 0]出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlUpdate(Unknown Source)
... 36 more
Caused by: java.sql.SQLException: The executeUpdate method must not return a result set.
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:544)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:487)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:421)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
... 37 more
|
|