From a07b4b6ff1c98dcf81338bb45d59308db7c058a9 Mon Sep 17 00:00:00 2001
From: 李旭东 <woaiguo66@sina.com>
Date: 星期五, 03 十一月 2023 17:18:56 +0800
Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe

---
 hd/pipe/UserCore/src/main/resources/mapping/SysMenusMapper.xml |   79 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 79 insertions(+), 0 deletions(-)

diff --git a/hd/pipe/UserCore/src/main/resources/mapping/SysMenusMapper.xml b/hd/pipe/UserCore/src/main/resources/mapping/SysMenusMapper.xml
index 6f8e3d6..51ae824 100644
--- a/hd/pipe/UserCore/src/main/resources/mapping/SysMenusMapper.xml
+++ b/hd/pipe/UserCore/src/main/resources/mapping/SysMenusMapper.xml
@@ -195,7 +195,86 @@
         </trim>
     </insert>
 
+    <insert id="insertVo">
+        insert into sys_menus
+        <trim prefix="(" suffix=")" suffixOverrides="," >
+            <if test="menuId != null">
+                menu_id,
+            </if>
+            <if test="isUse != null">
+                is_use,
+            </if>
+            <if test="path != null">
+                path,
+            </if>
+            <if test="name != null">
+                name,
+            </if>
+            <if test="hidden != null">
+                hidden,
+            </if>
+            <if test="redirect != null">
+                redirect,
+            </if>
+            <if test="parentId != null">
+                parent_id,
+            </if>
+            <if test="title != null">
+                title,
+            </if>
+            <if test="icon != null">
+                icon,
+            </if>
+            <if test="component != null">
+                component,
+            </if>
+            <if test="level != null">
+                level,
+            </if>
+            <if test="isDefault != null">
+                is_default,
+            </if>
+        </trim>
 
+        <trim prefix="values (" suffix=")" suffixOverrides="," >
+            <if test="menuId != null">
+                #{menuId},
+            </if>
+            <if test="isUse != null">
+                #{isUse},
+            </if>
+            <if test="path != null">
+                #{path},
+            </if>
+            <if test="name != null">
+                #{name},
+            </if>
+            <if test="hidden != null">
+                #{hidden},
+            </if>
+            <if test="redirect != null">
+                #{redirect},
+            </if>
+            <if test="parentId != null">
+                #{parentId},
+            </if>
+            <if test="title != null">
+                #{title},
+            </if>
+            <if test="icon != null">
+                #{icon},
+            </if>
+            <if test="component != null">
+                #{component},
+            </if>
+            <if test="level != null">
+                #{level},
+            </if>
+            <if test="isDefault != null">
+                #{isDefault},
+            </if>
+        </trim>
+    </insert>
     <!--更新操作-->
     <update id="update">
         update sys_menus

--
Gitblit v1.9.3