wu-acw-client 使用
项目介绍,使用acw-client,创建对应Java项目的增删改查(ORM:Lazy ORM、mybatis),项目模块架构:mvc、feign、ddd
演示项目
环境:idea 、mac、mysql、jdk17 spring boot 3.0.7
稳定版本1.2.3-JDK17
第一步通过idea 创建一个项目
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/18482c03551c432b9ee5476f7ae75709.png)
选择通过spring Initializr 创建项目 本文按照maven进行演示
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/0d9c552730824f9290c1855ee5a35389.png)
创建后项目结构
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/9406cbc4f9c24988b8d1378402df0b0c.png)
使用框架管理依赖版本
<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 容器
<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驱动
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.33</version>
</dependency>
ORM 选择安装(mybatis/Lazy ORM)
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.5.4</version>
</dependency>
<dependency>
<groupId>top.wu2020</groupId>
<artifactId>wu-database-lazy-starter</artifactId>
</dependency>
项目启动
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/e1929cd3f196400ca37a8ef5ed1ebe96.png)
使用
打开控制台url地址访问页面
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/1ce29bda07ff4732a92d95a53950b3b6.png)
本地项目自动生成对应代码
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/76ac74599c4e448c84652707976c6c4b.png)
Lazy ORM 框架地址
Acw 客户端地址
演示项目地址