mybatis-plus-generator-ui icon indicating copy to clipboard operation
mybatis-plus-generator-ui copied to clipboard

文件名称生成不一致,Service接口名称和Controller名称错误

Open Romic77 opened this issue 1 year ago • 2 comments

当前使用版本(必填,否则不予处理)

<dependency>
            <groupId>com.github.davidfantasy</groupId>
            <artifactId>mybatis-plus-generator-ui</artifactId>
            <version>2.0.1</version>
            <scope>test</scope>
        </dependency>

该问题是如何引起的?(确定最新版也有问题再提!!!)

重现步骤(如果有就写完整)

看截图 理论上都应该是UserInfoService ,UserInfoController 。

报错信息

image

Romic77 avatar Apr 27 '23 03:04 Romic77

我也遇到了,感觉忘记转驼峰了

davidcharming8888 avatar May 22 '23 09:05 davidcharming8888

你是指的Controller生成的名字有误?你是否自定义了NameConverter.controllerNameConvert方法,我没能复现该问题

davidfantasy avatar May 25 '23 09:05 davidfantasy