在实体类型中插入 @TableField(condition = SqlCondition.LIKE) private String pageName; 就可以使用like查询了 condition 是针对查找方法的