摘要: 背景: 实体类结合mybatis-plus,实现数据库的CURD。自定义的mold类需要调用实体类的修改操作。调用实体类的Service层,编译正常,运行到调用的地方,报空指针异常,跟踪到异常位置,发现service为空,也就是按照之前controller层通过@Autowired注入service 阅读全文
posted @ 2021-11-20 00:02 北漂的尘埃 阅读(1046) 评论(0) 推荐(0) 编辑