mybatisplus 如何动态创建 mapper 接口。cherbim3年前发布730在写一个涉及单表操作较多的系统。框架组合,spring boot + mybatis plus 。代码结构,entity -> mapper -> service -> controller但是要创建非常多的空白 mapper/service/controller 的 java 文件。mapper 是个纯接口的空文件,不想写这么多空文件在代码里,如何做到动态注入“接口”文件?@public interface EntityMapper}甚至,service ,和 Iservice ,也希望通过实体动态生成,直接映射出来接口。或者有其他方案?可以尽可能的专注业务功能。
没有回复内容