hibernate模糊查询

文章封面

修改

  • Restrictions.like(属性名, 查询条件的值, 匹配方式)
  • eq 修改为 like, 字段加上百分号字符串 在这里插入图片描述

评论

暂无评论