Mybatis commonly used labels
_ parameter
_ Parameter indicates the current parameter passed in. If there is only one parameter passed in during query, it is used_ parameter
If judgment
A large number of duplicate fields
Citation writing
foreach
1. Item represents the alias of each element in the collection during iteration,
2. Index specifies a name to indicate the position of each iteration in the iteration process,
3. Open indicates what the statement starts with,
4. Separator indicates what symbol is used as the separator between each iteration,
5. Close means what to end with,
set
Must be non empty judgment
If set is empty, an error will be reported
The above is a collection of commonly used mybatis labels introduced by Xiaobian. I hope it will be helpful to you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!