com.cesgroup.framework.exception.BusinessLayerException: Exception info is org.springframework.dao.DataIntegrityViolationException:
; SQL []; 没有找到合适的分区; nested exception is java.sql.SQLException: 没有找到合适的分区
2020-06-05 17:20:14.897 [Timer-3] ERROR c.c.framework.exception.BusinessLayerException - 10.同步【监狱关押能力】统计发生异常, Exception info is org.springframework.dao.DataIntegrityViolationException:
at com.cesgroup.prison.zfxx.zfstat.service.impl.ZfStatZyServiceImpl.synchroZfStatZyJyGynl(ZfStatZyServiceImpl.java:320)
at com.cesgroup.prison.zfxx.zfstat.service.impl.ZfStatZyServiceImpl$$FastClassBySpringCGLIB$$95ffedbd.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
; SQL []; 没有找到合适的分区; nested exception is java.sql.SQLException: 没有找到合适的分区
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
at com.cesgroup.prison.zfxx.zfstat.service.impl.ZfStatZyServiceImpl$$EnhancerBySpringCGLIB$$3f0f19d8.synchroZfStatZyJyGynl()
at com.cesgroup.prison.jobs.service.impl.BjJobServiceImpl.getHY(BjJobServiceImpl.java:273)
at com.cesgroup.prison.jobs.service.impl.BjJobServiceImpl$$FastClassBySpringCGLIB$$768cad.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
at com.cesgroup.prison.jobs.service.impl.BjJobServiceImpl$$EnhancerBySpringCGLIB$$ea5a4ac8.getHY()
at com.cesgroup.prison.listener.hyZfStat.SyncHyZfStatListener$1.run(SyncHyZfStatListener.java:60)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
debug或者打印日志看看传入的参数是否有异常数据