Error setting null for parameter #2 with JdbcType OTHER .
Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property.
mybatis配置文件沒有對傳入的參數進行非空判斷;
或者類型轉化錯誤,嘗試加上:
如
jdbcType=VARCHAR
(對應的類型)
Error setting null for parameter #2 with JdbcType OTHER .
Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property.
mybatis配置文件沒有對傳入的參數進行非空判斷;
或者類型轉化錯誤,嘗試加上:
如
jdbcType=VARCHAR
(對應的類型)