MyBatis中的大于号小于号怎么表示

可以使用转义字符把大于号和小于号这种直接替换掉;

select* from table where '字段1'>=10怎么表示,那么问题来啦

xml转义可以使用


根据这个规则上面的sql写法应该变成

select *from table where ‘字段1’> =10

猜你喜欢

转载自blog.csdn.net/qq_35733535/article/details/79797997