Mybatis中foreach對List、實體類、List 的循環

一、List<Object> 循環數組 <foreach collection="idList" index="index" item="item" open="(" separator="," close=")"> #{item} </foreach> collection --------  接收的數組(入參)       code index -------- 循環體中的具體對象的序
相關文章
相關標籤/搜索