|
后台报错信息如下:
2020-01-16 14:35:55 excute stream action, params:{"actions":[{"accept":"application/json","action":"saveT_courseware1Action","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[{"browse_count":{},"category_full_name":{"value":"二期"},"category_id":{"value":34},"comment_core":{},"company_id":{"value":1},"courseid":{"value":"T00185"},"create_time":{"value":"2020-01-15T17:31:37.000Z"},"created_by_id":{"value":1},"file_id":{"value":502},"id":{"value":309},"istop":{"value":"NO"},"module":{},"name":{"value":"温热为第三方"},"published":{"changed":1,"originalValue":"YES","value":"NO"},"published_time":{},"session_nbr":{"value":"0002"},"type":{"value":"AUDIO"},"update_time":{"value":"2020-01-15T17:31:37.000Z"},"updated_by_id":{"value":1},"userdata":{"id":{"value":"245E26E0146A4CC6873B8A5E538DC8DA"},"isModified":true,"recordState":"edit"}}],"userdata":{"idColumnDefine":"T_courseware","idColumnName":"T_courseware","idColumnType":"Integer","model":"/qydx/coursemanage/data","relationAlias":"browse_count,category_full_name,category_id,comment_core,company_id,courseid,create_time,created_by_id,file_id,id,istop,module,name,published,published_time,session_nbr,type,update_time,updated_by_id","relationTypes":"Integer,String,Integer,Float,Integer,String,DateTime,Integer,Integer,Integer,String,String,String,String,DateTime,String,String,DateTime,Integer","relations":"T_courseware.browse_count,T_courseware.category_full_name,T_courseware.category_id,T_courseware.comment_core,T_courseware.company_id,T_courseware.courseid,T_courseware.create_time,T_courseware.created_by_id,T_courseware.file_id,T_courseware.id,T_courseware.istop,T_courseware.module,T_courseware.name,T_courseware.published,T_courseware.published_time,T_courseware.session_nbr,T_courseware.type,T_courseware.update_time,T_courseware.updated_by_id","sys.count":1,"sys.rowid":"T_courseware","updateMode":"whereAll"}}},"process":"/qydx/coursemanage/process/manage/manageProcess"}]}
java.lang.NumberFormatException: For input string: "245E26E0146A4CC6873B8A5E538DC8DA"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.justep.system.transform.SimpleTransform.j(Unknown Source)
at com.justep.system.transform.SimpleTransform.transToObj(Unknown Source)
at com.justep.system.transform.Json2Table.getValue(Unknown Source)
at com.justep.system.transform.Json2Table.createRow(Unknown Source)
at com.justep.system.transform.Json2Table.transform(Unknown Source)
at com.justep.system.transform.ParameterTransform.transTableParamByJson(Unknown Source)
at com.justep.system.transform.ParameterTransform.transParamByJson(Unknown Source)
at com.justep.system.transform.ParameterTransform.helpTransform(Unknown Source)
at com.justep.system.transform.ParameterTransform.transform(Unknown Source)
at com.justep.system.transform.RequestTransform.transParamValue(Unknown Source)
at com.justep.system.transform.RequestTransform.transActionParams(Unknown Source)
at com.justep.system.transform.RequestTransform.transform(Unknown Source)
at com.justep.system.action.Engine.translateParameters(Unknown Source)
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)
概念设置如下:
主键设置如下:
此概念是反向生成的,原表中有id字段是integer的,因此增加了一个字段uuid作为主键。
个人感觉是"userdata":{"id":{"value":"245E26E0146A4CC6873B8A5E538DC8DA"}是这个引起的,这个userdata的id是主键吗?如果是的话,现在用的是uuid做主键,应该怎么设置?
|
|