|
楼主 |
发表于 2020-5-13 08:32:07
|
显示全部楼层
2020-05-13 08:30:17 [SQL Time]sql 执行时间:3ms, exec KSQL: DELETE FROM OF_SEATUSER OF_SEATUSER WHERE OF_SEATUSER= :OF_SEATUSER AND OF_SEATUSER.version = :version
--> sqlELETE FROM OF_SEATUSER WHERE (OF_SEATUSER.fID = ? ) AND (OF_SEATUSER.VERSION = ? )
--> binds:[27D748D3C32D4063A4EA410B81966265, 2]
2020-05-13 08:30:17 [SQL Time]sql 执行时间:8ms, exec KSQL: DELETE FROM OF_SEATUSER OF_SEATUSER WHERE OF_SEATUSER= :OF_SEATUSER AND OF_SEATUSER.version = :version
--> sqlELETE FROM OF_SEATUSER WHERE (OF_SEATUSER.fID = ? ) AND (OF_SEATUSER.VERSION = ? )
--> binds:[D9F7EDA1F8BF4668A0F58E928B10A354, 1]
2020-05-13 08:30:17 [SQL Time]sql 执行时间:2ms, exec KSQL: DELETE FROM OF_SEATUSER OF_SEATUSER WHERE OF_SEATUSER= :OF_SEATUSER AND OF_SEATUSER.version = :version
--> sqlELETE FROM OF_SEATUSER WHERE (OF_SEATUSER.fID = ? ) AND (OF_SEATUSER.VERSION = ? )
--> binds:[27D748D3C32D4063A4EA410B81966265, 2]
2020-05-13 08:30:17 excute stream action, params:{"actions":[{"accept":"application/json","action":"saveOF_SEATUSERAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[{"DEPT":{},"DESCRIBE":{"value":"12"},"EMPNO":{"value":"000283"},"NAME":{"value":"张宝海"},"RIVILEGE":{"value":"1"},"SID":{"value":"8A3BA06646C043A283C121C76C6A839B"},"USER_ID":{"value":"ZHANGBH"},"userdata":{"id":{"value":"27D748D3C32D4063A4EA410B81966265"},"isModified":false,"recordState":"delete"},"version":{"value":2}},{"DEPT":{},"DESCRIBE":{},"EMPNO":{"value":"000371"},"NAME":{"value":"杨炯"},"RIVILEGE":{"value":"1"},"SID":{"value":"55ABC50ABD3B4191B5384E7058A4C7B9"},"USER_ID":{"value":"YANGJIONG"},"userdata":{"id":{"value":"D9F7EDA1F8BF4668A0F58E928B10A354"},"isModified":false,"recordState":"delete"},"version":{"value":1}},{"DEPT":{},"DESCRIBE":{"value":"12"},"EMPNO":{"value":"000283"},"NAME":{"value":"张宝海"},"RIVILEGE":{"value":"1"},"SID":{"value":"8A3BA06646C043A283C121C76C6A839B"},"USER_ID":{"value":"ZHANGBH"},"userdata":{"id":{"value":"27D748D3C32D4063A4EA410B81966265"},"isModified":false,"recordState":"delete"},"version":{"value":2}}],"userdata":{"idColumnDefine":"OF_SEATUSER","idColumnName":"OF_SEATUSER","idColumnType":"String","model":"/Office/ManagementSystem/data","relationAlias":"DEPT,DESCRIBE,EMPNO,NAME,PRIVILEGE,SID,USER_ID,version","relationTypes":"String,String,String,String,String,String,String,Integer","relations":"OF_SEATUSER.DEPT,OF_SEATUSER.DESCRIBE,OF_SEATUSER.EMPNO,OF_SEATUSER.NAME,OF_SEATUSER.PRIVILEGE,OF_SEATUSER.SID,OF_SEATUSER.USER_ID,OF_SEATUSER.version","sys.count":2,"sys.rowid":"OF_SEATUSER","updateMode":"whereVersion"}}},"process":"/Office/ManagementSystem/process/AuthorityMaintenance/authorityMaintenanceProcess"}]}
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 com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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: 编码: JUSTEP150180; 提示: 删除记录OF_SEATUSER, OF_SEATUSER, key="27D748D3C32D4063A4EA410B81966265"出错, 不存在符合条件的数据, DELETE FROM OF_SEATUSER OF_SEATUSER WHERE OF_SEATUSER= :OF_SEATUSER AND OF_SEATUSER.version = :version; 可能的原因: 数据被其他用户修改了; 数据被其他用户删除了
at com.justep.exception.BusinessException.create(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)
... 30 more
为什么会报这样的错呢?我已经修改了数据,是我批量删除有错误吗 |
|