Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Config中的init.vm文件代码内容有误 #133

Open
ChenPi222 opened this issue Jul 8, 2024 · 0 comments
Open

Global Config中的init.vm文件代码内容有误 #133

ChenPi222 opened this issue Jul 8, 2024 · 0 comments

Comments

@ChenPi222
Copy link

https://github.com/makejavas/EasyCode/blob/21b8aee3598d3beca8faf7ed95f2cb2b8f5cbd38/src/main/resources/globalConfig/Default/init.vm#L3C1-L4C86

这里的注释与代码似乎有些不一致

##去掉表的t_前缀
$!tableInfo.setName($tool.getClassName($tableInfo.obj.name.replaceFirst("book_","")))

代码应改为

$!tableInfo.setName($tool.getClassName($tableInfo.obj.name.replaceFirst("t_","")))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant