### Cause: java.sql.SQLException: s Table hano partition for value 738051
; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1526]; Table has no partition for value 738051; nested exception is java.sql.SQLException: Table has no partition for value 738051
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:75)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:447)
at com.sun.proxy.$Proxy11.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:279)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:57)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
at com.sun.proxy.$Proxy18.batInsertHisAlarm(Unknown Source)
原因是:未分区
解决办法:配置好你插入数据库的分区SQL就行了,有些是在项目发布之后有配置,在本地实现的时候可能会出现数据入库不成功的问题,但是不要担心吧。