源自:3-5 拦截器实现分页Ⅳ
为什么不写parameterType也可以运行成功
为什么不写parameterType也可以运行成功?写别的类型可不会报错照常执行
command.xml:
select from command a left join command_content b
on a.id=b.command_id
and a.name=#{command.name}
and a.description like '%' #{command.description} '%'
group by aid
order by id
a.id aid,a.name,a.description,b.content,b.id,b.command_id
接口:
/**
* 拦截器实现分页
*/
public List queryCommandListByPage(Mapparameter);
提问者:快乐不假
2017-04-15 19:32