博客 / 列表

流浪的神明 - mybatis 使用foreach 數據類型不對導致報錯

起因 使用mybatis動態sql進行遍歷條件的時候報了下面這個錯誤: Caused by: java.lang.IllegalStateException: Type handler was null on parameter mapping for property '__frch_item_0'. It was either not specified and/or could not be

foreach , Mybatis