摘要: 使用mybatis的insert时,我懒得写字段的类型,类似这样#{name},而不是#{name,jdbcType=varchar},导致当这个字段为空时报错!!!!耽误我好记,记录下来,下次再犯打死自己。 阅读全文