From d3e6773ef7cd0e11a444b41ec3da15938fabd85b Mon Sep 17 00:00:00 2001
From: 张晓波 <bingbo1993@126.com>
Date: 星期二, 12 十二月 2023 13:16:38 +0800
Subject: [PATCH] 产线管理
---
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