Controller、Service、Mapper 的职责 | Java 企业级开发知识点:Controller 做协议适配;Service 放业务规则与事务边界;Mapper/Repository 做数据访问待编写