level 1
可以debug 一下,看看 SqlSessionFactory下的 Congifuration 对象中的 Map<String, MappedStatement> mappedStatements 属性值,这里是记录了sql的内容 。 key=命名空间+方法名。可以在这个map里看看有没有 com.del.del.dao,AttachmentMapper.getPath 这个key 。如果没有,说明mapper.xml文件没加载到
2021年07月20日 12点07分








