Mybatis關於Parameter 'Array' not found批量更新、多參數隱射的處理

單純的多參數,只須要按照順序 #{arg0}    #{arg1}    #{arg2} 替換便可, 我這裏還有個數組類型的參數須要處理,須要把collection="arg0" 指定爲參數便可html void distributeTenant (Long [] ids, Long tenantId, String name);   <update id="distributeTenant">
相關文章
相關標籤/搜索