您现在的位置是:首页 > 文章详情

wu-framework-parent 1.2.3-JDK17 本地 acw 客户端使用加速开发效率

日期:2024-02-26点击:215
 #### wu-acw-client 使用  项目介绍,使用acw-client,创建对应Java项目的增删改查(ORMLazy ORMmybatis),项目模块架构:mvcfeignddd  演示项目   环境:idea macmysqljdk17 spring boot 3.0.7
 #### 第一步通过idea 创建一个项目

 选择通过spring Initializr 创建项目 本文按照maven进行演示

 创建后项目结构

 使用框架管理依赖版本
  <dependencyManagement> <dependencies> <dependency> <groupId>top.wu2020</groupId> <artifactId>wu-framework-dependencies</artifactId> <version>1.2.3-JDK17</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
 安装web 容器
  <!-- web 容器 --> <dependency> <groupId>top.wu2020</groupId> <artifactId>wu-framework-web</artifactId> </dependency>
 安装acw-client
  <dependency> <groupId>top.wu2020</groupId> <artifactId>wu-smart-acw-client</artifactId> <version>1.2.3-JDK17</version> </dependency>
 数据库选择使用mysql 添加mysql驱动
  <!-- mysql --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.33</version> </dependency>
 ORM 选择安装(mybatis/Lazy ORM)
  <!-- ORM mybatis --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.4</version> </dependency> <!-- ORM Lazy ORM --> <dependency> <groupId>top.wu2020</groupId> <artifactId>wu-database-lazy-starter</artifactId> </dependency>
 项目启动

 打开控制台url地址访问页面

 本地项目自动生成对应代码

 [Lazy ORM 框架地址] [Acw 客户端地址]

演示项目地址

原文链接:https://www.oschina.net/news/280362
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章