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

求一款 mybatis 代码生成工具

  •  
  •   ltfree · 237 天前 · 966 次点击
    这是一个创建于 237 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    7 条回复    2023-09-05 15:29:16 +08:00
    RedBeanIce
        1
    RedBeanIce  
       237 天前
    https://gitee.com/warriorfromlongago/code-gen

    看看这个。

    1 ,所有的生成都是自己定义模板
    2 ,有默认的模板,改一改就能用。
    RedBeanIce
        2
    RedBeanIce  
       237 天前   ❤️ 1
    https://gitee.com/durcframework/code-gen

    发错了。。这个才是原版原仓库。
    yuanmomo
        3
    yuanmomo  
       237 天前 via iPhone   ❤️ 1
    很多年前我写过一个,不过现在好久没弄了。

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

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