|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
我把一个货币值的关系设置成Decimal,excel导入时就报 编码:JUSTEP170010
后台貌似也没什么错误,应该是关系类型的问题,要如何改
2017-07-24 12:29:01 excute stream action, params:{"accept":"application/json","action":"importExcel","actionFlag":"__action_0__","activity":"UserActivity1","contentType":"json","executeContext":"","executor":"","parameters":{"config":{"@type":"xml","xml":"<config use-default=\"true\" to=\"UI\" excel-file=\"D:\\BeX5.3.7\\apache-tomcat\\temp\\019888e5-d2b7-4de9-ac31-14b5c4e6632c.excel.tmp\" mapping-file=\"D:\\BeX5.3.7\\apache-tomcat\\temp\\555b8620-4696-4d4d-b039-33185f303671.excel.tmp\"><data><concept name=\"TBK_TaokeTeam\"><relation name=\"TBK_TaokeTeam\" type=\"String\"/><relation name=\"calcCheckBox\" type=\"String\"/><relation name=\"fAfterCoupon\" type=\"Decimal\"/><relation name=\"fCommission\" type=\"Float\"/><relation name=\"fContactTimes\" type=\"String\"/><relation name=\"fCouponQuantity\" type=\"Integer\"/><relation name=\"fName\" type=\"String\"/><relation name=\"fNumber\" type=\"String\"/><relation name=\"fProductID\" type=\"String\"/><relation name=\"fQQ\" type=\"String\"/><relation name=\"fSalesVolume\" type=\"Integer\"/><relation name=\"version\" type=\"Integer\"/></concept></data></config>"},"createActionParam":{"action":"createTBK_TaokeTeamAction","activity":"UserActivity1","parameters":{"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"TBK_TaokeTeam","idColumnName":"TBK_TaokeTeam","idColumnType":"String","model":"/TBK/TaokeTeam/data","relationAlias":"fAfterCoupon,fCommission,fContactTimes,fCouponQuantity,fName,fNumber,fProductID,fQQ,fSalesVolume,version","relationTypes":"Decimal,Float,String,Integer,String,String,String,String,Integer,Integer","relations":"TBK_TaokeTeam.fAfterCoupon,TBK_TaokeTeam.fCommission,TBK_TaokeTeam.fContactTimes,TBK_TaokeTeam.fCouponQuantity,TBK_TaokeTeam.fName,TBK_TaokeTeam.fNumber,TBK_TaokeTeam.fProductID,TBK_TaokeTeam.fQQ,TBK_TaokeTeam.fSalesVolume,TBK_TaokeTeam.version","updateMode":"whereVersion"}}},"process":"/TBK/TaokeTeam/process/TaokeTeam/taokeTeamProcess"}},"process":"/TBK/TaokeTeam/process/TaokeTeam/taokeTeamProcess"}
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.excel.ExcelException: 编码: JUSTEP170010; 提示:
at com.justep.excel.ExcelException.create(ExcelException.java:32)
at com.justep.excel.ImportGenerator.getValue(ImportGenerator.java:315)
at com.justep.excel.ImportGenerator.setCellsValue(ImportGenerator.java:238)
at com.justep.excel.ImportGenerator.generateRecord(ImportGenerator.java:203)
at com.justep.excel.ImportGenerator.generateSheet(ImportGenerator.java:198)
at com.justep.excel.ImportGenerator.generate(ImportGenerator.java:131)
at Excel.importExcel(Excel.java:88)
... 27 more
Caused by: java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:494)
at java.math.BigDecimal.<init>(BigDecimal.java:383)
at java.math.BigDecimal.<init>(BigDecimal.java:806)
at com.justep.system.transform.SimpleTransform.a(Unknown Source)
at com.justep.system.transform.SimpleTransform.transToObj(Unknown Source)
at com.justep.excel.ImportGenerator.getValue(ImportGenerator.java:313)
... 32 more
|
|