以对象(A a是A的属性)的方式传参 把对象作为参数 传给ibatis 的查询方法例如queryForList("xxxx",A);ibatis的配置文件的sql 用 #a# 取值(接收参数)
#param# 或者'$param$'即可。。 入参为hashmap,这个param就是hashmap中的key 你设置下就行了