fix:在sql中使用or

上级 aa98675a
......@@ -24,13 +24,13 @@
id <= 1
</if>
<if test="flag==2">
id &gt;= 2 and id &lt; 4
(id &gt;= 2 and id &lt; 4)
</if>
<if test="flag==3">
id &gt;= 5 and id &lt; 6
( id &gt;= 5 and id &lt; 6)
</if>
<if test="flag==4">
id &gt;= 8 and id &lt; 9
( id &gt;= 8 and id &lt; 9)
</if>
</foreach>
</if>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册