mybatis动态SQL,<if></if>标签


1、如果是需要对集合进行判断是否为空的时候:list = null && list.size() > 0,条件写错了会报错。

原文地址:https://www.cnblogs.com/dhc1995/p/15108845.html