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


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

posted @ 2021-08-06 15:36  聖凯  阅读(226)  评论(0编辑  收藏  举报