abel533 / Mybatis-Spring

这是一个集成了Mybatis分页插件和通用Mapper的示例项目
941 stars 610 forks source link

Example 是不是只支持嵌套1层SQL #40

Open LaineyC opened 5 years ago

LaineyC commented 5 years ago

支持这样吗WHERE ( id > ? and id < ? and ( id > ? and id < ? ) or ( id < ? ) ) or ( id < ? )

abel533 commented 5 years ago

有可能支持,但是这么复杂的情况还是手写 xml 逻辑更清晰。