字段优化

This commit is contained in:
zhangchenbiao
2023-08-01 15:16:14 +08:00
parent ab3ccf47bf
commit c9c7bd391c
5 changed files with 6 additions and 20 deletions

View File

@@ -10,13 +10,12 @@
<result column="sort" jdbcType="INTEGER" property="sort"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/>
<result column="is_deleted" jdbcType="INTEGER" property="isDeleted"/>
<result column="type" jdbcType="VARCHAR" property="type"/>
<result column="icon" jdbcType="VARCHAR" property="icon"/>
<result column="menu_type" jdbcType="TINYINT" property="menuType"/>
<result column="env" jdbcType="VARCHAR" property="env"/>
</resultMap>
<sql id="Base_Column_List">
id, parent_id, code, name, path, sort, remark, is_deleted, type, icon, menu_type, env
id, parent_id, code, name, path, sort, remark, is_deleted, icon, menu_type, env
</sql>
<insert id="insertSelective" keyColumn="id" keyProperty="id" useGeneratedKeys="true">
insert into sys_menu
@@ -42,9 +41,6 @@
<if test="isDeleted != null">
is_deleted,
</if>
<if test="type != null">
type,
</if>
<if test="icon != null">
icon,
</if>
@@ -77,9 +73,6 @@
<if test="isDeleted != null">
#{isDeleted},
</if>
<if test="type != null">
#{type},
</if>
<if test="icon != null">
#{icon},
</if>
@@ -116,9 +109,6 @@
<if test="record.isDeleted != null">
is_deleted = #{record.isDeleted},
</if>
<if test="record.type != null">
type = #{record.type},
</if>
<if test="record.icon != null">
icon = #{record.icon},
</if>