主表id和附表id都是bigint(20)类型(主键策略为自增长),online导入表单后类型为Integer(19),当主表的id增加到1261225304144224257时,赋值给附表的外键id就会报错。
java.lang.NumberFormatException: For input string: "1261225304144224257"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at com.alibaba.fastjson.util.TypeUtils.castToInt(TypeUtils.java:817)
at com.alibaba.fastjson.JSONObject.getIntValue(JSONObject.java:243)
at org.jeecg.modules.online.cgform.util.i.a(OnlineDbHandler.java:67)
at org.jeecg.modules.online.cgform.util.b.a(CgformUtil.java:981)
at org.jeecg.modules.online.cgform.service.impl.c.saveFormData(OnlCgformFieldServiceImpl.java:156)
at org.jeecg.modules.online.cgform.service.impl.c$$FastClassBySpringCGLIB$$a1d6ff6a.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
at org.jeecg.modules.online.cgform.service.impl.c$$EnhancerBySpringCGLIB$$4ec4f34d.saveFormData(<generated>)
at org.jeecg.modules.online.cgform.service.impl.d.saveManyFormData(OnlCgformHeadServiceImpl.java:812)
at org.jeecg.modules.online.cgform.service.impl.d$$FastClassBySpringCGLIB$$a1d6ff6b.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.3.RELEASE:repackage (repackage) on project jeecg-boot-base-common: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.1.3.RELEASE:repackage failed: Unable to find a single main class from the following candidates [org.jeecg.common.util.DySmsHelper, org.jeecg.common.util.YouBianCodeUtil, org.jeecg.common.system.util.JwtUtil, org.jeecg.common.util.encryption.AesEncryptUtil]