id, parent_id, parent_ids, name, sort, href, target, icon, is_show, permission, create_by, create_date, update_by, update_date, remarks, del_flag, menu_type
delete from sys_menu
where id = #{id,jdbcType=INTEGER}
insert into sys_menu
id,
parent_id,
parent_ids,
name,
sort,
href,
target,
icon,
is_show,
permission,
create_by,
create_date,
update_by,
update_date,
remarks,
del_flag,
menu_type,
#{id,jdbcType=INTEGER},
#{parentId,jdbcType=INTEGER},
#{parentIds,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{sort,jdbcType=DECIMAL},
#{href,jdbcType=VARCHAR},
#{target,jdbcType=VARCHAR},
#{icon,jdbcType=VARCHAR},
#{isShow,jdbcType=CHAR},
#{permission,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateDate,jdbcType=TIMESTAMP},
#{remarks,jdbcType=VARCHAR},
#{delFlag,jdbcType=CHAR},
#{menuType,jdbcType=CHAR},
update sys_menu
parent_id = #{parentId,jdbcType=INTEGER},
parent_ids = #{parentIds,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
sort = #{sort,jdbcType=DECIMAL},
href = #{href,jdbcType=VARCHAR},
target = #{target,jdbcType=VARCHAR},
icon = #{icon,jdbcType=VARCHAR},
is_show = #{isShow,jdbcType=CHAR},
permission = #{permission,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_date = #{updateDate,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=CHAR},
menu_type = #{menuType,jdbcType=CHAR},
where id = #{id,jdbcType=INTEGER}
UPDATE sys_menu SET del_flag = 'Y'
AND id = #{id}