在mybatis中模糊查询like语句的写法()


在mybatis中模糊查询like语句的写法()

A、select * from foo where bar like #{value}

B、select * from foo where bar like #{%value%}

C、select * from foo where bar like %#{value}%

D、select * from foo where bar like "%"${value}"%"

正确答案:AD


Tag:MyBatis数据持久化框架 写法 语句 时间:2024-04-20 21:29:39