问题:主键自增问题
Caused by: org.apache.ibatis.reflection.ReflectionException: Could not set property ‘followUpId’ of ‘class com.sxt.bus.domain.Followuprecord’ with value ‘1316002431806644225’ Cause: java.lang.IllegalArgumentException: argument type mismatch
原因:数据库id与实体类id没关联
解决方法:
@TableId(value="followUpId",type = IdType.AUTO)