根据数据库sql生成java代码代码生成器

上传者: gongjin28_csdn | 上传时间: 2022-05-29 13:03:13 | 文件大小: 24.51MB | 文件类型: ZIP
1、本地执行代码生成工具,可生成controller、service、repository、entity、mapper、mapper.xml的增删改查代码。生成的文件复制到项目路径中,修修改改即可实现大部分CRUD功能。 2、工具不需要导入到项目中,本地执行就可以,生成基本的增删改查功能代码。 3、生成的代码有注释和swagger注解,并且实体中有mybatisplus注解 4、优点:提高效率、方便快捷 5、具体操作步骤可见:使用说明.txt。 1、配置mybatisplus.json outdir需要设置成绝对路径 jdbcUrl、jdbcUser、jdbcPwd都需要配置成所需要连接的数据库信息 packageName:可按照项目中名称配置 tableList:配置成数据库表名,中间以逗号隔开 2、配置start.bat 配置config.path=本地的mybatisplus.json路径,使用正斜杠/ 3、可按照资源中提供的建表sql导入到数据库,然后双加start.bat,即可在上方配置的outdir目录中找到生成的代码 4、复制代码到项目目录修修改改即可使用

文件下载

资源详情

[{"title":"( 25 个子文件 24.51MB ) 根据数据库sql生成java代码代码生成器","children":[{"title":"mybatisplus-generator","children":[{"title":"使用说明.txt <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"mybatisplus-generator.jar <span style='color:#111;'> 27.11MB </span>","children":null,"spread":false},{"title":"mybatisplus.json <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"start.bat <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"resources","children":[{"title":"mapper","children":[{"title":"TUserMapper.xml <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"TBankCardMapper.xml <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"dao","children":[{"title":"ITBankCardDaoService.java <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"ITUserDaoService.java <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"TBankCardDaoServiceImpl.java <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"TUserDaoServiceImpl.java <span style='color:#111;'> 876B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"helper","children":[{"title":"TBankCardModelHelper.java <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"TUserModelHelper.java <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"vo","children":[{"title":"TUserVO.java <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"TBankCardVO.java <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"TUserController.java <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"TBankCardController.java <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"TUserMapper.java <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"TBankCardMapper.java <span style='color:#111;'> 548B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"impl","children":[{"title":"TUserServiceImpl.java <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"TBankCardServiceImpl.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"ITBankCardService.java <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"ITUserService.java <span style='color:#111;'> 571B </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"TBankCard.java <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"TUser.java <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"test.sql <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明