换成 <where> ${ew.sqlSegment} </where> 后 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.mao.project.dao.ResourceMapper.listResource
把Mapper.xml文件目录和上面Mapper文件目录一一对应就好了