MyBatis in the incoming parameters parameterType

This article is reproduced: https://cloud.tencent.com/developer/article/1455806

Mapper Mybatis the file select, insert, update, delete parameterType element has a property, the type of interface methods corresponding to the parameters mapper accepted.

1.MyBatis incoming parameters are two types parameterType
1.1 basic data types: int, String, Long, a Date;
1.2 complex data types: Class Map and

2. How to obtain the value of the parameter of:
2.1 the basic data types: Parameters {#} obtain the value of parameter
2.2 complex data types: attribute name # {}, map the is #} {Key

Guess you like

Origin www.cnblogs.com/YoungLiu/p/12324878.html