mybatis判断集合是空 不是空 <if test="list != null and !list.isEmpty()"> </if> <if test="list == null || list.isEmpty()"> </if>