摘要: 1、在使用foreach的是collection属性,该属性是必须指定的,但是在不同情况下,该属性的值是不一样的,主要有一下4种情况: 2、判断长度 集合:<if test="arr != null and arr.size() > 0"> 数组:<if test="col != null and 阅读全文
posted @ 2018-07-18 11:37 IT新手村 阅读(4723) 评论(0) 推荐(0)