例子:
①select * from 表 where username = 'Tom' and id != 45
②mybatis :
select * from 表 where
username = #{username} and id != #{id}
例: select * from 表 where username = 'Tom' and id != 45
mybatis :
select * from 表 where
username = #{username} and id != #{id}
#{属性}]]
]]> 或者
<>