could not be found for the javaType (java.util.List) : jdbcType (null) combination.

问题描述: Type handler was null on parameter mapping for property 'gyWarehouseCode'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.

解决方案1:如果属性'gyWarehouseCode'的java类型为java.util.List,请确保指定了正确的jdbcType。

 INSERT INTO your_table (gyWarehouseCode) VALUES  (#{code, jdbcType=VARCHAR}) 

解决方案2:在java对应的实体类对应的字段上加上(typeHandler = JacksonTypeHandler.class)这个注解

@TableField(typeHandler = JacksonTypeHandler.class)
private List  gyWarehouseCode