开发工具:STS 代码下载链接:https://github.com/theIndoorTrain/SpringBoot_Mybatis/tree/7892801d804d2060774f3720f82e776ff318e3ba 前言: 在调用mybatis的查询条件时,之前,遇到需要验证多个参数的查询时,往往需要把所有参数都绑定到一个实体中去,然后调用获取. 现在,我们来详细描述mybatis传递参数的细节. 一.单个参数: 1.定义mapper接口: package com.xm.mappe…