Mybatis动态语句,if test字符串不用进行null判断

3 月,跳不动了?>>> 描述:根据creator列进行过滤获取image表的数据。 代码如下: @Select("<script>" + " select * from image " + " <where>" + " <if test='isAllCreator != 1'> " + " creator = 1 " +
相关文章
相关标签/搜索