V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ltfree
V2EX  ›  问与答

求一款 mybatis 代码生成工具

  •  
  •   ltfree · 2023-09-03 11:41:39 +08:00 · 1152 次点击
    这是一个创建于 381 天前的主题,其中的信息可能已经有所发展或是发生改变。

    市面上基本都是只生成了基础的 crud 的方法,但通过 List批量插入以及批量更新的方法没有生成

    有没有朋友推荐一款比较优雅些的生成工具,不用 mybatis-plus...谢谢各位哥

    7 条回复    2023-09-05 15:29:16 +08:00
    RedBeanIce
        1
    RedBeanIce  
       2023-09-03 14:24:35 +08:00
    https://gitee.com/warriorfromlongago/code-gen

    看看这个。

    1 ,所有的生成都是自己定义模板
    2 ,有默认的模板,改一改就能用。
    RedBeanIce
        2
    RedBeanIce  
       2023-09-03 14:25:06 +08:00   ❤️ 1
    https://gitee.com/durcframework/code-gen

    发错了。。这个才是原版原仓库。
    yuanmomo
        3
    yuanmomo  
       2023-09-03 14:44:34 +08:00 via iPhone   ❤️ 1
    很多年前我写过一个,不过现在好久没弄了。

    https://github.com/yuanmomo/mybatis-generator-plugin

    扩展一下 mbg 的插件,就可以。
    COOOOOOde
        4
    COOOOOOde  
       2023-09-03 15:46:17 +08:00 via Android   ❤️ 1
    idea 上有个插件有这些功能,但是是收费的,我觉得不算很贵。插件是 mybatisCodeHelperPro
    chenzw2
        5
    chenzw2  
       2023-09-03 19:47:07 +08:00   ❤️ 1
    https://codegen.bqrdh.com/ 我常用这个,非常好用
    ltfree
        6
    ltfree  
    OP
       2023-09-05 08:56:31 +08:00
    @chenzw2 这个确实不错 谢谢哥
    qiaofanxing
        7
    qiaofanxing  
       2023-09-05 15:29:16 +08:00
    我也在用 mybatisCodeHelperPro
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5252 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:24 · PVG 09:24 · LAX 18:24 · JFK 21:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.