原文:mybatis foreach報錯It was either not specified and/or could not be found for the javaType Type handler

或許是慣性思維,在mybatis使用foreach循環調用的時候,很多時候都是傳一個對象,傳一個List的情況很少,所以寫代碼有時候會不注意就用慣性思維方法做了。 今天向sql傳參,傳了一個List作為參數,然后在xml里再foreach循環調用。然后報錯信息如: mybatis foreach報錯It was either not specified and or could not be fo ...

2018-12-13 00:24 0 6200 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM