字段优化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user