Summary of how to pass parameters in the use of mybatis
ParameterType is used in MyBatis to pass parameters to SQL statements, and the types after parameterType can be basic types int, String, HashMap and java custom types. When referencing these parameters in SQL, there are two ways #{parameterName} or ${parameterName}. Let's talk about these two reference parameters first.