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

idea2023.3生成的xml没有逗号 #120

Open
jkm6221 opened this issue Dec 14, 2023 · 11 comments
Open

idea2023.3生成的xml没有逗号 #120

jkm6221 opened this issue Dec 14, 2023 · 11 comments

Comments

@jkm6221
Copy link

jkm6221 commented Dec 14, 2023

image
image

已经按照前面的issue里2023.1的问题改造了, 还是没有逗号

IntelliJ IDEA 2023.3 (Ultimate Edition)

@babiq3
Copy link

babiq3 commented Dec 17, 2023

你好,解决了吗?

@clywm520
Copy link

作者好久没有更新了。是停更了吗

@babiq3
Copy link

babiq3 commented Dec 18, 2023 via email

@babiq3
Copy link

babiq3 commented Dec 18, 2023 via email

@ZhangXianlu
Copy link

修改一下模板中的判断函数可以解决,把设置-EasyCode-Global Config-myBatisSupport.vm 文件最后 #if($velocityHasNext), #end改成 #if($foreach.hasNext), #end

@babiq3
Copy link

babiq3 commented Dec 20, 2023 via email

@clywm520
Copy link

insert , batchIsert , batchInsert还是存在这个问题 @ZhangXianlu ,这个怎么办

@ZhangXianlu
Copy link

insert , batchIsert , batchInsert还是存在这个问题 @ZhangXianlu ,这个怎么办

去对应的配置模板文件找一下这个方法,替换一下就可以

@clywm520
Copy link

clywm520 commented Dec 22, 2023 via email

@james-wangx
Copy link

修改一下模板中的判断函数可以解决,把设置-EasyCode-Global Config-myBatisSupport.vm 文件最后 #if($velocityHasNext), #end改成 #if($foreach.hasNext), #end

亲测有用👍,对于全局生成所有列的宏可以这样修改。其它的需要到对应的模版修改:
image

@babiq3
Copy link

babiq3 commented Jan 15, 2024 via email

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

5 participants