更新readme

This commit is contained in:
D 2024-03-02 17:36:16 +08:00
parent c4f19fdac1
commit 794ebf59ce
8 changed files with 61 additions and 18 deletions

View File

@ -34,6 +34,12 @@
## 本项目与原项目的区别 ## 本项目与原项目的区别
### 核心
**模块化架构设计,支持各个模块的快速安拆,对第三方认证、第三方支付模块设计了基础的规范和基础模块。**
### 细节
1. 改用SpringBoot3+java17的更新的技术栈 1. 改用SpringBoot3+java17的更新的技术栈
2. 升级了代码生成器配合本项目的vue3版本才可用 2. 升级了代码生成器配合本项目的vue3版本才可用
3. 改用最新版本的SpringSecurity安全框架以及采用最新的lambda 表达式的配置方式 3. 改用最新版本的SpringSecurity安全框架以及采用最新的lambda 表达式的配置方式
@ -45,6 +51,8 @@
9. Excel中roundingMode方法BigDecimal.ROUND_HALF_EVEN改成RoundingMode.HALF_EVEN用枚举代替常量 9. Excel中roundingMode方法BigDecimal.ROUND_HALF_EVEN改成RoundingMode.HALF_EVEN用枚举代替常量
10. ReflectUtils中isAccessible在java9中被弃用建议通过canAccess(null)来代替 10. ReflectUtils中isAccessible在java9中被弃用建议通过canAccess(null)来代替
## 模块介绍(简单开发必看) ## 模块介绍(简单开发必看)
* 最简单的开发就是删除所有的可移除模块,按需添加模块。 * 最简单的开发就是删除所有的可移除模块,按需添加模块。
@ -125,6 +133,25 @@ com.ruoyi
## 演示图 ## 演示图
### 新加功能和增强功能演示
<table>
<tr>
<td><img src="./doc/image/online-mb-list.png"/></td>
<td><img src="./doc/image/online-mb-edit.png"/></td>
</tr>
<tr>
<td><img src="./doc/image/online-mb-code.png"/></td>
<td><img src="./doc/image/form-edit.png"/></td>
</tr>
<tr>
<td><img src="./doc/image/code-edit.png"/></td>
<td><img src="./doc/image/code-show.png"/></td>
</tr>
</table>
### 原有功能演示
<table> <table>
<tr> <tr>
<td><img src="https://oscimg.oschina.net/oscnet/cd1f90be5f2684f4560c9519c0f2a232ee8.jpg"/></td> <td><img src="https://oscimg.oschina.net/oscnet/cd1f90be5f2684f4560c9519c0f2a232ee8.jpg"/></td>
@ -159,7 +186,3 @@ com.ruoyi
<td><img src="https://oscimg.oschina.net/oscnet/up-5e4daac0bb59612c5038448acbcef235e3a.png"/></td> <td><img src="https://oscimg.oschina.net/oscnet/up-5e4daac0bb59612c5038448acbcef235e3a.png"/></td>
</tr> </tr>
</table> </table>
## 若依前后端分离交流群
QQ群 [![加入QQ群](https://img.shields.io/badge/已满-937441-blue.svg)](https://jq.qq.com/?_wv=1027&k=5bVB1og) [![加入QQ群](https://img.shields.io/badge/已满-887144332-blue.svg)](https://jq.qq.com/?_wv=1027&k=5eiA4DH) [![加入QQ群](https://img.shields.io/badge/已满-180251782-blue.svg)](https://jq.qq.com/?_wv=1027&k=5AxMKlC) [![加入QQ群](https://img.shields.io/badge/已满-104180207-blue.svg)](https://jq.qq.com/?_wv=1027&k=51G72yr) [![加入QQ群](https://img.shields.io/badge/已满-186866453-blue.svg)](https://jq.qq.com/?_wv=1027&k=VvjN2nvu) [![加入QQ群](https://img.shields.io/badge/已满-201396349-blue.svg)](https://jq.qq.com/?_wv=1027&k=5vYAqA05) [![加入QQ群](https://img.shields.io/badge/已满-101456076-blue.svg)](https://jq.qq.com/?_wv=1027&k=kOIINEb5) [![加入QQ群](https://img.shields.io/badge/已满-101539465-blue.svg)](https://jq.qq.com/?_wv=1027&k=UKtX5jhs) [![加入QQ群](https://img.shields.io/badge/已满-264312783-blue.svg)](https://jq.qq.com/?_wv=1027&k=EI9an8lJ) [![加入QQ群](https://img.shields.io/badge/已满-167385320-blue.svg)](https://jq.qq.com/?_wv=1027&k=SWCtLnMz) [![加入QQ群](https://img.shields.io/badge/已满-104748341-blue.svg)](https://jq.qq.com/?_wv=1027&k=96Dkdq0k) [![加入QQ群](https://img.shields.io/badge/已满-160110482-blue.svg)](https://jq.qq.com/?_wv=1027&k=0fsNiYZt) [![加入QQ群](https://img.shields.io/badge/已满-170801498-blue.svg)](https://jq.qq.com/?_wv=1027&k=7xw4xUG1) [![加入QQ群](https://img.shields.io/badge/已满-108482800-blue.svg)](https://jq.qq.com/?_wv=1027&k=eCx8eyoJ) [![加入QQ群](https://img.shields.io/badge/101046199-blue.svg)](https://jq.qq.com/?_wv=1027&k=SpyH2875) 点击按钮入群。

BIN
doc/image/code-edit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

BIN
doc/image/code-show.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
doc/image/form-edit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -8,17 +8,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="mbId" column="mb_id" /> <result property="mbId" column="mb_id" />
<result property="tag" column="tag" /> <result property="tag" column="tag" />
<result property="tagId" column="tag_id" /> <result property="tagId" column="tag_id" />
<result property="parameterType" column="parameterType" /> <result property="parameterType" column="parameter_type" />
<result property="resultMap" column="resultMap" /> <result property="resultMap" column="result_map" />
<result property="sql" column="sql" /> <result property="sql" column="sql" />
<result property="path" column="path" /> <result property="path" column="path" />
<result property="method" column="method" /> <result property="method" column="method" />
<result property="resultType" column="resultType" /> <result property="resultType" column="result_type" />
<result property="actuator" column="actuator" /> <result property="actuator" column="actuator" />
<result property="userId" column="user_id" />
<result property="deptId" column="dept_id" />
<result property="permissionType" column="permission_type" />
<result property="permissionValue" column="permission_value" />
</resultMap> </resultMap>
<sql id="selectOnlineMbVo"> <sql id="selectOnlineMbVo">
select mb_id, tag, tag_id, parameterType, resultMap, `sql`, `path`, method, resultType, actuator from online_mb select mb_id, tag, tag_id, parameter_type, result_map, `sql`, `path`, method, result_type, actuator,user_id,dept_id,permission_type,permission_value from online_mb
</sql> </sql>
<select id="selectOnlineMbList" parameterType="OnlineMb" resultMap="OnlineMbResult"> <select id="selectOnlineMbList" parameterType="OnlineMb" resultMap="OnlineMbResult">
@ -26,13 +30,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where> <where>
<if test="tag != null and tag != ''"> and tag = #{tag}</if> <if test="tag != null and tag != ''"> and tag = #{tag}</if>
<if test="tagId != null and tagId != ''"> and tag_id = #{tagId}</if> <if test="tagId != null and tagId != ''"> and tag_id = #{tagId}</if>
<if test="parameterType != null and parameterType != ''"> and parameterType = #{parameterType}</if> <if test="parameterType != null and parameterType != ''"> and parameter_type = #{parameterType}</if>
<if test="resultMap != null and resultMap != ''"> and resultMap = #{resultMap}</if> <if test="resultMap != null and resultMap != ''"> and result_map = #{resultMap}</if>
<if test="sql != null and sql != ''"> and `sql` = #{sql}</if> <if test="sql != null and sql != ''"> and `sql` = #{sql}</if>
<if test="path != null and path != ''"> and `path` = #{path}</if> <if test="path != null and path != ''"> and `path` = #{path}</if>
<if test="method != null and method != ''"> and method = #{method}</if> <if test="method != null and method != ''"> and method = #{method}</if>
<if test="resultType != null and resultType != ''"> and resultType = #{resultType}</if> <if test="resultType != null and resultType != ''"> and result_type = #{resultType}</if>
<if test="actuator != null and actuator != ''"> and actuator = #{actuator}</if> <if test="actuator != null and actuator != ''"> and actuator = #{actuator}</if>
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>
<if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if>
<if test="permissionType != null and permissionType != ''"> and permission_type = #{permissionType}</if>
<if test="permissionValue != null and permissionValue != ''"> and permission_value = #{permissionValue}</if>
</where> </where>
</select> </select>
@ -47,13 +55,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="mbId != null">mb_id,</if> <if test="mbId != null">mb_id,</if>
<if test="tag != null">tag,</if> <if test="tag != null">tag,</if>
<if test="tagId != null">tag_id,</if> <if test="tagId != null">tag_id,</if>
<if test="parameterType != null">parameterType,</if> <if test="parameterType != null">parameter_type,</if>
<if test="resultMap != null">resultMap,</if> <if test="resultMap != null">result_map,</if>
<if test="sql != null">sql,</if> <if test="sql != null">`sql`,</if>
<if test="path != null and path != ''">path,</if> <if test="path != null and path != ''">path,</if>
<if test="method != null and method != ''">method,</if> <if test="method != null and method != ''">method,</if>
<if test="resultType != null">resultType,</if> <if test="resultType != null">result_type,</if>
<if test="actuator != null and actuator != ''">actuator,</if> <if test="actuator != null and actuator != ''">actuator,</if>
<if test="userId != null and userId != ''">user_id,</if>
<if test="deptId != null and deptId != ''">dept_id,</if>
<if test="permissionType != null and permissionType != ''">permission_type,</if>
<if test="permissionValue != null and permissionValue != ''">permission_value,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="mbId != null">#{mbId},</if> <if test="mbId != null">#{mbId},</if>
@ -66,6 +78,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="method != null and method != ''">#{method},</if> <if test="method != null and method != ''">#{method},</if>
<if test="resultType != null">#{resultType},</if> <if test="resultType != null">#{resultType},</if>
<if test="actuator != null and actuator != ''">#{actuator},</if> <if test="actuator != null and actuator != ''">#{actuator},</if>
<if test="userId != null and userId != ''">#{userId},</if>
<if test="deptId != null and deptId != ''">#{deptId},</if>
<if test="permissionType != null and permissionType != ''">#{permissionType},</if>
<if test="permissionValue != null and permissionValue != ''">#{permissionValue},</if>
</trim> </trim>
</insert> </insert>
@ -74,13 +90,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="tag != null">tag = #{tag},</if> <if test="tag != null">tag = #{tag},</if>
<if test="tagId != null">tag_id = #{tagId},</if> <if test="tagId != null">tag_id = #{tagId},</if>
<if test="parameterType != null">parameterType = #{parameterType},</if> <if test="parameterType != null">parameter_type = #{parameterType},</if>
<if test="resultMap != null">resultMap = #{resultMap},</if> <if test="resultMap != null">result_map = #{result_map},</if>
<if test="sql != null">`sql` = #{sql},</if> <if test="sql != null">`sql` = #{sql},</if>
<if test="path != null and path != ''">`path` = #{path},</if> <if test="path != null and path != ''">`path` = #{path},</if>
<if test="method != null and method != ''">method = #{method},</if> <if test="method != null and method != ''">method = #{method},</if>
<if test="resultType != null">resultType = #{resultType},</if> <if test="resultType != null">resul_type = #{resultType},</if>
<if test="actuator != null and actuator != ''">actuator = #{actuator},</if> <if test="actuator != null and actuator != ''">actuator = #{actuator},</if>
<if test="userId != null and userId != ''">user_id = #{userId},</if>
<if test="deptId != null and deptId != ''">dept_id = #{deptId},</if>
<if test="permissionType != null and permissionType != ''">permission_type = #{permissionType},</if>
<if test="permissionValue != null and permissionValue != ''">permission_value = #{permissionValue},</if>
</trim> </trim>
where online_mb.mb_id = #{mbId} where online_mb.mb_id = #{mbId}
</update> </update>