From 1b3a14a25d8f5013158ef2842e9be0e24240f2b5 Mon Sep 17 00:00:00 2001 From: 张晓波 <bingbo1993@126.com> Date: 星期一, 30 十月 2023 08:52:26 +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