Replies: 1 comment
-
用 QueryWrapper 或者 Lambda 去做。如果是写进xml里面,外部传一个参数判断去做用choose 标签。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
后台有一个学生表student、班级表class和学生班级关系表studentClass,正常分页查询所有的学生记录,有时会根据前端的查询条件,判断是否需要关联studentClass和class表,请问join有没有根据条件判断是否增加join语句的功能
Beta Was this translation helpful? Give feedback.
All reactions