可以正常查询
请遵守java命名规范
(1)xml里面的namespace不对 或者id和mapper里面的方法名不一样,或者parameterType对应不上;(2)或者xml(mapper)配置路径错了,没扫描到